-
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
Update "hidden" icon to be clearer, and invert logic as used in Data Views #65914
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: -79 B (0%) Total Size: 1.77 MB
ℹ️ View Unchanged
|
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.
I'd be happy for others to give feedback on the icon itself, but I think inverting the icon and changing it to a strikethrough eye makes sense.
It also matches the icon on the login screen:
This PR also brings Storybook's password field into consistency with the login screen:
http://localhost:50240/?path=/story/components-experimental-inputcontrol--show-password
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 icon with strike seems more explicit to me which feels like a win.
Thank you. Do I need to add a changelog entry? |
The icon design has changed so much that it might be worth adding a changelog. |
It might be worth adding a data views changelog entry too? |
Done, but 😩—the tests fail so often these days, I have to restart them endlessly. |
It seems that many other PRs have failed tests as well, so let's try restarting it at a later date 👍 |
The tests should pass now. See #65939 |
Thanks for all the help! |
…Views (WordPress#65914) Co-authored-by: jasmussen <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: jameskoster <[email protected]>
What?
This PR updates the
unseen
icon to be clearer, and inverts the logic for which icon to show in Data View configurations.For the moment, the eye is a closed eye, and the seen icon is shown for the button that hides a particular property:
In this branch, I'm proposing an alternatetive to the closed icon, an eye with a strike-through. This is similar to icons for unlink, remove-submenu, remove-bug, and other similar icon pairs. Additionally it shows the unseen icon for the action to hide a particular property:
Testing Instructions
Please test the site editor > Pages, and test the "View options" dropdown.