-
Notifications
You must be signed in to change notification settings - Fork 537
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
Replace deprecated Button
in Dialog
#4049
Conversation
🦋 Changeset detectedLatest commit: 61df519 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
size-limit report 📦
|
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.
These changes look great to me and the upstream PR makes it seem like we only need to update tests 💯 I'll also request @broccolinisoup who I think may also have some helpful context for migrating this work if I remember right (I think she had helped an outside contributor trying to do this in the past and I wasn't sure what the hiccups ended up being there)
Thanks @joshblack for the ping, I appreciate it! We chatted about it in our call with Tyler and the reason that we reverted this PR is addressed in the integration PR 🤗 And the solution is approved by the code owners. Seems like we are good to go! |
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 great! Thank you so much for fixing that and providing the integration fixes as well ✨
Closes https://github.com/github/primer/issues/2470, #3062
Changelog
Changed
Replaces deprecated
Button
component inDialog.tsx
with newest version.Rollout strategy
For a successful rollout in
github
, we'll need to adjust some items that rely on the deprecated version ofButton
. The changes needed can be viewed in the integration test PR.Testing & Reviewing
Ensure that a focus indicator is present when focused on any of the dialog's footer buttons.
Dialog default Storybook example.
Merge checklist