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 (closed)

Screenshots or screen recordings

Before After
Explore agent edit Explore agent edit before.png Explore agent edit.png
Project flow new Project flow new before.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.

Edited by Justin Ho Tuan Duong

Merge request reports

Loading