Skip to content
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

Allow ModalDialogs with variant='custom' #1442

Merged
merged 1 commit into from
Jan 31, 2024
Merged

Allow ModalDialogs with variant='custom' #1442

merged 1 commit into from
Jan 31, 2024

Conversation

acelaya
Copy link
Contributor

@acelaya acelaya commented Jan 31, 2024

Part of hypothesis/client#6151 and hypothesis/client#6158

Some time ago we added support for variant="custom" in Dialogs, which makes it render provided children verbatim, instead of wrapped in a Panel.

However, that capability was not added to ModalDialog, so this PR brings that to make it consistent.

It is also required so that we can use ModalDialog for the client's notebook, bringing some accessibility improvements in the process.

Copy link

codecov bot commented Jan 31, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (5ffcf1b) 100.00% compared to head (4627b19) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1442   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           60        60           
  Lines          934       934           
  Branches       351       351           
=========================================
  Hits           934       934           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acelaya acelaya merged commit 97130ff into main Jan 31, 2024
4 checks passed
@acelaya acelaya deleted the custom-modal-dialog branch January 31, 2024 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants