erwanm / Projectify

Project management for TiddlyWiki

Home Page:https://erwanm.github.io/Projectify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Revise the context menu (right in the list of tasks)

erwanm opened this issue · comments

In the list of tasks, there is context button on the right of every task which allows the user to change the parameters of the task.

  • When clicked, a dropdown popup containing the direct forms for 'due date' and 'priority' appears, including the calendar.

  • This popup is not sticky, i.e. disappears as soon as the user clicks something.

    • Implies that the user can only change one thing btw
  • This context menu also has an option 'convert into project'

This is controlled by ui/buttons/TodoActions.tid.

It's hard to integrate the recurring parameters into this, because it's really not convenient/intuitive as a one-off change.

But I realized that this context menu is mostly pointless since the parameters of the task can also be changed from the 'due date' and 'priority' buttons which are shown next to the task.

Also, add the recurring button in the line of the task in the list.

This context menu is in ui/buttons/TodoActions.tid is called only in ui/todo/TodoActions.tid which contains the last few controls on the right of a task in the list of tasks.

  • ui/todo/TodoItem.tid, which represents a task in a task list, calls ui/todo/TodoActions.tid.

This confirms the observation above: since this context menu is used only in this context where the buttons to modify the parameters are also available just outside this context menu, the options in the menu are not necessary.

In the end, this issue is only about removing the superfluous items in the menu + adding the recurring button next to the due button.