Add toast when pin item added and removed
What does this MR do and why?
When a nav-item is pinned/un-pinned there is no audible feedback to screen reader users. This change adds GlToast
to provide visual and audible feedback when a nav-item is pinned/un-pinned.
Screenshots or screen recordings
How to set up and validate locally
- View new navigation with pinnable items e.g http://gdk.test:3000/flightjs/Flight/-/issues/6
- Toggle pinning/un-pinning items from: 3. An expanded menu section 4. A flyout menu 5. The pinned section menu
- All should provide a toast with "{title} has been added/removed to/from pinned items"
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #424722 (closed)
Edited by Scott de Jonge