-
-
Notifications
You must be signed in to change notification settings - Fork 582
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Option for tag members to be sorted non-alphabetically #1463
Comments
cc-ing @TBog :) |
In fact the sort of tag members is actually not consistent. I have no idea what it is! It seemed to be alphabetic when I glanced at it to submit this issue, but since then I've seen the apps in many orders, none of which make any sense to me. Possibly they are unsorted and presented in the order they are returned from some DB or other? |
Will look into it after I publish 'custom icon' and 'rename app' PR |
The tags are basically just an ugly hack ;) You don't have "tagS" you have one string reprenting all the tags, separated by spaces. It's stored as a single string and matched as a single string as well. As far as I know there is no special "sorting" done when you edit/save them. |
I'm not referring to the order tags are shown on an app, but the way apps are shown when a favourite tag is selected. To me the order actually appears non-deterministic? If there's a rule I've not noticed it. |
Aaah sorry, I do no use that feature actually. After looking at the code yes, there is nothing that dictates the order right now, apart from the "search" relevance, but since it's the same search matching the same tags, it's the same score! KISS/app/src/main/java/fr/neamar/kiss/searcher/TagsSearcher.java Lines 38 to 46 in 39f504e
VS KISS/app/src/main/java/fr/neamar/kiss/searcher/QuerySearcher.java Lines 69 to 84 in 39f504e
I think the Tag earcher could inherit from the Query searcher? Should be pretty straightforward. |
The order of the tag members depends on the previously used mode:
Here is both cases demonstrated: https://www.youtube.com/watch?v=HnQHys1X-0w I would like to have the history order even after viewing all apps. Or my question is: can we have history ordering on all apps too? |
One caveat to your second bullet is if any/all of the tagged apps are marked Excluded from history. Then the history order does not apply. I'd be happy with the order being consistent either way rather than the order based upon the last thing you did -- checked history or opened the full app list. |
- refactor `TagsSearcher` and `UntaggedSearcher` as they have a lot in common - add method to apply relevance from history to any number of pojo - when tagged/untagged results are shown order is taken from history by default - add new preference for setting custom order of tagged/untagged results - collect all tag related preferences from `KISS Settings -> UX` in a `Tags` category - fixes Neamar#2187, Neamar#1609, Neamar#1463
- refactor `TagsSearcher` and `UntaggedSearcher` as they have a lot in common - add method to apply relevance from history to any number of pojo - when tagged/untagged results are shown order is taken from history by default - add new preference for setting custom order of tagged/untagged results - collect all tag related preferences from `KISS Settings -> UX` in a `Tags` category - fixes Neamar#2187, Neamar#1609, Neamar#1463
It seems to me that when a tag is chosen from the tags menu, its members are displayed sorted alphabetically. I would like to sort by recency, the same way I have history set to sort.
I request an option, either
a) sort tag members the same way history is sorted, or
b) choose sort method for tag members from the algos currently available for history.
The text was updated successfully, but these errors were encountered: