Increase toast duration for created work item

What does this MR do and why?

Increase create work item toast (Epic/Issue created) delay to keep it visible for 10s instead of 5s.

This task depends on this change in the gitlab-ui project. (merged)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Is visible for 5s Is visible for 10s
Screen_Recording_2024-11-01_at_10.54.34_AM Screen_Recording_2024-11-01_at_11.12.52_AM

How to set up and validate locally

  1. Go to the /groups/flightjs/-/work_items or /groups/flightjs/-/epics page
  2. Click on create new item
  3. Expect a modal to show up to create the work item
  4. After submitting the new item, expect a toast appears saying it was created
  5. Expect that the toast stays visible for 10s then automatically closes

Related to #483104 (closed)

Blocked by gitlab-ui!4729 (merged)

Edited by Fernanda Toledo

Merge request reports

Loading