nextcloud / nextcloud/notes-android

Checkbox lists are not indented

Open
#1,294 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug Widget :: Single Note
Dominant language
Java
Stars
1.1k
Forks
168
Avg merge
1d 17h
Merged PRs (30d)
31

Description

In the Single Note Widget, nested checkbox lists are not intendet.

This is caused by calling replaceCheckboxesWithEmoji(), which also removes the leading dashes (-). The parser then is not able to recognize a nested list anymore.

A fix is already work in progress.

Screenshot_20210713-174655_Trebuchet

(Original issue reported by @fl0rianB : https://github.com/nextcloud/notes/issues/737)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Single Note Widget and its call to replaceCheckboxesWithEmoji(). Verify how nested checkbox markdown is transformed, then confirm that nested lists retain their leading dashes and render with indentation; a fix is already reported as in progress.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.