-
Notifications
You must be signed in to change notification settings - Fork 11.8k
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
PluginExtensions: Made it possible to control modal size from extension #76232
Conversation
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.
Nice! 👏
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.
🚀
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.
nice test addition
What is this feature?
This PR will allow plugins that use UI extensions to control the size of the modal that will be displayed when calling
openModal
when an user trigger an UI extension.You can specify
width
andheight
in either pixels or percent by passing it as options to theopenModal
function.Why do we need this feature?
When opening more advanced flows when the user triggers an UI extension there is a need to control the size of the Modal.
Who is this feature for?
Plugin developers
Which issue(s) does this PR fix?:
Fixes #
Special notes for your reviewer:
Please check that: