Open Pomax opened 3 weeks ago
Currently it's a combination of manual fetch(`/history`) and fetch(`/rewind/somehashhere`, { method: `post`}), but this should be a graph of some sort that we can just click -> "rewind?" -> [yes] -> call the rewind URL.
fetch(`/history`)
fetch(`/rewind/somehashhere`, { method: `post`})
This is still meaningful test for an editor, as rewinds should not wreck the undo/redo history, each file should be able to recover from a rewind.
Currently it's a combination of manual
fetch(`/history`)
andfetch(`/rewind/somehashhere`, { method: `post`})
, but this should be a graph of some sort that we can just click -> "rewind?" -> [yes] -> call the rewind URL.