nitrotasks / nitro

The beautiful way to get things done.
https://nitrotasks.com
GNU Affero General Public License v3.0
518 stars 66 forks source link

Sorting should occur after adding/changing a new task #290

Open Bujiraso opened 10 years ago

Bujiraso commented 10 years ago

Context: With any unsorted list, the sort button in the top bar may be used to select various methods of sorting the tasks. Following a choice, the tasks may be sorted to the new order. Let's say for clarity that sort by date is chosen. Expected function: When a new task is added, if it has a later due date than some tasks, it should be sorted beneath them. Actual function: When a new task is added, the newest item stays at the top of the list, regardless of its due date (or other parameters in other sorting manners)

Bujiraso commented 10 years ago

The same functionality would be expected from changes to existing tasks which alter the sorted order

stayradiated commented 10 years ago

The current idea is that you make your changes, and then when you reload the list, the tasks will be sorted.

I think the problem with automatically sorting tasks is that it could make it annoying to have the task move up and down the list when you edit it, and having to keep moving the mouse around.

Bujiraso commented 10 years ago

Once the user has deselected or compacted the task, I see no reason why it shouldn't auto-sort down the list. This could be done in a very visual way if it seems like it would be confusing for the list to suddenly change. For instace, an animation where the task slides up or down the list. An explanation of how this would work is as such: I create a new task in a priority sorted list. It stays at the top while I set the parameters. As soon as I click off, deselect it with the tab button or hit escape to compact the task, it sorts into its proper space.

stayradiated commented 10 years ago

Ok, I'll put a basic demo together.