Restore namespace requirement for project deletion confirmation
Background
- Project deletion involves a confirmation modal where you must enter a specific confirmation value to enable the button to delete.
- The confirmation value was modified to include namespace in !38700 (merged).
- The confirmation value was reverted to project name only in !47117 (merged). This was noticed by @aregnery on 2021-10-20.
Problem to solve
Occasionally a user will delete one project, believing it is a different (similar) one. Specifically, a user might delete an original project, believing it is a fork.
Proposal
- Restore the namespace requirement for the confirmation value, so it is always clear which project is being deleted.
- Change the confirmation input to a
textarea
so the full confirmation value is displayed (see example below). - Ensure test coverage and comments make it clear that this requirement is important, as proposed by @jiaan.
Without textarea
|
With textarea
|
---|---|
Related links
- Documentation for project deletion
- Discussion of namespace requirement, including realization that namespace is no longer required
- Discussion of namespace requirement, including concern over total length
- Comment: "you really need to have folks keying in the full path to the project to assure full comprehension of the consequences."
Edited by Dan Jensen