Skip to content

Frontend: Replace the commit confirmation alert in the pipeline editor with a toast message

Problem

When you commit your config in the Pipeline Editor we show a confirmation alert which needs to be manually removed. It's not necessary to have a persisting alert for a confirmation that doesn't require an action from the user.

image

Proposal

As discussed in this thread, when the commit experience in the pipeline editor changes to a commit popover, we can replace the commit confirmation alert with a toast message.

  • Use a toast message that slides out in the bottom left corner.
    • Your changes have been successfully committed.
    • Your action succeeded.
  • A user can dismiss the toast by clicking the “dismiss” icon button.
  • If left alone, a toast without an action will disappear after five seconds.

For more information see Pajamas: Toast.

Edited by Sunjung Park