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

Push notifications #1629

Open
tusmester opened this issue Mar 11, 2022 · 0 comments
Open

Push notifications #1629

tusmester opened this issue Mar 11, 2022 · 0 comments
Labels

Comments

@tusmester
Copy link
Member

When something happens on the server, users with active clients (web browsers or mobile apps) may want to be notified immediately. Client apps may use these notifications to update the UI (e.g. a grid) or display notifications.

Considerations

Clients must be able to subscribe/unsubscribe from these events when necessary. For example navigating in admin UI can mean subscribing for the current folder and unsubscribing when navigating to a different folder.

This is an "ephemeral" feature, NOT a facebook-like permanent notification that has a history. If a client gets a notification but does not handle it, it is lost. Nothing is stored on the server side about these events.

Event types

Design an API that lets clients subscribe to various types of events:

By path

  • InFolder (for example used by admin ui to update the grid)

By content type

  • only users/groups
  • files/folders

By event type

  • created
  • modified
  • deleted
  • etc...

Special event types

  • membership changes
  • permission changes
  • ...?
@tusmester tusmester added the Epic label Mar 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant