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

Support parameterization of notification types #24

Open
cbosborn opened this issue Feb 13, 2022 · 0 comments
Open

Support parameterization of notification types #24

cbosborn opened this issue Feb 13, 2022 · 0 comments

Comments

@cbosborn
Copy link
Contributor

Developers should be able to pass a list of notification types to the Dialect NotificationCenter, to have them rendered on the Settings page.

It might also make sense to use a json schema specifying both the name of the notification, as well as a type. E.g.

[
  {
    "name": "Welcome message on thread creation",
    "type": "Event" 
  },
  {
    "name": "Price changes",
    "type": "Threshold"
  },
  {
    "name": "Deadline reminder",
    "type": "Threshold"
  },
  {
    "name": "Outbid events",
    "type": "Event"
  },
  ...
]

In the above, Event types are discrete event types such as account creation, placed orders, etc. Threshold types are the movement of a scalar past a threshold value.

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

No branches or pull requests

1 participant