fixed due items should rise higher before they're due

Bug #239011 reported by Selene ToyKeeper
2
Affects Status Importance Assigned to Milestone
TKDO
Fix Released
Medium
Selene ToyKeeper

Bug Description

Fixed due items should rise higher before they're due.

For example, given two items of equal importance, one with a due date and the other without, the due item should be listed first, assuming the due date is near. The current behavior is to list the due item last, until after it's due, at which point it rises above its non-due sibling.

One possible way to do this is to simply multiply all 'fixed due' item scores by a constant, like 1.25. This provides a bonus for the items while sorting. Then, perhaps, reduce the default 'max overdue' value from 1.5 to 1.25 or so. This keeps the max overdue amount roughly the same (1.5625 vs 1.5), but causes the items to rise higher, sooner.

Changed in tkdo:
assignee: nobody → toykeeper
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

A bonus of 1.25 may not be enough, actually. Consider this case:

; TKDO: I=50
[_] some regular item
[_] laundry (any floating, recurring item)
    ; TKDO: D=+3w
[_] doctor's appointment
    ; TKDO: D=today@14:00 L=1d

If the user checked their list at 8am that day, I think it should show the doctor's appointment somewhere near the top. It is 75% of the way through its lead time, so it should be visible. But with a bonus of 1.25, the resulting scores would be:

  63 laundry
  50 some regular item
  47 doctor's appointment

Given that there are probably a lot of regular items, the score of 47 will often not be on the first few pages, so it is effectively invisible. Change the bonus to 1.5 and the score shoots from 47 to 56. And, by the time it's due, it becomes a 75. This places it above the regular items at 2/3rds of the way through its lead time, and raises it above active and floating tasks at 5/6ths through the lead time.

The exact values may still need adjustment, but I think 1.5 is a better bonus value.

Changed in tkdo:
status: Triaged → Fix Committed
Revision history for this message
Selene ToyKeeper (toykeeper) wrote :

Released in 0.5.

Changed in tkdo:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.