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

Add SUSE Manager Clear Settings dialog #2339

Merged
merged 5 commits into from
Feb 20, 2024
Merged

Add SUSE Manager Clear Settings dialog #2339

merged 5 commits into from
Feb 20, 2024

Conversation

jamie-suse
Copy link
Contributor

@jamie-suse jamie-suse commented Feb 19, 2024

Description

Adds the dialog that will open when the user clicks the "Clear Settings" button on the Settings page.

It prompts the user to either confirm or cancel that they wish to clear the SUSE Manager credentials from Trento.

image

See Storybook link for interactive demo.

How was this tested?

Add React component tests and a Storybook story.

@jamie-suse jamie-suse added enhancement New feature or request javascript Pull requests that update Javascript code labels Feb 19, 2024
@jamie-suse jamie-suse self-assigned this Feb 19, 2024
@jamie-suse
Copy link
Contributor Author

Not 100% sure if this component should have it's own directory. Open to moving it somewhere else if it makes more sense.

Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

Not 100% sure if this component should have it's own directory. Open to moving it somewhere else if it makes more sense.

I am ok with this proposal. I guess you took inspiration from SuseManagerSettingsDialog component.

By the way in the design the button is filled in red, not only outlined
image

Copy link
Member

@nelsonkopliku nelsonkopliku left a comment

Choose a reason for hiding this comment

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

LGTM

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, smash the green button!

@jamie-suse jamie-suse merged commit c7bf223 into main Feb 20, 2024
24 checks passed
@jamie-suse jamie-suse deleted the suma-settings-page branch February 20, 2024 09:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

None yet

3 participants