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

ui: add confirmation modal for reset SQL Stats #83108

Merged
merged 1 commit into from
Jun 21, 2022

Conversation

maryliag
Copy link
Contributor

Previously, there was not confirmation when the user
clicked on reset SQL Stats. This commit introduce
a confirmation modal, with a proper warning about
the data about to be deleted.

Fixes #81867

Screen Shot 2022-06-20 at 4 18 51 PM

https://www.loom.com/share/9bd3c6af8f574453ac69e201697601b9

Release note (ui change): Add confirmation modal to reset SQL Stats

Previously, there was not confirmation when the user
clicked on `reset SQL Stats`. This commit introduce
a confirmation modal, with a proper warning about
the data about to be deleted.

Fixes cockroachdb#81867

Release note (ui change): Add confirmation modal to `reset SQL Stats`
@maryliag maryliag requested review from Annebirzin and a team June 20, 2022 20:19
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ericharmeling ericharmeling left a comment

Choose a reason for hiding this comment

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

Looks good!

Copy link

@Annebirzin Annebirzin left a comment

Choose a reason for hiding this comment

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

LGTM

@maryliag
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Jun 21, 2022

Build succeeded:

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.

Provide a pop-up dialog to inform users the effects of resetting SQL stats
4 participants