Add confirmation dialog when blocking or deleting a user
Open
Nobody has claimed this yet.
component: dashboard
feature: admin dashboard
meta: never-stale
type: improvement
user experience
- Dominant language
- TypeScript
- Stars
- 13.8k
- Forks
- 1.4k
- Avg merge
- 17h 58m
- Merged PRs (30d)
- 5
Description
Problem to solve
Currently, when you try to block or delete a user from the Admin Area the action is performed immediately without waiting for any further user confirmation. This can surprize the admin user as well as be more prone to accidental errors.
Proposal
Add a confirmation dialog when an admin user tries to block or delete a user from the admin area /admin.
Designs
For blocking a user:
- Modal title: Block User
- Modal body: Are you sure you want to block this user?
- Modal actions: Cancel, Block User (primary, danger button)
For deleting a user:
- Modal title: Delete User
- Modal body: Are you sure you want to delete this user?
- Modal actions: Cancel, Delete User (primary, danger button)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the admin area at /admin and locate the user block and delete actions. Follow existing dialog patterns, then verify that each action requires the specified confirmation and that Cancel leaves the user unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100