Story #62606
closedEpic #62041: twbs Bootstrap backend, refactor EXT:t3skin and HTML5 output
Refactor FlashMessages to TWBS alternatives
100%
Description
FlashMessages should be refactored to be compliant with TWBS alert boxes or Panels.
Right now FlashMessages are mis-used for different kinds of information.
A FlashMessage is a container for temporary information often closely bound to an action a user just did.
A Panel is an container that holds permanent information that needs emphasize this particular part of information as "important".
So an alert (FlashMessage) should always be dismissible.
This way we don't need to take care of making an alert optionally dismissible and create a strong default.
Another story are parts like the reports module.
Here FlashMessages were mis-used because up to now there was no other standard of highlighting a piece of information as success, notice, alert, danger.
The task is to check each use of FlashMessages (about 800 occurrences at the time of writing) and make sure whether this FlashMessage is really a FlashMessage or if it is some mis-used occurrence.
Reference:
http://getbootstrap.com/components/#alerts
http://getbootstrap.com/components/#panels
In order to make Alerts dismissible alert.js from TWBS needs to be loaded into the BE.
Updated by Mathias Schreiber almost 10 years ago
- Category set to Backend User Interface
- Target version set to 7.0
- Estimated time set to 24.00 h
- Complexity set to easy
Updated by Mathias Schreiber almost 10 years ago
- Subject changed from Refactor FlashMessages to TWBS Alerts or TWBS Panels to Refactor FlashMessages to TWBS alternatives
Updated by Frank Nägler almost 10 years ago
- Tracker changed from Task to Story
- Translation missing: en.field_remaining_hours set to 0.0
Updated by Mathias Schreiber over 9 years ago
- Target version changed from 7.0 to 7.1 (Cleanup)