Edit Branch Rules: Status Check: Implement deletion of status check
Context
See [MVC] Branch Rules Editing (&8075 - closed) and Implement Status checks (#388130 - closed)
Tasks
- When "Delete" icon button clicked, display delete modal (same like current)
- title: Remove status check?
- body: You are about to remove the {name} status check.
- destructive primary: Remove status check
- secondary: Cancel
- When status check removed, display toast "Status check removed"
Question: Is already existing logic to around restrictions if a status check cannot be removed? If so, make sure to validate here
Mockup
Edited by Chaoyue Zhao