Statuspal widget
Provides a widget with ongoing incidents from incident service StatusPal. The module uses the Statuspal summary endpoint, and will show a separate message for an incident, a maintainance and / or an upcoming maintainance.
The module provides two blocs that can be placed in your theme. One for the button element that toggles messages, if there are any, and one for the message container. Both blocks needs to be placed for it to work. The button shows a counter with number of ongoing incidents, and also wether the user has read them or not.
Data is stored in javascript sessionStorage.
Some basic styling is provided, but you would likely want to override this in your theme.
A setting for development mode is included, toggling this will replace the data from the service with included static test data, and the status of incidents will be set to unread.
Post-Installation
Configure the module at /admin/config/services/statuspal/widgetsettings with your endpoint URL, desired placement of your messages, and toggle development mode as you need.
Supported by
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-alpha5 | Pre-release | Aug 8, 2024 | ||
| 1.0.0-alpha4 | Pre-release | Feb 20, 2024 | ||
| 1.0.0-alpha3 | Pre-release | Jan 31, 2024 | ||
| 1.0.0-alpha2 | Pre-release | Jan 31, 2024 | ||
| 1.0.0-alpha1 | Pre-release | Jan 26, 2024 | ||
| 1.0.x-dev | Dev | Jan 17, 2024 |