Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sitewide alert module to GovCMS #853

Open
larowlan opened this issue Sep 15, 2023 · 3 comments
Open

Add sitewide alert module to GovCMS #853

larowlan opened this issue Sep 15, 2023 · 3 comments

Comments

@larowlan
Copy link

** What value does this module/package add to GovCMS?
It is a common requirement for sites to add sitewide alerts. E.g 'We are closed for Australia day' or similar

** Is the module Drupal 10 compatible?
Yep
** Please provide a brief outline of what this module does.
Provides a content entity and a JS library to display alerts across the site in various formats.

** Who does this module benefit:
[x] end users
[x] content editors
[x] site builders
[x] themers
[x] developers

** How could you provide/replicate the functionality of this module using alternative methods, eg in your theme?
You would have to create a node-type for the alerts and use something like an entity query or json api to find active alerts and then display them.

** If this module styles or alters HTML or JavaScript output, can the functionality be provided via the theme? What alternatives have you considered.

** What is the maintenance and support status of the module. Describe the issue queue activity.
Fairly decent, we've provided feature requests and they've responded proactively

** What permissions are needed to utilise the module (and are any new permissions provided by the module)?
It provides permissions to manage and permissions to display

** Does the module modify the database structure and/or store additional metadata on nodes or other entities? If so, why? What are the risks for future updates?
There's a custom entity type. It is self contained and would provide an update path for any changes.

** Is the module designed to capture anonymous user data?
no

** Is the output of the module typically fully cacheable? Would the inclusion of this module potentially render pages uncacheable.
yes, we've worked to maximise cacheability with other clients.

** What is your assessment of the quality of this module, the contribution history of the module's maintainers, and the uptake of the module within the Drupal community?
I'd recommend it, and I'm fairly picky

** Additional information

@larowlan larowlan added the enhancement New feature or request label Sep 15, 2023
@thisisalistairsaccount
Copy link

Module can be found at https://www.drupal.org/project/sitewide_alert

I know we've got some site owners using:

  • blocks where needed for this, but is quite manual
  • using content types and views to serve this material so its less hands on

I'm not sure if there's a broad need for this one, but for those in the community if you are interested, please let us know with a comment or a react to @larowlan 's post

@larowlan
Copy link
Author

Thanks, just to clarify, the main benefit of this module vs other approaches is the cacheability being a JS solution
You can cache pages for a long time even if there are periodic notifications with expiry dates

@dibs
Copy link

dibs commented Aug 22, 2024

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants