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

Feature: Announcement bar (for holidays, emergencies, etc.) #2326

Open
1 task
fancyham opened this issue Jan 17, 2025 · 5 comments
Open
1 task

Feature: Announcement bar (for holidays, emergencies, etc.) #2326

fancyham opened this issue Jan 17, 2025 · 5 comments
Labels
P-Feature: Landing Page Food seeker landing page Priority - Med Needs to be in the next release Question Further information is requested Ready for dev lead Issue ready for dev lead to review Release Note: Enhancement Shows on Release Notes under "Enhancements" Role: Front-end Front End Developer size: 3pt The lift to complete this user story 4-8hrs

Comments

@fancyham
Copy link
Collaborator

fancyham commented Jan 17, 2025

Context

Sometimes, we need to display an announcement to all visitors.
This would typically happen around holidays, but might also be used for emergencies.

Examples

  • ⚠️Due to fires, some information may be out-of-date
  • 🎁Holiday hours may be different from usual. Please contact organizations for their specific holiday schedule.
  • ⚠️If you have been affected by the fires, please also visit someurlat.la.gov for more information.

Other sites have a dismissible announcement dialog or bar or other notification for these situations, so we are doing something similar.

How is it now?

The LA Palisades fires just happened, so we've hard-coded an announcement into the header, but it's clumsy and doesn't great. It is also very limited in text length.

So we want to build something that's more robust, user-friendly, and can handle more text.

Proposed new feature

Using the existing Material Design dialog style (does such a style exist? if not, what's a good replacement?), we want to display a notification bar across the top when the user first visits the site, no matter what screen they enter on. This should only appear on the public site, not on the private part of the site (i.e. behind the log-in screen)

Image

How it works:

  • Notification bar appears at the top of the user's first screen (including deep links, for example to an org's listing scren). This bar appears once per-session. New sessions will see the bar again.
  • Notification bar does not appear on the volunteer portion of the site (deep linking into the volunteer portion should also not display this dialog)
  • Once dismissed, it doesn't appear again until the user starts a new session
  • User needs to tap/Click OK (or a X dismiss button) to dismiss the notification
  • Admin control panel to edit the announcement text
  • Announcement text can have emojis, HTML links, styling that should show up correctly as the dialog text (let us know if that's not possible) This could be done using Markdown or by entering actual HTML code (Markdown would be ideal)
  • Settings are per-tenant (e.g. LA might have an announcement active but Hawaii does not)

Control panel
Image

Stretch goal:

  • Scheduled announcements with start and/or end date. Announcement displays based on the server's date/time, if possible.
  • Can set color of announcement

Image

Action items

  • Developers: Is this design possible? how difficult? if not possible, what do you suggest? If necessary, we can revise design to something that is.

Discussion

We originally designed this as a pop-up modal dialog, but so many people automatically dismiss/close those without reading that we wanted something that was unobtrusive but sticks around until you actually read it.

@github-project-automation github-project-automation bot moved this to New Issue Approval in P: FOLA: Project Board Jan 17, 2025
@fancyham fancyham added Role: Front-end Front End Developer Ready for dev lead Issue ready for dev lead to review labels Jan 17, 2025
@fancyham fancyham added this to the 08. New feature Development milestone Jan 17, 2025
@fancyham fancyham moved this from New Issue Approval to Prioritized Backlog in P: FOLA: Project Board Jan 17, 2025
@entrotech entrotech added size: 3pt The lift to complete this user story 4-8hrs Priority - Med Needs to be in the next release P-Feature: Landing Page Food seeker landing page Release Note: Enhancement Shows on Release Notes under "Enhancements" labels Jan 21, 2025
@fancyham fancyham removed the Ready for dev lead Issue ready for dev lead to review label Jan 23, 2025
@fancyham
Copy link
Collaborator Author

We’re looking at switching this from a dialog, which feels like a blocker (per discussion with @ihorng and @jelenaUX), to a notification bar at top:

Image

@SAUMILDHANKAR
Copy link
Member

We are planning to break down this issue into multiple smaller issues which will be tracked in this issue on top.

@SAUMILDHANKAR
Copy link
Member

Moving this to icebox with a note to check back this issue once all the sub issues are done.

@SAUMILDHANKAR SAUMILDHANKAR moved this from Prioritized Backlog to Icebox in P: FOLA: Project Board Feb 7, 2025
@SAUMILDHANKAR SAUMILDHANKAR removed their assignment Feb 7, 2025
@fancyham fancyham added the Ready for dev lead Issue ready for dev lead to review label Feb 19, 2025
@fancyham fancyham moved this from Icebox to Prioritized Backlog in P: FOLA: Project Board Feb 19, 2025
@fancyham
Copy link
Collaborator Author

Moved this back to prioritized backlog — needs questions answered by dev — is this new design something we can do (relatively easily)?

@fancyham fancyham added the Question Further information is requested label Feb 19, 2025
@fancyham fancyham changed the title Feature: Announcement dialog (for holidays, emergencies, etc.) Feature: Announcement bar (for holidays, emergencies, etc.) Feb 19, 2025
@SAUMILDHANKAR
Copy link
Member

Moved this back to prioritized backlog — needs questions answered by dev — is this new design something we can do (relatively easily)?

@fancyham The front end design looks straightforward. I am working on adding a database table and connecting that to admin portal in my local environment. This might take sometime. My issue is a sub issue of this feature. Thanks.

@fancyham fancyham moved this from Prioritized Backlog to Questions / In Review in P: FOLA: Project Board Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-Feature: Landing Page Food seeker landing page Priority - Med Needs to be in the next release Question Further information is requested Ready for dev lead Issue ready for dev lead to review Release Note: Enhancement Shows on Release Notes under "Enhancements" Role: Front-end Front End Developer size: 3pt The lift to complete this user story 4-8hrs
Projects
Status: Questions / In Review
Development

No branches or pull requests

3 participants