-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Block Comments: Always show comment menu item #72153
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
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. |
| aria-haspopup="dialog" | ||
| > | ||
| { _x( 'Comment', 'Add comment button' ) } | ||
| { __( 'Comment' ) } |
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.
Nit: I removed the context, as I feel it's redundant.
|
Size Change: +2 B (0%) Total Size: 1.96 MB
ℹ️ View Unchanged
|
|
Flaky tests detected in 9ba565e. 🔍 Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/18336529910
|
Mamaduka
left a comment
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.
Looks good to me ✅
|
Nice work. I was too slow to test this, but I found a couple of other things that I tracked in #72157. Let me know if those make sense. |
Co-authored-by: t-hamano <[email protected]> Co-authored-by: Mamaduka <[email protected]> Co-authored-by: jasmussen <[email protected]> Co-authored-by: adamsilverstein <[email protected]> Co-authored-by: joedolson <[email protected]> Co-authored-by: kjnanda <[email protected]>
What?
Closes #71906
Note: This PR doesn't fix the a11y issues mentioned in #71906. The issues related to a11y should be addressed in #71814 separately.
Why?
A conditionally rendered menu item can be confusing.
How?
Renders the comment menu item, whether or not it has a blockCommentId. As a small refactor, I renamed the component.
Testing Instructions
Screenshots or screencast