gitpod-io / gitpod-io/gitpod

Add confirmation dialog when blocking or deleting a user

Open
#3,930 2 comments 0 reactions 0 assignees View on GitHub

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:

  1. Modal title: Block User
  2. Modal body: Are you sure you want to block this user?
  3. Modal actions: Cancel, Block User (primary, danger button)

For deleting a user:

  1. Modal title: Delete User
  2. Modal body: Are you sure you want to delete this user?
  3. Modal actions: Cancel, Delete User (primary, danger button)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.