Skip to content

Use toast for preferences saved notification

What does this MR do and why?

Toasts are the preferred pattern for giving users transient positive feedback about immediate actions. This MR changes user preference save interactions to use Toasts instead of Alerts.

Cf. docs on alert and toast.

Screenshots or screen recordings

Before After
Screenshot_2023-12-12_at_15.28.15 Screenshot_2023-12-12_at_15.28.45__2_

How to set up and validate locally

  1. Check out this branch
  2. Visit user preferences on the GDK
  3. Update user preferences
  4. Choose a new theme (does not require clicking Save button)
  5. Update your user's home page (will require clicking Save to apply)

When each of the updates is applied, you will see a toast in the bottom left corner. You will not see a blue alert at the top of the page.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #331162 (closed)

Edited by Chad Lavimoniere

Merge request reports