Meshan
Meshan4d ago

Timeline component for undo/redo/checkpoints

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);
const doc = timeline.forScope("doc:123");
await doc.push(ctx, { text: "Hello" });
await doc.undo(ctx);
GitHub
GitHub - MeshanKhosla/convex-timeline: A timeline component for Convex
A timeline component for Convex. Contribute to MeshanKhosla/convex-timeline development by creating an account on GitHub.
2 Replies
foxyyy
foxyyy3d ago
That's dope
sam
sam3d ago
Very cool. Thanks!🙏🏽

Did you find this page helpful?