-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[dialogs] Improve display of dialogs #7080
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.
@kaiyue0329 please provide how to test
section so that reviewers can easily test and validate the feature. Please also address the comments present.
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 seems to be a CI issue regarding the jsdocs formatting.
Please see: https://travis-ci.com/eclipse-theia/theia/jobs/283842792#L855-L866
@vince-fugnitto looks good to me, could you check that it does not introduce any regressions for existing dialogs please before merging |
@kaiyue0329 I tried to update an existing dialog with the new |
- Allow developers to control the desired width and word-wrap of the dialog - Add detail documentation for maxWidth and wordWrap props - Add guard for undefined maxWidth and wordWrap - Set 'min-width' for the dialog to 0px so that 'max-width' can be applied properly Signed-off-by: Kaiyue Pan <kaiyue.pan@ericsson.com>
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.
The changes work correctly, I verified by updating an existing dialog (AboutDialog
) and seeing if the new props correctly update the styling of the dialog.
I also verified that existing dialogs are not affected by this pull-request.
What it does
Solves: #6905
How to test
Review checklist
Reminder for reviewers