usernamehw/vscode-todo-md

recurring task gets too high priority

marekbatelka opened this issue · 1 comments

It is Thursday, I have recurring task in future (every monday) and I don't want to start or cannot start this task until that date (let's say every monday I have to check something, but cannot before it is really monday).

There seems to be issue, that this recurring task is put first as it would be top priority.

I am thinking if it is on purpose or a bug...
For such recurring task I could alternatively use Calendar instead, cos any time I try to get next RELEVANT task in queue using command GET next 1 task, or GET next few tasks or looking at toolbar, ordering algorithm offers me this recurring task first.

image

Yeah, it's a default sort slapped everywhere without measure. In completeTask, getNextTask, getFewNextTasks, status bar - that's definitely a bug. In WebView - not sure.

They are first grouped and then sorted like that (ignoring "Invalid Due" & "favorite" groups):

  1. Overdue group (sort by due => sort by priority)
  2. Due group (sort by priority)
  3. Has due but not due group (sort by due => sort by priority)
  4. Doesn't have a due date group (sort by priority)

It should probably go:

  1. Overdue group (sort by due => sort by priority)
  2. Due group (sort by priority)
  3. "Has due but not due group" & "Doesn't have a due date group" mixed (sort by priority)