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

  1. Turn on the following feature flags: duo_workflow, duo_workflow_in_ci, and ai_flow_triggers.

To Test New Notification of Toast

  1. Navigate to a Project with Duo Access, Duo Agent Platform enabled, and Issues already available.
  2. Go to an Issue.
  3. Click the Generate MR with Duo button (this will start a new Session).
  4. 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 View link 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

Merge request reports

Loading