-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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: Always show Actions table header #61847
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: +35 B (0%) Total Size: 1.75 MB
ℹ️ View Unchanged
|
Flaky tests detected in 7b03534. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/9186864700
|
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.
Thanks for the PR!
I didn't know that not being able to see table header text was an issue before. Various approaches were considered in #42555, but I think it's okay to ship this PR for now.
@jameskoster what do you think?
Thanks @t-hamano. The visibility of the ellipsis button is still a problem though. However it is now a broader issue, not limited to the data views. In #42555 (comment) I promised to create a specific issue about the ellipsis button but failed to do so. Will do it now. |
Is it not adequate that numerous actions appear on row hover/focus? |
As a low vision user, I can't even visually identify the column. From a semantics perspective, I'm not sure I understand why this UI uses a table and then it hides one of the table headers, which are essential part of a table. Semantics and functionality should come first, befor any other considerations related to visual clutter or aesthetics. |
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.
The thinking was that given the cells clearly contain actions, and that the header had no menu (like other headers in the table), that we could afford to visually hide it, in this case. If it's not the case, let's revert :)
Co-authored-by: afercia <afercia@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
Co-authored-by: afercia <afercia@git.wordpress.org> Co-authored-by: t-hamano <wildworks@git.wordpress.org> Co-authored-by: jameskoster <jameskoster@git.wordpress.org>
See #61710 (comment)
Reverts #61710
What?
Makes the 'Actions' table header in the data views always visible.
Why?
Hiding table heders is less than ideal for the reasons explained in #61710 (comment)
Previously: #42505
How?
Reverts the changes from #61710
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast