Call bulk delete runners mutation in UI
What does this MR do and why?
Implements #339525 (closed) by actually calling the backend to delete the runners. This MR depends on !93583 (merged) and !94100 (merged).
This implementation is the first MVC that we can release of a runners bulk delete:
- Each runner can be selected (but no "check all" function)
- A maximum of 50 runners can be deleted at a time: If the user selects more, the reminder runners stay in the UI, and the user can re-run the operation.
- Only available in the admin section
admin_runners_bulk_delete
.
Screenshots or screen recordings
How to set up and validate locally
- Enable feature flag
admin_runners_bulk_delete
. Typerails c
and thenFeature.enable(:admin_runners_bulk_delete)
. - Visit Admin -> Runners http://gdk.test:3000/admin/runners
- Confirm you can select a few runners with a checkbox on the left
- Confirm the deletion is successful.
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.
Edited by Miguel Rincon