Add report modal to AI Catalog item actions
What does this MR do and why?
Add report modal to AI Catalog item actions
Added for agents and flows.
References
- Follow up issue: Implement hard-delete UI for AI Catalog items a... (#580420 - closed)
- Open discussion about whether we want to allow users to submit the form when selecting 'Other' but not entering text: !211928 (comment 2882461945)
- Differences in this MR compared to the proposed design of [UX] Mockups for reporting agents/flows (#579029 - closed)
- Shorter text for success toast
- The errors alert looks a bit different to match the current design we use for all other alerts in the AI Catalog as well
Screenshots or screen recordings
https://www.youtube.com/watch?v=LieIsgCpL-s
How to set up and validate locally
- Prerequisite: You have a Duo workflow-enabled project.
- Enable the feature flags for the global_ai_catalog and flows and third-party flows (Product decisions)
- If needed, add some seed data: Setting up GDK for Workflow Catalog Development
- Make sure you have an absue email set on the instance.
- Visit http://gdk.test:3000/explore/ai-catalog/agents, and report an agent.
- Visit http://gdk.test:3000/explore/ai-catalog/flows, and report a flow or third-party flow.
- Try to submit a report selecting 'Other' and check that the textarea has to be filled out
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 #578591 (closed)
Edited by Vanessa Otto
