Polish UI in AI Catalog "Visibility & access" section

What does this MR do and why?

Rename "Source project" to "Managed by", and move it above Visibility.

  • Hide the dropdown completely when on the project page.
  • Update help text.
  • Fix spacing in Visibility radio buttons.

References

Related to #578610

Screenshots or screen recordings

Agents Flows
Explore new Explore agent new.png Explore flow new.png
Explore edit Explore agent edit.png Explore flow edit.png
Project Project agent new.png Project flow new.png

How to set up and validate locally

  1. Prerequisite: You have a Duo workflow-enabled project.
  2. Enable the feature flags global_ai_catalog, and ai_catalog_flows.
  3. Go to Explore > AI Catalog > Flows. For example, https://gdk.test:3443/explore/ai-catalog/flows.
    1. Create a flow. You should be redirected to a flow page.
    2. Select Enable in group. Select a Duo-enabled group.
  4. Go to Group > Automate > Flows. For example, https://gdk.test:3443/groups/gitlab-duo/-/automate/flows.
    1. Verify that the flow is enabled for the group.
  5. Go to Project > Automate > Flows. For example, https://gdk.test:3443/gitlab-duo/test/-/automate/flows.
    1. Select Enable flow from group. Select the flow just added to the group.

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.

Merge request reports

Loading