-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Description
Description:
When a user adds a new todo item in the Kanban board and no section exists, the following unexpected behaviors occur:
- The todo item is saved in the state, but no section is created, so it doesn't appear visually.
- If all sections are deleted and a new one is added later, those previously added todos automatically appear under the newly created section.
- This can result in confusing UI behavior and data misplacement.
Expected Behavior:
-
The user should not be able to add a todo item without a section.
-
If a user attempts to add a todo and no section exists:
- Either show an alert/message asking them to create a section first
- Or automatically create a default section (e.g., "Uncategorized") and place the todo there
-
When all sections are removed, the associated todos should also be handled appropriately:
- Either removed
- Or stored separately without being auto-assigned later
Steps to Reproduce:
-
Go to the Kanban board.
-
Ensure there are no sections created.
-
Try to add a new todo item.
-
Observe:
- The todo is saved but not visible due to the absence of a section.
-
Now create a section.
-
Observe:
- The previously added todo appears automatically under this new section.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels