Loading
Show Ask GitLab Duo in Orbit Quickstart after a turn-on
What does this MR do and why?
After an Owner turns on GitLab Orbit from the GitLab Orbit page, the Quickstart says "turn it on in your preferences" for up to two minutes, even after a reload.
- A turn-on now clears the cached GitLab Duo state of the Owner, so the next page load reads the new state. This also covers a trial start on a group that already has GitLab Orbit on.
- The GitLab Orbit page reloads after a turn-on, because it reads the GitLab Duo and default group state only when it loads. This also shows the "Select a default group" warning when the Owner now has two or more groups.
- If some of the selected groups fail to turn on, the error alert shows after the reload.
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
- On GDK in GitLab.com mode, sign in as an Owner of a paid top-level group that has GitLab Orbit off, and who is not a member of any group with GitLab Orbit on.
- Open the GitLab Orbit page, select the group, select Turn on GitLab Orbit, and confirm.
- The page reloads, and the Quickstart shows Ask GitLab Duo.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Jean-Gabriel Doyon