Add confirmation modal to project deletion (superuser)
Open
Nobody has claimed this yet.
- Dominant language
- Elixir
- Stars
- 296
- Forks
- 86
- Avg merge
- 1d 13h
- Merged PRs (30d)
- 50
Description
User story
As a superuser, I would like to be able to confirm the project name before I delete it, so that I don't accidentally delete the wrong project.
Details
When a user clicks delete
- Open a confirmation modal requesting to type in the project name:
Title: Delete project
Message: Enter the project name to confirm its deletion. Note: Deleting this project will disable access
for all users, and disable all jobs in the project. {PURGE_DELETED_RECORDS_AFTER_DAYS} days from today, the whole project will be deleted
along with all workflows and work order history.
Input: Project name
Buttons: Cancel, Delete project
- The delete button is greyed out until the user has successfully entered the project name.
Implementation notes
Release notes
- Add confirmation modal to project deletion from projects page
User acceptance criteria
Contributor guide
No contributing guide indexed for this repository
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 at the projects page and trace the existing project deletion flow. Implement the confirmation modal described in the issue, including project-name validation and the warning text; the work is done when the Delete project button remains disabled until the exact project name is entered and Cancel still closes the modal.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elixir
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100