-
Notifications
You must be signed in to change notification settings - Fork 41
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
[UX] Layout configuration form: Denote the currently selected template with a blue halo and a blue icon #6480
Comments
PR ready for review/testing: backdrop/backdrop#4713 Instead of having to provide a second set of .png icons for each template for the selected state, I am using CSS I've tried to match There are other ways to do this, like using an additional .svg etc., but that would complicate the code and would be changing markup, whereas the current PR only changes a couple of lines of CSS. |
...speaking of keen designer eyes, pinging @wesruv and @dariusgarza about this (if you can spare a few mins please). |
I've looked at this and tested the PR. Would mark it WFM, but it would be good to get at least one or two more opinions first. |
Based on the last comment, I've set the milestone on this issue, in order to keep it in our radar for the next bug fix release. |
In using the sandbox, I found using the exact same blue border for both "focus" and "selected" to be confusing. When entered a layout name and then hit the tab key, it wasn't obvious where my focus went, since the focus for the layout template is the same as the selected value. |
I think it could be appropriate to change these to svg, personally. It would fit with all the other svg work being done and make it much easier to recolor these in various themes. |
I opened up a follow-up issue. |
I've rebased the PR sandbox and I tried the same workflow using only the keyboard. My understanding is that once you tab into the template selection, what is highlighted is the current selection. You change selection by using the left/right keys and then tab out to move to the path text field. Seems right to me 🤔 |
Oh, I think I know what you mean now. Let me work on it a bit more then. |
Yes 👍🏼 ...there's some progress in #6487 with converting the icons for core-provided layout templates to SVG, however we need to consider that contrib and custom templates might still be using .png. I still need to loop back to this. |
@quicksketch I tested how the keyboard navigation works currently without this PR, and this seems to be a pre-existing problem I think. The reason is that using the left/right keyboard keys also selects the template (as opposed to moving the focus and leaving the previously selected template in a "selected" state, and then having to use the spacebar to actually make the selection). When using a mouse, that is not an issue: the Can someone please test on a demo sandbox vs. the PR and confirm? |
Confirmed. |
Thanks @olafgrabienski 🙏🏼 ...that's one less thing to work on. Still leaving this as |
This is a follow-up to further improve the situation with the problem mentioned in #6479:
I would argue that it is also because we are assuming that no validation will happen soon as we focus on another element on the form. Either way, even with the template preselected, it is still difficult to distinguish which one is selected, because the difference between selected and unselected tiles is very subtle, and everything is using a gray color (which is usually associated with disabled items/elements):

I propose that we change the above so that the halo around the tile, as well as the image representing the template are blue for the selected option. Something like this:

The text was updated successfully, but these errors were encountered: