Refactor runner instructions modal data lazy load
What does this MR do and why?
The runner registration instructions in the runner registration modal are loaded only when needed.
This change shifts the responsibility for deciding wether or not to load data from the parent of the modal component to the modal itself, making the modal easily reusable.
Screenshots or screen recordings
No changes are expected, this is the related modal:
How to set up and validate locally
- Log in as admin
- Visit the admin -> runners section
- Open the dropdown Register an instance runner
- Select the option Show runner installation and registration instructions
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