-
-
Notifications
You must be signed in to change notification settings - Fork 710
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
Grain events #1629
Comments
Relates to synchrone/sandstorm-radicale#14 |
Seems reasonable. Note that there's a funny property of grain titles right now in that each person to whom the grain is shared can potentially set their own title which only they see. See #1087. So this is kind of unexpectedly complicated. |
Hm, it might be that app misses such an event. It would be great if server-side could ask Sandstorm for current state if it feels it is behind. Furthermore, I think it would be better if events would go to the server-side, not client-side. Client-side is still not trusted. |
Currently the only way an app can "ask" about anything is via Server-side communication is currently harder to handle. App devs need to use captn-proto bindings to their language, or engage in This whole grain communication kind of needs to be rethinked, cause currently it feels we're trying to re-purpose a mechanism not intended for doing this. |
At least for Meteor apps: maybe Meteor app could just create a server-side DDP connection to some Sandstorm endpoint and get those events? |
Hi all, Another way to think about this is that the |
Sometimes apps would like to get notified about user actions done in sandstorm.
For example, user changing the grain name.
I would like to propose a way for web apps in grains to register for updates:
and then get notified when the user changes it:
The same mechanism can be used to have the apps subscribe for other user-generated web events, like: app permissions changed, access token revoked, user name changed, grain list collapsed, etc.
The text was updated successfully, but these errors were encountered: