-
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
Tooltip: Don't render buttons tooltip when show button text labels is enabled #55842
Tooltip: Don't render buttons tooltip when show button text labels is enabled #55842
Conversation
Size Change: +137 B (0%) Total Size: 1.7 MB
ℹ️ View Unchanged
|
Flaky tests detected in 9ac209a. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/6745103354
|
9ac209a
to
bd8f152
Compare
Rebased on top of latest trunk. I'd appreciate a quick review @carolinan or @tellthemachines when you have a chance, please 🙏 |
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.
Oh yes thank you @tellthemachines, added it 👍 I updated the test instructions accordingly. |
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 updating @afercia! LGTM ✅
Fixes #55815
What?
Buttons that already show visible text don't need a tooltiip that just repeats the visible text.
Why?
Unnecessarily clutters the UI.
How?
Use the
showTooltip
prop based on theshowIconLabels
preference.Testing Instructions
Note: the 'Save/Saved' button does have the same problem but for now we have to force its tooltip to always render as explained in this comment.
Testing Instructions for Keyboard
Screenshots or screencast