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

[concept: Events] Create events to broadcast to site users #5

Open
4 tasks
sreecodeslayer opened this issue Jul 17, 2021 · 0 comments
Open
4 tasks

Comments

@sreecodeslayer
Copy link
Contributor

sreecodeslayer commented Jul 17, 2021

Each site can accept events from Nudge. An event can be considered as a message or a promotional campaign which the site maintainer wants to publish to its users. To do this, we will broadcast the event via the connected site channel.

An event can have the following properties:

  • kind: for now this will be "banner" at top. we will support more types in future
  • title: emphasized word
  • body: string (or html?)
  • cta: a button link to which users should be redirected on click
  • start_datetime: utc
  • end_datetime: utc
  • belongs_to Site
  • respect_dnd: boolean [if enabled, we won't show event to user]

Sub tasks

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

No branches or pull requests

1 participant