Open zadigus opened 4 years ago
We don't implement newsletters, the news appear in the frontend application directly.
We reopen this in the context of hasura.
There is no problem making that kind of system work in Hasura with Incognito users using Hasura LiveQueries (graphql subscriptions + postgres live queries). In principle, it will be enough to create a News
table and write a subscription to that table with, say the last N news entries displayed and constantly updated with a subscription. We could also track which logged user has already read which notification. For incognito users, we may use something like cookies or Local Storage to store the already seen News.
La Budzonnerie (and, possibly, Softozor) will need to publish news on the frontend application to make Incognito and logged in Consumers aware of them. We should do that with push notifications.
@donnerc is it possible to make that work with users that are not logged in?
First, we implement those notifications with e-mails.