Add "View" to toast shown after "Enable in group"

What does this MR do and why?

This MR changes the texts in the success toast to include a link to view this agent or flow within the group

Removal of the group name

I decided to replace the group name with just 'group' because depending on the length of the group name there could be a overflowing bug. This would lead to not being able to see the 'view' button. I'll find some time to fix it in GitLab UI and then show the name again in this toast.

Screenshot_2025-12-10_at_13.41.23

References

Screenshots or screen recordings

Before After
Screenshot_2025-12-11_at_16.58.40 Screenshot_2025-12-10_at_13.58.04

How to set up and validate locally

  1. Prerequisite: You have a Duo workflow-enabled project.
  2. Enable the feature flags for the global_ai_catalog and flows (Product decisions)
  3. If needed, add some seed data: Setting up GDK for Workflow Catalog Development
  4. Visit http://gdk.test:3000/explore/ai-catalog/agents
  5. Enable an agent in a group
  6. Click on 'view'
  7. Repeat for flows

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.

Related to #580947

Edited by Vanessa Otto

Merge request reports

Loading