Closed SRGDamia1 closed 3 years ago
I think this should be done in almost all popup dialogs. Also currently when you open a popup selection dialog where an item already is selected, it does still show the top of the list instead of scrolling to the (first) selected item. This can easily be improved with the scrollToSelectedItem option the f7 framework offers.
Sure, sometimes it's best to have a predictable alphabetized list, sometimes it's also nice to have the most "popular/desired" options at the top. I'm ambivalent about this one.
I understand where you're coming from @ghys. I think that the argument for a list "sorted by popularity" would be that the user sees the things he probably needs in the first few entries. And the argument for an alphabetical list would be that the user can quickly find an item when he knows the name.
I see that there is a quite big downside with the "popularity" approach. While for the first few entries it might be an obvious choice what is "popular" the further down we go in the list the more random it gets. And who defines what is "popular"? I think openHAB caters to very different needs so for most lists I couldn't say what the user probably needs most.
And a user that often uses the dialog (maybe with weeks / months in between) has to remember this (from his view) arbitrary sort order. That is quite a burden to place on the user and imho makes it a lot more difficult to find what he is actually looking for. Especially larger lists are then only really usable with the search function.
Maybe there is another way to emphasize the "popular choice" if there really is one, like a root element? E.g. putting the default / most prominent choice at the top of the list and making it bold. And then the others alphabetically.. eg for equipment:
Another possibility would be to let the user choose / make the list sortable. But I think that adds too muchg UI clutter.
I would really like an option to make the list sortable. I do not think there would be too much clutter, as there are many ways this could be achieved.
Some ideas:
I think in this case there is simply no best default way, so why not let the user decide?
The problem
In the (awesome) new ui, the semantic classes and semantic properties are not alphabetized in the pop-over from the "create equipment from thing" and "add items from thing" screens. This makes it harder to quickly find and select the correct one.
Your suggestion
Alphabetize (0-9,A-z) the list of item for the selection
Your environment
Additional information