-
Notifications
You must be signed in to change notification settings - Fork 72
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
Admin UI - User Deletion Modal - Only Require One Layer of Confirmation #4402
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
Are there any Cypress tests that I'd need to adjust for this? Not sure where to find them (or how to edit them 😸) |
Passing run #6114 ↗︎
Details:
Review all test suite changes for PR #4402 ↗︎ |
It does look like the delete user test is failing 😄 https://github.com/ethyca/fides/actions/runs/6791203976/job/18462232743?pr=4402#step:6:1217 I imagine you have to remove instances where it is looking for that first hopefully this README can get you going on running the cypress tests locally to see if it passes, but I'm happy to help if you run into anything! sometimes cypress is easy, other times it's super hard 🥲 |
This is a nice UX improvement thanks @RobertKeyser! Can I suggest adding some context next to the user name for example "User to be deleted: " |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Closes #
Description Of Changes
Today in the Admin UI, we require a user to enter the name of a user to delete twice. While this does indeed confirm that the correct user is about to be deleted, confirming it twice is a bit overkill. Instead, this PR changes the modal to only require the deleting user to enter the target's username once. Additionally, it includes a
<Text>
element with the user's username.New:
Old:
Adding the user's name to the deletion modal helps to make sure that you have the right user if you're on the full list of users.
Code Changes
Steps to Confirm
Pre-Merge Checklist
CHANGELOG.md