Implement the ability to Delete a Branch rule
Description
As part of the MVC for organizing rules based on branches, we need to implement the ability to delete a branch rule.
Scope
The scope of this issue includes:
- Delete branch rule (FE)
Implementation plan
Mockups
- When "Delete" clicked, display modal
- title: Delete branch rule?
- body: Are you sure you want to delete this branch rule? This action cannot be undone.
- destructive primary: Delete branch rule
- secondary: Cancel
- Upon deletion the user is redirected to list of branch rules in "Settings > Repository"
Branch rule with delete button | Delete modal |
---|---|
Edited by Michael Le