-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Apply hover styles to filter chip while being configured #59236
Conversation
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.
To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
Size Change: +61 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
I may be missing important details, but the before and after images look identical to me. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jasmussen to clarify; currently when a filter configuration popover is open the chip has the default appearance, IE it looks identical to all other chips. On this PR the hover style is retained while the popover is open, to create further visual connection between the chip and the popover. The hover style may need to be stronger, but that's probably a detail to finesse in a dedicated PR. |
Oh I see it now, the blue hover color is slightly darker. I'm fine with moving forward, but I do think the change is barely perceptible, which usually means we shouldn't do it, or increase the differential a little bit. |
Flaky tests detected in 5824d99. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/8006332075
|
Nice. |
Co-authored-by: jameskoster <[email protected]> Co-authored-by: ntsekouras <[email protected]> Co-authored-by: jasmussen <[email protected]>
I just cherry-picked this PR to the cherry-pick-wp-6-5-beta-3 branch to get it included in the next release: 3bf1514 |
Co-authored-by: jameskoster <[email protected]> Co-authored-by: ntsekouras <[email protected]> Co-authored-by: jasmussen <[email protected]>
What?
Apply hover styles to filter chip while the filter is being configured.
Why?
Further helps connect the popover with the associated chip. This will become more important as more filters are added.
How?
Target the
aria-expanded
attribute and style accordingly.Testing Instructions
We might try a stronger visual indicator than the hover state, but this felt a reasonable place to start.