Repository navigation
Conversation
|
👋 Thanks for your first Pull Request and for helping build the future of Gutenberg and WordPress, @Kallyan01! In case you missed it, we'd love to have you join us in our Slack community. If you want to learn more about WordPress development in general, check out the Core Handbook full of helpful information. |
|
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. |
| - `Calendar`, `RangeCalendar`: Use the WordPress text direction when no supported formatting locale is provided, while preserving explicit locale and `dir` precedence. ([#81982](https://github.com/WordPress/gutenberg/pull/81982)) | ||
| - `Calendar`, `RangeCalendar`: Align day states with neutral WPDS color tokens. ([#81438](https://github.com/WordPress/gutenberg/pull/81438)) | ||
| - `Calendar`, `RangeCalendar`: Show tooltips for the previous and next month buttons. ([#81983](https://github.com/WordPress/gutenberg/pull/81983)) | ||
| - `AlertDialog`: Use a neutral tone for the cancel button. ([#82236](https://github.com/WordPress/gutenberg/issues/82236)) |
There was a problem hiding this comment.
Please move this CHANGELOG entry under the latest Unreleased > Bug Fixes section
|
LGTM otherwise. I will approve + merge once the CHANEGLOG entry is moved to the right section 🙏 |
|
Will close in favour of a new PR authored by me, so that we can fix the CHANGELOG entry and merge it soon. @Kallyan01 , I'll mention you as a co-author 🙏 |
What?
Closes #81934
Makes AlertDialog.Popup's built-in Cancel button render with tone="neutral" instead of falling through to Button's 'brand' default.
Why?
A Cancel button sitting next to a Confirm/Delete button is definitionally the "less prominent" action, so it should be neutral. AlertDialog.Popup renders that button internally and passed no tone, so it inherited the 'brand' default
How?
One-line change in popup.tsx pass tone="neutral" to the Button rendered by _AlertDialog.Close
Testing Instructions
Testing Instructions for Keyboard
Screenshots or screencast
Use of AI Tools
Used Claude for testing and generating the PR description.