-
Notifications
You must be signed in to change notification settings - Fork 40
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
Implement #1449 - speed up configuration workflow #1450
Implement #1449 - speed up configuration workflow #1450
Conversation
@MrBurrBurr How do I add a string to localization? Currently the "Select Option" is hardcoded with a TODO. |
|
@Botan626 Thank you for your feedback. I would like to adress your concerns:
It can not, since it will never be shown in the dropdown menu it is not selectable. In the place it is in no other text will ever be shown as well so it can't be mistaken after choosing another option either.
I agree. With "option" I meant the actual values, since the user has several options to choose from. This goes in hand with the cambridge dictionary entry: "one thing that can be chosen from a set of possibilities". I admit that wording possibly could be improved and you can suggest a change at any time.
~ @MrBurrBurr, 2021-06-05, 15:50, GMT+2, here
Previously we displayed one of the options in the same place in addition to the "Add"-button that I removed. Since most of those values have quite long names I would assume the average amount of characters on screen to be decreased 😉 Apart from that: I tried it without any text there and it looks just bad and empty in my opinion. You're welcome to check it out yourself and if more people agree I will change it accordingly.
Then send your own PR. I chose this solution for several reasons.
|
It exactly can, because that field already shows selected values. Currently next to the Add button ui shows one of the values, which was not actually selected and is not part of config. Which is actually confusing too. Several times I chose a value in the past, didn't press Add button and saved config.
I already said 'we select property values'.
This I believe is the best choice, no unnecessary text on screen, which is disturbing and which you have to read forcedly, because it's just there in front of you. I would like to see a version with empty fields.
Yes, you gave me your reasons, but all together they say you can't and don't want to make dropdown menu with checkboxes. But do you think it will be a better choice? |
please download the build output and try it out yourself.
I think "Select property value" is even worse than "Select option". I'd like to keep the text as short as possible to make it look good on mobile devices as well.
I'm not pushing a commit just so you have a build output. You can get that by forking my repository/branch and just removing the text from the source files (you can do this in your browser as well. GitHub supports it). You'll get build artifacts from the github actions tab on your forked version 😉
not really. If we did that and I wanted to see at a glance, which values are currently selected, I'd have to open the dropdown specifically for that. Currently we can see what is selected without opening the dropdown. |
Here is a comparison.
I would choose without hesitation 3d version, because I can see my selected properties' values with quick glance. And if the fields had the same length, as they do now with Add button, it'd have looked even better. |
You can add your string here: https://github.com/JustArchiNET/ASF-ui/blob/main/src/i18n/locale/default.json For more information (about for example pluralization or placeholder) you can check out this neat documentation that Mole wrote: https://github.com/JustArchiNET/ASF-ui/tree/main/src/i18n/lib#usage |
Thank you very much. I've added the string to localization. The PR should be ready for review now 😀 |
@Abrynos I just had another idea. The dropdown menu could be without checkboxes, but it could allow to multi select property values, until it's closed. Selected values could be highlighted with ui's theme color, and focused values could be highlighted with pale grey color. And I want to say it again, the less text on screen, the better, look how clean and easy reading interface is on 3d scrrenshot here #1450 (comment), no excessive elements and text. |
This further complicates the workflow. I'd like to keep it as simple as possible.
I will re-iterate my stance: I want feedback from more than one person. If you are not alone with this opinion I will gladly change it. |
Very odd and obscure for me, why nobody supported this idea in 4 days. |
Thank you @Abrynos, great PR so far! I gave it a quick review and found some small things that need correction. I will wait for Moles review or do a full review myself once I got more time again. |
@Botan626 interesting idea. I personally liked this one at first glance. This ("All values selected" being greyed out) is due to the whole |
I didn't want to disable dropdown menu, I'd like to have the "Select option" text to be faded or greyed, to make it less visible, because the more text on screen, the harder to read it. |
Don't worry. I understood that. |
I agree, that's why no text is the best choice, gives the most easy reading solution. |
Thank you very much for your PR 🎉 |
Description
Implements #1449 for
InputFlag
,InputSet
andInputList
.Screenshots
Additional remarks
I'd propose renaming the three above mentioned components to contain the n word "Enum", since they are exclusively used for that and the name implies a more generic usage (e.g. them also being used for config fields such as
GamesPlayedWhileIdle
, which is alsoImmutableHashSet<...>
under the hood), but I have no idea of how to do this.Checklist