se701g2 / Doto

Todo application for Group 2
https://doto.azurewebsites.net/
MIT License
12 stars 42 forks source link

TaskScheduler doesn't order tasks correctly #274

Open Minusome opened 4 years ago

Minusome commented 4 years ago

Bug Summary:

TaskScheduler doesn't rearrange existing tasks when adding a new task with an earlier due date .


Steps To Reproduce

1) Add a task A with a later due date (e.g. 3 hours in the future) 2) Add a task B with an earlier due date (e.g. 1 hour in the future)

Expected behaviour

task B should be ordered before task A.

Observed Behaviour

task B ordered after task A.

Screenshots

Environment


Minusome commented 4 years ago

Note that due dates are not yet persisted on the server. Blocked by #273 which will probably add it.