This is not designed to be all comprehensive. e.g. There's no admin UI, no role selection, no dismissal. Just a quick implementation of a static announcement banner.
Announcements are stored in datastore in an Announcements collection. Support for expiration dates is provided.
To add an announcement:
Go to the Google Cloud Datastore console
If an Announcements collection doesn't already exist, create one called 'Announcements'.
Create a document
Add three fields, 'title' of type string, 'description' of type string, and 'expires' of type timestamp.
Multiple announcements are supported. An admin can make an announcement go away by simply editing the expires field to be in the past.
This is not designed to be all comprehensive. e.g. There's no admin UI, no role selection, no dismissal. Just a quick implementation of a static announcement banner.
Announcements are stored in datastore in an Announcements collection. Support for expiration dates is provided.
To add an announcement:
Multiple announcements are supported. An admin can make an announcement go away by simply editing the expires field to be in the past.