-
Notifications
You must be signed in to change notification settings - Fork 24
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
Add clear propery to Select Figma component #4068
Comments
@SeamusLeonardHPE @luketa8 currently updating the component and ran into some issues. No blockers but feel free to review the current WIP if available. I left notes and questions throughout. List of changes so far:
|
added an experiment that included multi option choice & fixes the absolute position issues: |
Remaining questions + deliverables
|
Future tickets:
|
@KennyAtHPE when you get a chance to visit this again can you focus on in order of importance |
@KennyAtHPE can you summarize the MVP design deliverables that you presented last week, and we can discuss getting an issue on the dev board to follow up. My recollection was that we were not going to enhance the functionality at the moment |
@SeamusLeonardHPE Here are the current explorations MUST CHANGE
Acceptance Criteria
Conclusions based on feedback received:
Here are some additional explorations on styling Behavior
Misc.
Next steps
|
@KennyAtHPE thanks for updating this issue - My main concern is that the suggestion for updating the button to use the pattern to use "Clear 'Selected Item'" 1- Close a gap between existing grommet functionality that is not represented in figma Can you refine the design examples you created and limit the button label to "Clear selection". Lets get consensus on that on which of the 3 styled options we should proceed with. This can be created as a sub component & remain on a branch. We can then create subsequent issues to |
Hey @KennyAtHPE and @SeamusLeonardHPE , I think you’re spot on here by on focusing on the two key issues:
1 is being done by default, 2 comes down to choosing the best options. I think you’re close, if not already there, with those options above. This option is good because the separator makes the 'Clear selection' button more distinguishable (and the X adds to that) from the rest of the list items, and it’s close to what exists already. However, another option we might consider is to make the styling match the SelectMultiple 'Clear all' button. So something like: Let's get this issue sorted and then, as Seamus says, create follow-up tickets to address subsequent work in other sprints. |
@SeamusLeonardHPE @oliverHPE Thank you for the direction and suggestions. I've collated my thoughts within this frame. Within these examples, the select component has been fully updated and is using a subcomponent/part for the clear selection button. Please review and leave comments. Do keep in mind the acceptance criteria that I've defined when going through this. The key here isn't to make the clear selection button the most prominent option but to ensure that it is easy to identify, understand, and visually consistent with our other components + assets. Lastly, confirming that the content within the clear selection button CAN BE adaptive to whatever selection the user has made. @SeamusLeonardHPE This should not require any additional enhancements or dev work. |
Thanks @KennyAtHPE re this option: Not sure it actually does satisfy the acceptance criteria. It looks identical to other list items, so it is no easy to identify. I agree the idea is not to make it the most prominent, but it should be distinct. One so that people can actually notice it, and two it does something different than the list items which are selection choices, this is an action, and representing this visually is useful to help users understand this. |
@oliverHPE I'd argue that this option is easy to identify because of the quotations + mimicked content. It seems more apparent when compared to just "Clear selection" As for your last point, it technically is the same as the other list items because no option is also an option. However, I do agree that it needs to be distinct somehow which should be satisfied with the adaptive content plus the fact that it will always be positioned at the top of the dropdown. Considering your feedback, what are your thoughts on adding an underline? Originally, I thought that it was overkill but it does help drive the point that it is "different" than the other options. |
@KennyAtHPE Yes I feel giving it something extra is necessary. I know what you mean, I also don't love the underline, but I think it might be a better option at this point. Furthermore, I don't think we should take these other options, that match our default button styling, off the cards. Having the styling of the 'Clear' button match the same as an unselected item doesn't feel right. Matching the styling seems to say this thing here 'list item' is the same as this thing 'clear button', which is not the case. Making the styling identical could result in users mentally grouping them together which means it has more chance of going unnoticed, whereas making them more distinct will help the user notice them. It also matches the styling of our SelectMultiple 'Clear all' button. What do you think? |
9/25 Update: Shared explorations out today and the top 2 most voted designs from the team were Taylor has made a prototype of these options. Put out a poll within the staff channel to finalize a decision between the two different options. |
@SeamusLeonardHPE @luketa8 When you get a chance, please review the select component. Keep in mind this branch includes:
|
I am adding @oliverHPE as a reviewer as well. Would you mind double-checking the color styles for the updated list option states? |
9/30 update: The most voted option was option 2. I have updated the branch to reflect that. Awaiting final review from @SeamusLeonardHPE, otherwise ready to merge and publish whenever. Draft of the clear selection example as well as a draft of the updated Select guidance has been completed and tracked in #4211. Will work with dev tomorrow to create tickets to update styling + draft PR of the Select page. |
10/1 update:
Closing out ticket. |
What does this request relate to?
Figma, Guidance site
Describe the feature you'd like to request.
The clear property exists in Grommet and in code.
This is not reflected in the Select Figma component and the Select guidance page.
The clear property is useful for single selection in filtering scenarios, where a blank filter is a valid option.
Links to Figma files with use cases or ideations from you.
Exploration branch (Outdated, archive when component is updated)
Current Branch
How urgent is this request?
None
Is there anything else you would like to mention?
No response
The text was updated successfully, but these errors were encountered: