MeshanM
Convex Community3mo ago
4 replies
Meshan

Timeline component for undo/redo/checkpoints

🖋️Component
Hi all, I created a
convex-timeline
component that allows for timeline operations. Currently the API supports pushing, undoing, redoing, and checkpointing data and there's definitely a future where manual branching, reconciliation, and time travel is possible. Let me know if you have any feedback! https://github.com/MeshanKhosla/convex-timeline

const doc = timeline.forScope("doc:123");
await doc.push(ctx, { text: "Hello" });
await doc.undo(ctx);
GitHub
A timeline component for Convex. Contribute to MeshanKhosla/convex-timeline development by creating an account on GitHub.
Was this page helpful?