Skip to content

Add delete button in dropdown

What does this MR do and why?

Adds 'Delete' button to disclosure dropdown. It does not do anything yet. So I added the suffix (Coming soon). It creates a new group in the dropdown, to divide the actions from each other. Also: updated href to to for Edit and Run actions.

References

!197340 (comment 2618710619)

Screenshots or screen recordings

Before After
Screenshot_2025-07-11_at_11.24.18 Screenshot_2025-07-11_at_11.22.42

How to set up and validate locally

  1. Enable the feature flag: echo "Feature.enable(:global_ai_catalog)" | rails c
  2. If needed, add some seed data: echo "FactoryBot.create_list(:ai_catalog_item, 10, item_type: :flow, project_id: 1000000)" | rails c
  3. Visit http://gdk.test:3000/explore/ai-catalog/agents

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

Merge request reports

Loading