Local undo/redo/history in client
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6.5k
- Forks
- 456
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 5
Description
I got the sharedb client working with a codemirror instance, but I don’t see any tools or methods on the sharedb client to store and revert/reapply local changes. Current behavior in my app makes it so that pressing ctrl-z will undo ops sent from the server. Checking to see if anyone has implemented local undo or if I have to roll it myself? :)
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the ShareDB client API and the CodeMirror integration described in the issue. Determine how local history should distinguish locally generated edits from operations received from the server, and define completion as undo and redo affecting local changes without undoing server operations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100