Skip to content

Improve error handling: replace FlashMessage with notifications #218

@felixble

Description

@felixble

To display errors or success messages we are currently using custom bootstap alerts which we call flash messages. They are located at a fixed point on the page or inside a dialog. This comes with several issues: first if the position of the alert-box is out of view the user does not see it in the moment when the error occurs. Secondly, we have to keep the dialog open until the server-callback is called to display any error which might have occurred.

Instead of our custom alerts we could use a notification library which displays error/warning/info/success notifications as toasts in the upper right corner on the screen. For example: http://bootstrap-notify.remabledesigns.com/

ACs

  • Replace FlashMessage implementation by using the bootstrap-notify package
  • Check if the messages are displayed correctly
  • Replace old usage of the old error-template which directly displays the template by setting the corresponding session variables
  • Remove old error template

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions