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

Add events #38

Open
YanickSchraner opened this issue Apr 21, 2019 · 2 comments
Open

Add events #38

YanickSchraner opened this issue Apr 21, 2019 · 2 comments

Comments

@YanickSchraner
Copy link
Member

We want to introduce a new events issue.
The goal of this issue is, that we can notify the user if new interesting events happened.
This can be if a user got mentioned in a comment, his content got rejected, new content has to be translated into his translator language, new content has to be reviewed, etc.
For this use case, we want to add a new event table which stores a link to the affected component, links the event to the correct users, stores the event type and status (open, resolved).
We want to use subscriptions from the UI side if possible, to seamlessly update the web app.

@dafrie
Copy link
Member

dafrie commented May 22, 2019

With subscriptions the GraphQL spec is meant, which is typically via Websockets.

See here (Client Side): https://www.apollographql.com/docs/react/advanced/subscriptions
For Django/Graphene, I guess we have to use another module such as: https://github.com/eamigo86/graphene-django-subscriptions

@worxli
Copy link
Contributor

worxli commented Jul 28, 2019

Use hasura.

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

3 participants