invoiceninja / ui

Invoice Ninja: Web admin portal built with React
https://app.invoicing.co
Other
53 stars 47 forks source link

Default sorting order is descending oldest-to-newest, instead of newest at the top #1720

Closed nekohayo closed 3 months ago

nekohayo commented 4 months ago

From my observations while using the v5 pro SaaS version while invoicing in recent days, it seems that the default sorting order in all listviews/tables (invoices list, list of invoices in a client overview, etc.) is "oldest at the top" instead of "newest at the top".

My suggestion would be to sort newest-to-oldest by default (when sorting by date) throughout the UI, to save your users from the hassle.

turbo124 commented 4 months ago

@nekohayo

The react application will remember the last sorted column/direction and then present this next time you return to the list view

nekohayo commented 4 months ago

Yes, but my suggestion is that it should have a better (inverted) default sorting to begin with, and also that I've seen it "forget" the sort order (haven't spent time trying to figure out exactly how, but I'd bet it might have something to do with multiple tabs or reloading or using the on-page "Back" button, or something like that maybe). From a UX standpoint, I doubt that your clients want to see the oldest things first by default for every new view.

turbo124 commented 4 months ago

@nekohayo The oldest first issue would most likely be caused by a migration from the v4 platform where the documents had been inserted in reversed order.