-
Notifications
You must be signed in to change notification settings - Fork 1
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
Fix Danger Dialog regression: unable to set custom button text #236
Conversation
🦋 Changeset detectedLatest commit: f7cd457 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 |
d578528
to
d3cf2d9
Compare
609c28f
to
f7cd457
Compare
@@ -1,4 +1,5 @@ | |||
<%= render(Primer::OpenProject::DangerDialog.new(id: "my-dialog", | |||
title: "My dialog", |
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.
This line is needed to avoid Axe violations - #237 makes this param required.
What are you trying to accomplish?
Fixes a regression in 0.53.0 where callers are unable to set custom button text for the Danger Dialog.
Screenshots
Integration
List the issues that this change affects.
Risk Assessment
What approach did you choose and why?
Anything you want to highlight for special attention from reviewers?
Accessibility
Merge checklist