Skip to content

Conversation

@thekevinbrown
Copy link
Member

@thekevinbrown thekevinbrown commented Sep 1, 2025

Our UX around selected items is not great at the moment. If one item is selected, it's easy to tell which it is, but once multiple are selected then it is really hard as a user to see what you've chosen.

This PR provides a better UX for this by showing the selected items at the top of the dropdown, always scrolling to the top of the dropdown when it opens, and allowing users to individually deselect options instead of the all or nothing clear we have currently:

With 3 selected items
Screenshot 2025-09-01 at 12 08 44 pm

When hovering a selected item
Screenshot 2025-09-01 at 12 08 59 pm

This applies to the ComboBox, RelationshipFilter, and RelationshipField components.

@netlify
Copy link

netlify bot commented Sep 1, 2025

Deploy Preview for graphweaver-storybook ready!

Name Link
🔨 Latest commit eab51e2
🔍 Latest deploy log https://app.netlify.com/projects/graphweaver-storybook/deploys/68b78bddd262d00008fadf0f
😎 Deploy Preview https://deploy-preview-1967--graphweaver-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

@thekevinbrown
Copy link
Member Author

Going to go ahead and merge this with known SonarQube flags around accessibility, as the current component has these same problems. We'll work on fixing those next.

@thekevinbrown thekevinbrown merged commit a24f1c3 into main Sep 3, 2025
20 of 21 checks passed
@thekevinbrown thekevinbrown deleted the fix/show-selected-items-in-combo-box branch September 3, 2025 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants