-
-
Notifications
You must be signed in to change notification settings - Fork 356
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
feat(color): Single select option for model labels plus label AND/OR filtering logic. #4532
Conversation
Compiled and tested this PR in SIMU for tx16s. PR goes far beyond what I envisioned in #4188. Thank you. |
I have tested the PR. Very good idea. "Single select" in particular is very good. I only noticed that if a label is selected, the check mark is also displayed. If I now select a model, it is loaded. If I now go back to the model manager, the last label is also displayed correctly, but the check mark is no longer visible. |
Thanks for testing - the single select check mark should work now. |
yes, nice. Thx |
Now I found out during testing that the PageUp/down no longer work. Please also note that the Horus x10 with page longpress for down must work. It was the same before this PR. The checkmark must also be displayed. |
The PGUP/PGDN keys should now work in single select mode. |
PgUp/Down is not quite perfect yet. The wrap around should jump directly to the first label and not to none. This drastically increases the loading time if you want to jump from the last to the first label. Before this PR, it was also the case that the wrap around jumped directly from the last to the first label. This affects both modes (single/multi select) I have noticed that the list position jumps when going through the labels with the PgUp/Dn key, which looks very strange. It jumps to the correct next label, but within the list the entries jump up and down strangely. I have one label more than can be displayed at the same time (6 labels). By the way, in 2.9.2 6 labels could be displayed at the same time, now only 5, why did they change that? |
Great effort! |
I assumed that this was an oversight in the previous code - if it jumps directly to the first/last entry on wrap around then there is no way to clear the selection and show all models (on radios without a touch screen). |
I think that since there have been no complaints from Horus users about this, the behavior should not be changed. There is also no need to jump to no label in the wrap arround, because why should I be interested in a complete list if I have taken the trouble to organize my model within labels. Please, please do it the way it was in the previous versions. And if you want to have an unsorted complete list, you can go to the list of labels with the focus, press Enter and then select one or more labels or even no label, as it has always been in 2.9.2. |
DE translations: |
I have reverted the PGUP/DN wrap around logic. |
Thx. Now it's fine to me. |
TR_MANAGE_MODELS |
DE: |
…on mode (AND vs OR).
…lter when changing mode.
fa96f61
to
76ffa4e
Compare
But on the buttons, all capital letters don't look very good. All other burtons have normal lettering. |
I agree. I also think that the all caps on the menus looks bad and should be changed; but that's a topic for a separate PR. |
I have updated this to use the quick menu string (mixed case) for the button title instead of the all caps menu title string. |
Ok with me; but this one needs translations. |
I think that will probably be it's own PR as well, as there are several translations needed for each language now, across multiple PRs, so (overdue) time to pull them all together... |
Looks great on TX16. I love how you added the AND/OR to the label list to help inform why it's matching the way it does... should help with people still confused how labels behave by default. |
Fixes #4188
This is my take on a better way to handle labels. Feedback welcome.
TODO:
Adds new options to control how the label selection and filtering work. A new 'Manage Models' setup view has been added to the Radio Setup page with the options (Model quick select has also been moved to this new page).
There are three new options:
I've also tried to show the logic iin the labels list: