-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
idea💡 Idea to iterate💡 Idea to iterate
Milestone
Description
When indentation != 0 and != 1 is detected, it hides all list content and displays an explanation.
There are 2 CTAs:
- Delete list (⚠ Ensure children tasks are properly deleted in cascade)
- Update list
Update list repairs the broken indentation and refreshes the UI.
Need to define how:
- reset indent to 0 or 1
- updates position?
The simplest might be to reset indent to 0 and move at the end of the list. Need to check.
Given the illustrations, it tends to indicate the indent level is just reset to 1. Maybe position kept untouched (or recomputed?) which would be simple also in fact.
Tip
Which other sanity check could be done, how Google Tasks displays and fixes it?
- Implement sanity check detection
- kinda done at UI level (using indent > 1 check) in PR Empty state broken list indentation #152
- should be done at business logic level, either when computing indentation, or by querying tasks that have a parent task which itself has a parent task
- Implement issue reparation
- UI screen (PR Empty state broken list indentation #152)
- CTA delete list (PR Empty state broken list indentation #152)
- CTA update list (Button added but disable and VM function added but no-op in PR Empty state broken list indentation #152)
- Define a dedicated illustration using undraw.co?
See
Metadata
Metadata
Assignees
Labels
idea💡 Idea to iterate💡 Idea to iterate