uselagoon / lagoon-ui

Apache License 2.0
7 stars 2 forks source link

Require entering project name too during env. delete confirmation #185

Open PeterSalsa opened 11 months ago

PeterSalsa commented 11 months ago

When deleting an environment, you have to enter the environment name as confirmation. However, if you have lots of different projects, entering 'master' doesn't really help confirm you're deleting the right project's master env.

I suggest requiring entering the full name (PROJECT-ENVIRONMENT) when deleting an env.

shreddedbacon commented 11 months ago

Well the user has to be on the page of the project to get into the environment before they click delete. It'd probably make more sense to just add the project name to the confirmation box, but not requiring the user to enter it as part of the confirmation.