Retry button if there are failed status checks - Frontend
What does this MR do and why?
Adds a retry button to the MR widget for each failed status check. This calls the new retry API from Retry button if there are failed status checks (#383200 - closed)
Note that this implementation does not exactly match the designs but rather uses the existing shared MR Widget actions style (showing text along side icon, action inside dropdown menu on small devices). This will be tackled separately in Draft: Allow MR widget actions to be icon-only ... (!106882 - closed)
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
![]() |
![]() |
How to set up and validate locally
- Create external status check https://docs.gitlab.com/ee/user/project/merge_requests/status_checks.html#view-the-status-checks-on-a-project (you can use example.com for url to ensure the status check is always failed)
- Create MR for a project
- Expand the collapsed Status Checks MR widget
- Click retry
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #385218 (closed)
Edited by Elwyn Benson