Skip to content

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.

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.

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

<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
@patternfly-build
Copy link
Contributor

Your changes have been released in:

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