Adjust toggle behaviour for runner registration token setting at group
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
What does this MR do and why?
When the toggle is enabled or disabled, the page refreshes, which causes a bad UX. This change aims to fix that by making an async axios call without page refresh.
Closes: #455063 (closed)
Changelog: changed
Screenshots or screen recordings
| Before | After |
|---|---|
| before.mov | after.mov |
How to set up and validate locally
- Run
GitLab. - Navigate to
<group>->Settings->CI/CD. - Expand the
Runnerssection. - Toggle the
Allow members of projects and groups to create runners with runner registration tokenssetting.
Edited by Anton Kalmykov