Skip to content

Conversation

@spadgett
Copy link
Member

@spadgett spadgett commented Jan 31, 2019

Fixes https://jira.coreos.com/browse/CONSOLE-1250

The patternfly-react MessageDialog isn't compatible with console modal styles, and there isn't a way to add the necessary intermediate divs using the MessageDialog component to fix this bug. The MessageDialog is also a third kind of dialog in the console and the only place we use it. We used to only have one modal.

We want to switch to patternfly-react components, but we should change all of the modals at once. Having a mix of dialogs is going to lead to an inconsistent user experience, more maintenance, and bugs like this.

For now, use the same modal we use everywhere else in console.

Before:

screen shot 2019-01-31 at 12 32 38 pm

After:

screen shot 2019-01-31 at 3 09 14 pm

/assign @rhamilto @sg00dwin

@openshift-ci-robot openshift-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Jan 31, 2019
@rhamilto
Copy link
Member

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jan 31, 2019
@spadgett spadgett force-pushed the fix-community-operator-dialog-styles branch from e0849fd to df4b535 Compare January 31, 2019 23:59
@openshift-ci-robot openshift-ci-robot removed the lgtm Indicates that a PR is ready to be merged. label Jan 31, 2019
@rhamilto
Copy link
Member

rhamilto commented Feb 1, 2019

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 1, 2019
@openshift-merge-robot openshift-merge-robot merged commit e2e73d6 into openshift:master Feb 1, 2019
@spadgett spadgett deleted the fix-community-operator-dialog-styles branch February 1, 2019 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants