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

Update deregistration modal to include instances content #1772

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

arbulu89
Copy link
Contributor

@arbulu89 arbulu89 commented Aug 30, 2023

Description

Update DeregistrationModal component to include content for application and database instances.
The default content continues being the host deregistration one.

Check DeregistrationModal storybook to see the new modals.

How was this tested?

Tested and storybook updated

@arbulu89 arbulu89 added the enhancement New feature or request label Aug 30, 2023
control: { type: 'text' },
},
isOpen: {
type: 'boolean',
description: 'Sets the visibility of the modal',
control: false,
},
onCleanUp: {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removing onCleanUp and onClose. Otherwise the actions are not really executed, as storybook catches them.
The other option is just to simplify the story to get read of the custom button behaviour and let storybook catch the actions

@arbulu89 arbulu89 force-pushed the instance-deregistration-modal branch from dec992c to 7d38ba6 Compare August 30, 2023 08:28
@arbulu89 arbulu89 marked this pull request as ready for review August 30, 2023 09:24
Copy link
Contributor

@dottorblaster dottorblaster left a comment

Choose a reason for hiding this comment

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

LGTM

@arbulu89 arbulu89 merged commit 74c3788 into main Aug 30, 2023
@arbulu89 arbulu89 deleted the instance-deregistration-modal branch August 30, 2023 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants