Refactor delete action to reusable component
What does this MR do and why?
This change pulls the delete mutation call to a component that can be reused in different locations of the runner UI.
Screenshots or screen recordings
No change in the UI. See the red outline with refactored components in the Runner UI:
The delete logic moved from the outer button group to the delete button itself.
How to set up and validate locally
- Visit the admin runners http://gdk.test:3000/admin/runners
- Ensure the runner can still be deleted.
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 #347856 (closed)
Edited by Miguel Rincon