-
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
Data views: Display all checkboxes when a single item is selected #59233
Conversation
Size Change: +35 B (0%) Total Size: 1.71 MB
ℹ️ View Unchanged
|
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. |
Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
I just cherry-picked this PR to the cherry-pick-wp-6-5-beta-3 branch to get it included in the next release: 57030d3 |
Co-authored-by: jameskoster <jameskoster@git.wordpress.org> Co-authored-by: jasmussen <joen@git.wordpress.org>
What?
Display all checkboxes in data views table layout as soon as a single item is selected.
Why?
Currently, checkboxes are only visible on hover, focus, and when checked. This can result in views where some items appear to have a checkboxes and others do not. At a glance this might be considered confusing.
This PR updates the logic so that all checkboxes become visible when any item is selected.
How?
.dataviews-view-table:has(tr.is-selected) .components-checkbox-control__input { opacity: 1 }
Testing Instructions
checkboxes.mp4