nextcloud / nextcloud/notes-android
adding new line in middle of numbered list don't update the numbers in edit mode
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.1k
- Forks
- 168
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 31
Description
Please use GitHub reactions 👍 to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!
Describe the bug
when you create a numbered list with 1. , if you edit the list in the middle it will not update the list when in edit mode, however it will in view mode
To Reproduce
Steps to reproduce the behavior:
- Go to a note with a numbered list
- Click on 'edit'
- Put the cursor at the end of a line somewhere in the middle of the list
- Add a new line, it will create a new item in the numbered list
- the item will have the right number (previous line + 1), but the next lines will not be incresead
- illustration :
before :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
4. lady gaga
after :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
3.
4. lady gaga
after :
1. miley cyrus
2. Aretha Franklin
3. ella fitzgerald
3. lana del rey
4. lady gaga
Expected behavior
having the list edited with the right numbers
Smartphone (please complete the following information):
- Nextcloud Notes-Version (android app): v4.0.0
- App source: F-Droid
- Android-Version: 6.0.1
- Device: AZUS_Z00MD
- System language: English (US)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue in the Android app by inserting a line into the middle of a numbered list while in edit mode, then trace the numbered-list editing path. Done means the inserted item and every following item display the correct numbers during editing and in view mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 48/100