timemanager
timemanager copied to clipboard
Enable sorting / reverse order on time entries and other lists
Current State:
The time entries are sorted by the timestamp:
(Furthermore, the german date format is wrong :( )
Expected State:
The time entries are sorted by the timestamp but in descending order.
@joleaf I can see your point :-) Let's break this up, though.
The time entries are sorted by the timestamp:
I'm not convinced that reversing the entries is the solution here. We can anticipate that users might be used to this sorting, so we shouldn't mess with the default in my opinion. It's reasonable to sort from oldest to newest from top to bottom in my view.
Having said that, I'd be open to adding a sort toggle of sorts. Any ideas on that?
(Furthermore, the german date format is wrong :( )
This is a bug that I will try to address π
Edit: The date format bug is fixed in 0.1.7
@te-online yes, you are totally right, a toggle button might be the solution :)
I also need it usually with the newest entries at the top, so a toggle button would be great (especially when a task has very many entries so you have to scroll very far to see the newest).
By the way, what do the checkboxes in the list actually do?
By the way, what do the checkboxes in the list actually do?
The checkmarks are a "done"/"waiting" indication for your purpose of choice. Many people use it for invoicing βΒ unchecked = unpaid, checked = paid.
May I suggest that the toggle to switch ascending & descending order may be added:
- on all lists: Clients, Projects, Tasks, Time Entries & Reports
- each for all properties: time created (useful mostly for tasks & entries), start time/end time (tasks, entries, reports) name (clients, projects, tasks, reports), length (projects, tasks, entries, reports).
Suggested new issue title: "Add various sorting options to all lists"
And once this is done, we can also discuss sane defaults for each list (& fix the current situation where entries list first to last in task, but last to first in Entries).
Hi @raph-topo β thanks for your input β I appreciate it a lot π
I like the idea to put sorting on all lists, that's very good!
In the spirit of keeping this app as simple as possible, I'd refrain from adding too many options. π π«
I'd suggest we start out with, for time entries
- reversing the default sorting to always be "end date β newest to oldest", because I think that's what most people would prefer (or rather, what I'd personally prefer)
- allowing to manually reverse the sorting so oldest are first (the old behavior)
Clients are already sorted alphabetically, if I remember correctly.
Projects and tasks are sorted by "created at", if I remember correctly.
- For all three lists, I'd suggest to keep the existing sorting and adding the ability to reverse the existing sorting
- For projects and tasks we could add sorting alphabetically (and reverse) as an option
- For clients I'd find a "last activity" sorting (and reverse) useful
What do you think?
Hey,
I was thinking it could be as simple as Nextcloud's default interface, like Files list:
i.e. 3 buttons, each with 2 effects that switch on click.
That may be a little difficult, because I'm not showing the data in columns like the Files app π
But it's not a bad place to start to look for consistency with the rest of Nextcloud π