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

feat(Modal): promoted next version #10358

Merged
merged 2 commits into from
Jun 6, 2024
Merged

Conversation

thatblindgeye
Copy link
Contributor

What: Closes #8078

Additional issues:

@thatblindgeye thatblindgeye requested a review from tlabaj May 13, 2024 15:12
@thatblindgeye thatblindgeye linked an issue May 13, 2024 that may be closed by this pull request
@patternfly-build
Copy link
Contributor

patternfly-build commented May 13, 2024

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

General comment. We should not be using the deprecated modal in our components or examples/demos. We can open a follow up issue for that.

@@ -6,7 +6,7 @@ import { AboutModalBoxHeader } from './AboutModalBoxHeader';
import { AboutModalBoxBrand } from './AboutModalBoxBrand';
import { AboutModalBoxCloseButton } from './AboutModalBoxCloseButton';
import { AboutModalBox } from './AboutModalBox';
import { Modal, ModalVariant } from '../Modal';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should be using the new modal here. I am ok with follow up issue to do that, but it should be done for Beta.

@@ -16,6 +14,7 @@ import {
Radio,
Popper
} from '@patternfly/react-core';
import { Modal as ModalDeprecated, ModalVariant as ModalVariantDeprecated } from '@patternfly/react-core/deprecated';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same comment as above here

@@ -8,13 +9,13 @@ export const WizardWithinModal = () => {
<>
<Button onClick={() => setIsModalOpen(true)}>Show Modal</Button>

<Modal
<ModalDeprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should use new modal here.

@thatblindgeye
Copy link
Contributor Author

In regards to above, followup created for updating examples: #10363

@tlabaj tlabaj merged commit 3fabe0e into patternfly:v6 Jun 6, 2024
13 checks passed
@patternfly-build
Copy link
Contributor

Your changes have been released in:

  • @patternfly/react-code-editor@6.0.0-alpha.66
  • @patternfly/react-core@6.0.0-alpha.66
  • @patternfly/react-docs@7.0.0-alpha.70
  • @patternfly/react-drag-drop@6.0.0-alpha.48
  • @patternfly/react-integration@6.0.0-alpha.33
  • demo-app-ts@5.1.1-alpha.65
  • @patternfly/react-table@6.0.0-alpha.66
  • @patternfly/react-templates@6.0.0-alpha.16

Thanks for your contribution! 🎉

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.

Modal: Deprecate modal
5 participants