Add SAAS simulation info to the performance bar
What does this MR do and why?
As part of the improvement to the local development experience for AI features, we wanted to add certain information about your development environment at runtime. We chose to add an info button to the performance bar that when clicked showed a layover with additional information about your current settings.
- Whether you are simulating SAAS or not.
This MR adds the graphql field to get that information and the frontend part that adds the usage of this field inside the performance bar.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Before | After |
---|---|
How to set up and validate locally
- Go to your GDK local dev environment
- Click on the topmost right info icon
- Notice the new value: Running as SAAS
- Go to your GDK folder
- In
env.runit
file, changeGITLAB_SIMULATE_SAAS
to the opposite value (if 1 =>0, if 0 => 1) - run
gdk restart
- Reopen the info modal
- Notice the value is now the opposite from before!
Related to #471099
Edited by Frédéric Caplette