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

Enable offline-first workflow in demos (for Tiptap) #29

Open
anilgulecha opened this issue Jun 27, 2020 · 0 comments
Open

Enable offline-first workflow in demos (for Tiptap) #29

anilgulecha opened this issue Jun 27, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@anilgulecha
Copy link

This is an issue to track this feature. I'd like to see how N clients can work offline, make different changes, and then come online and have all changes be synced. (I'm using tiptap)

Specifically offline-first browser applications are closed/opened - which means my local changes have to survive a tab refresh. (Currently changes don't survive a tab refresh when offline.)

Solution

  1. Have tiptap sync changes sycned/persisted (y-indexeddb) - always on.
  2. Have tiptap sync changes synced to the demos y-websocket server (wss://demos.yjs.dev) - when available

With this N clients should be totally fine offline, and have their changes synced when online. I'm working with @Mansehej to build a PR for this.

Screenshot from 2020-06-27 12-05-15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants