Rebasely Beta: data may be purged

exampleslive-notes Public

Save a snapshot of each note to R2 every 100 versions #2

Changed files

21 files changed470 additions41 deletionssince main at d21dfdd

View editing

1 component added, 1 changed, 1 connection added

  • Added
  • Changed
  • Removed

What takes part in an edit, from the browser to the room and back, and where the room keeps copies.

What this pull request changes in the view editing: 4 components, 3 connections note-room to ops (import)note-room to snapshots (r2): addedclient to ops (import)importr2importnote-room (changed)note-roomDurable Object · changedsnapshots (added)snapshotsR2 bucket · addedopsopsLibraryclientclientLibrary

The view editing at the head of this pull request, with what it adds, changes and removes from the merge base d21dfdd. Select a component for what changed in it.

ops

Insert and delete operations, their transform, and the messages on the socket. The same code runs in the room and in the browser.

Not changed by this pull request.

Takes part in An edit reaching other editors.

Changes

  • Changed: ~ view editing: description
  • Changed: ~ view editing: components +snapshots
  • Changed: ~ note-room: description; owns +src/snapshots.ts
  • Added: + component snapshots (r2-bucket)
  • Added: + edge note-room → snapshots (r2)

Knowledge base

Back to the conversation