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 tasks #255

Closed stayradiated closed 10 years ago

stayradiated commented 10 years ago

I should uncomment the code and see if it still works...

stayradiated commented 10 years ago

This is very similar to #254 - most of the sorting happens when tasks are drawn to the screen.

stayradiated commented 10 years ago

The button needs to be linked up and the sorting code needs to be refactored.

Also, the tasks rendering code is horrendous and should be simplified.

stayradiated commented 10 years ago

Sorting tasks manually works, which is really neat. Still bug testing though.

Current bugs:

Tomorrow I will refactor the old ‘magic sort’ code that organises tasks by due date and priority.

consindo commented 10 years ago

There’s also a bunch of incomplete styles. I’ll do those at some point.

stayradiated commented 10 years ago

So you can now have the option to automatically sort each list using an algorithm based on task completedness, priority, due date and name (in that order).

Next thing to do is to add back in the grouping code that seperates tasks based on priority.

stayradiated commented 10 years ago

Ok, so sorting standard lists is pretty good to go now.

Still a couple bugs with sorting special lists though.

stayradiated commented 10 years ago

You can now sort lists