Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hierarchical checklists #1058

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

Romern
Copy link

@Romern Romern commented Mar 25, 2022

This draft adds the ability to display and adjust hierarchical tasks, i.e.

- [ ] test1
  - [ ] test11
    - [ ] test111
  - [ ] test12
- [ ] test2
  - [ ] test21
    - [ ] test211
  - [ ] test22
- [ ] test3
  - [ ] test31
    - [ ] test311
  - [ ] test32

will be displayed as:
image
The left and right buttons are used to indend the item to the left or right.
This is done rather hackish, as I am rather unfamiliar with Android Layouting.
Maybe a swiping motion of the item would be better for choosing the level.

Checkboxes which are indended by spaces like in markdown are now
shown as checkboxes as well and indended visually as well.
TODO:
- Indentions are grouped by 2, is this sensible?
- Changing the hierarchy is not supported atm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant