allcleardev / allclear-app

AllClear, an open source app for covid-19 status reporting, tracking and locating testing sites.
GNU Affero General Public License v3.0
6 stars 0 forks source link

alerts digest generation #330

Open boriskozak opened 4 years ago

boriskozak commented 4 years ago

NOTE: we do not have a place to land a user in the app if they were to click a link in an sms. however, much of the alert digest generation back-end can be completed today.

as an allclear pwa user, i want to be notified via sms whenever a new test location comes online in my area.

the following is only meant to serve as a representation of what a solution could look like -- the outcome is all that matters:

set alerts baseline: for each user, store the set of matches and relaxed matches for which they are a fit as of an exact timestamp 't'

perform diff and send as alerts: for each user, store the set of matches and relaxed matches for which they are a fit as of an exact timestamp 't' + 24 hours and where the matches are not in the baseline set

update alerts baseline: for each user, store the set of matches and relaxed matches for which they are a fit as of an exact timestamp 't' + 24 hours

acceptance criteria:

Is it easy to permit a user to unsubscribe by responding to the message with "unsubscribe"?

Aha! Link: https://ilico.aha.io/features/ALLCLEAR-248

boriskozak commented 4 years ago

Comment added by michael brown in Aha! - View

@Joseph Sangiorgio @Brian Parrish Help ID prerequisites for this