DigitalShoestringSolutions / LocationTracking

GNU General Public License v3.0
0 stars 0 forks source link

Item order in each location unpredictable #10

Open tobyaharris opened 3 weeks ago

tobyaharris commented 3 weeks ago

A QoL feature requested by a customer -

In use cases where the number of unique items is small, but the number of locations is larger, it can feel fustrating when the items are listed in a different order in each location in the dashboard. This requires the user to read carefully and slows down making comparisons.

Currently I suspect the rows (items) in each column (location) are ordered by quantity there, most at the top. Alternatively they may be sorted by last transaction time. More testing needed to confirm the status quo.

Could these be sorted alphbetically instead? If there are cases where alphabetically is not the best, could the sort order be configurable? Drop-down on the dashboard to select sort order?

By extension of this, what about a dedicated row per item (i.e. sort alphabetically with zero quantities also shown)?

I might be proposing 4 sort orders:

  1. Quantity
  2. Most recent change
  3. Alphabetical
  4. Alphabetical showing 0s
tobyaharris commented 2 weeks ago

@Greg-Hawkridge what did you conclude the plan of action was to be with this one? How easy will it be to show 0s? I can't see how to do this.

Greg-Hawkridge commented 2 weeks ago

Showing 0s won't be easy. Current ordering is latest change at the time of page refresh.

tobyaharris commented 1 week ago

While testing feature/sort-item I found that actually bulk types with 0 quantity are shown. In the below dashboard I moved 10 of MyDynamicBulk from New to MyLocation1, then I moved the same 10 from MyLocation1 to Complete. MyDynamicBulk still appears in the MyLocation1 column with a timestamp instead of a quantity. For current customers that might be convenient, but do we want to keep this long term? image

PS I included Dynamic in each item name to hint that they were created with the # or % operators, rather than predefined in :8002

tobyaharris commented 1 week ago

Reproduced the above on a new build but this time by predefining the ID Entry. I had just transferred all the items out of MyLoc. The dashboard quantities update quickly, but the items list entries do not: image Once the page is refreshed, the zero entries dissapear: image As we don't expect users to be manually refreshing the page - could we turn this into a feature, using the autorefresh config as an alias for 'show zero quantities'?

tobyaharris commented 1 week ago

As per last couple of comments above, I think there is more to this than 14 resolved.