Skip to content

Despite task position recomputation, it takes some time (sync?) to update task menu state #137

@opatry

Description

@opatry

Describe the bug
When add a task (first position) or deleting the first task, the task menu should properly reflect "can move to top" capability (and similar).

To Reproduce
Steps to reproduce the behavior:

  1. Create a first task "T1"
  2. Open its menu, "move to top" shouldn't be displayed
  3. Create a second task "T2"
  4. Open its menu, "move to top" shouldn't be displayed
  5. Open "T1" task's menu, "move to top" should now be displayed ❌

Alternative scenario:

  1. Create 2 tasks like in first scenario
  2. Delete "T2" (being the first task in the list)
  3. Open "T1" task's menu, "move to top" shouldn't be displayed anymore ❌

Expected behavior
"move to top" menu visibility should reflect new tasks positions.

Screenshots
If applicable, add screenshots to help explain your problem.

Note

This fails despite implementation of task position recomputation in "delete task" #136

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug🪳 Something isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions