graphprotocol / graphprotocol/hypergraph

Improve automerge sync

Open
#62 0 comments 0 reactions 1 assignee View on GitHub

@nikgraf is already working on this.

Since Dec 3, 2024.

Improved Sync
Dominant language
TypeScript
Stars
22
Forks
12
PR merge metrics
No merged PRs in 30d

Description

  • generate automergeId from spaceId
  • Store the latest server doc separate so that the latest changes can be determined
  • Calculate the diff changes and send them in the message instead of simply the latests change (this should also prevent sending an update after receiving it from a real time update)
  • Activate automerge-repo-indexeddb for storing the document locally - investigate how loadingDone needs to change

(ideally solved by integrating KeyHive)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.