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

Create a generic text / banner that dispatchers can fill from Dispatch and displays on the rider home page #426

Open
teesloane opened this issue Jan 9, 2025 · 2 comments
Assignees

Comments

@teesloane
Copy link
Contributor

teesloane commented Jan 9, 2025

Example use case:

  1. There is a last minute need for riders for a specific delivery
  2. A dispatcher goes into dispatch to set the banner
  3. The banner can have general html / links in it.
  4. The banner can expire after a certain point.

The Example use case that came up during our last meeting was the last minute milk delivery, which linked to an external spreadsheet.

@teesloane teesloane changed the title Create a generic text / banner that dispatchers can fill from Dispatch Create a generic text / banner that dispatchers can fill from Dispatch and displays on the rider home page Jan 9, 2025
@teesloane teesloane self-assigned this Jan 9, 2025
@teesloane
Copy link
Contributor Author

@mveytsman - I'm wondering how to take this on.

  • Is it a good idea to create a table just for storing a single banner message?
    • Perhaps if we have other banner messages that would be displayed around the application?
  • Or maybe it's something we store in gen-server state / ets?
  • Or is it something that we could shoe-horn into another table?

@mveytsman
Copy link
Member

Hmm @teesloane this is a good question

I think I'd make a table that had

  • message (in markdown?)
  • created_by
  • turn_on_at
  • turn_off_at

so we track who made the announcement and have them automatically stop displayingw hen they expire.

@mveytsman mveytsman assigned neal-bpm and unassigned teesloane Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

3 participants