Alert Messages
Alert messages are produced using the custom Polymer element
rhodecode-toast
which is passed a message and level.
There are four types of alert levels:
"success" is used when an action is completed as expected
ex. updated settings, deletion of a repo/user
ex. updated settings, deletion of a repo/user
"warning" is for notification of impending issues
ex. a gist which was updated elsewhere during editing, disk out of space
ex. a gist which was updated elsewhere during editing, disk out of space
"error" should be used for unexpected results and actions which
are not successful
ex. a form not submitted, repo creation failure
ex. a form not submitted, repo creation failure
"info" is used for non-critical information
ex. notification of new messages, invitations to chat
ex. notification of new messages, invitations to chat
Whether singular or multiple, alerts are grouped into a dismissable
panel with a single "Close" button underneath.