Feat: Update alerts in workflow actions to toasts
What does this MR do and why?
Change success alert for session to a toast.
References
Related GitLab MR: https://gitlab.com/gitlab-org/gitlab/-/issues/572586
Screenshots or screen recordings
| Before | After |
|---|---|
| Screen_Recording_2025-11-05_at_4.09.54_PM | Screen_Recording_2025-11-05_at_4.09.54_PM |
How to set up and validate locally
Initial Setup
- Turn on the following feature flags:
duo_workflow,duo_workflow_in_ci, andai_flow_triggers.
To Test New Notification of Toast
- Navigate to a Project with Duo Access, Duo Agent Platform enabled, and Issues already available.
- Go to an Issue.
- Click the
Generate MR with Duobutton (this will start a new Session). - Validate a Toast appears (in the lower left) with the new Messaging of {Agent Name}{Agent Number}{Status} and a View link. This Toast will only appear for 4 seconds, so you will need to be quick to make sure that the
Viewlink navigates appropriately. Also note, currently we only display created status.
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 #572586
Edited by Lindsey Shelton