Skip to content
Snippets Groups Projects

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

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Ammar Alakkad approved this merge request

    approved this merge request

  • Ammar Alakkad requested review from @pburdette and removed review request for @aalakkad

    requested review from @pburdette and removed review request for @aalakkad

  • Payton Burdette removed review request for @pburdette

    removed review request for @pburdette

  • added 1 commit

    • 53640fc8 - Use toast for preferences saved notification

    Compare with previous version

  • Chad Lavimoniere resolved all threads

    resolved all threads

  • Chad Lavimoniere requested review from @justin_ho

    requested review from @justin_ho

  • Chad Lavimoniere added 1619 commits

    added 1619 commits

    Compare with previous version

  • Justin Ho Tuan Duong removed review request for @justin_ho

    removed review request for @justin_ho

  • Chad Lavimoniere added 3 commits

    added 3 commits

    • 53640fc8 - Use toast for preferences saved notification
    • 6b73e255 - Merge branch...
    • 9821f690 - Update specs based on MR feedback

    Compare with previous version

  • Chad Lavimoniere requested review from @justin_ho

    requested review from @justin_ho

  • Chad Lavimoniere resolved all threads

    resolved all threads

  • Justin Ho Tuan Duong approved this merge request

    approved this merge request

  • Justin Ho Tuan Duong enabled an automatic merge when the pipeline for 00e8887d succeeds

    enabled an automatic merge when the pipeline for 00e8887d succeeds

  • mentioned in commit 2c1615a5

  • added workflowstaging label and removed workflowcanary label

  • added groupfoundations label and removed groupauthentication label

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading