Repository > Remove from Registry does not ask for confirmation, and needs a menu separator (ux-error-prevention)
Created originally on Bitbucket by thomasdd (Thomas D.)
Please add a simple confirmation alert to the "Remove from Registry" command, and a menu separator before the menuitem to make accidental clicks less likely. I was just trying to "Rename" my repository then suddenly the entire repo node went away silently. Fortunately it doesn't destroy the data, but still, the UX of this is quite nasty, and too much effort to restore what I never wanted to remove in the first place.
This would also be a nice and simple immediate fix to prevent the worst of similar issue #4016, where reporter says "...it is removed. Without even asking for confirmation. That's absolutely ridiculous. " Indeed.
STR
- Right-click on repo
- Try to click "Rename", but miss by a millimeter downwards
Actual result
- triggered "Remove from Registry" instead
- Repo is silently removed against user's intention (as in issue #4016)
- user hassles to restore the repo
Expected result
- UX-error-prevention
- add a separator before "Remove from Registry command" so that it becomes harder to click accidentaly: ...
#!text
Rename
------------------------ <--- new separator
Remove from Registry
------------------------
- add a confirmation alert before removing the repo, ideally mentioning the name of the repo which is about to be removed:
#!text
+-----------------------------
Remove Repository
+-----------------------------
This will remove the selected repository node and all its subnodes, but your repository data will remain on disk.
Are you sure that you want to remove this repository?
o My repository name
[_Remove] [Cancel]
+------------------------------