Re-deploy/Rollback button should ask for confirmation before executing
Presently the Re-deploy button does not ask for any confirmation before taking action. This could be problematic, especially for mobile users where accidental clicks are more common, if they are quickly browsing an Environment's detail page where we present a Rollback/Re-deploy button.
We should consider adding a confirmation box for potentially destructive actions, if only on mobile.
|Re-deploy environment <environment_name>?|
|This action will run the job defined by staging for the <commit_id>(link) commit, putting the environment in a previous version. You can revert it by re-deploying the latest version of your application. Are you sure you want to continue?|
|Cancel - Re-deploy environment|
|Rollback to <environment_name>?|
|This action will relaunch the job for the <commit_id>(link) commit, putting the environment in a previous version. Are you sure you want to continue?|
|Cancel - Rollback environment|
- <commit_id>(link): should display a tooltip on hover with <commit_description>