Repository navigation
Replies: 4 comments 2 replies
|
The proposal is in the first post. Nothing is scheduled, so this is a question rather than an announcement: would a per-file history be useful in your daily editing, and would you leave the switch on (the default) or turn it off? @Aleksanaa @HelloKolla2004 @JustSimpleUser52 @kem-a @mihierkansal @mk-pmb @pyluyten @sewnie @shadyabh @somepaulo @TomBous @WegDamit |
|
I am rather in the
In this context a clear `diff`` is the most important point to develop, even more than "restoring".
|
|
For me personally it is not needed. One or another way files are synced to the cloud which already have history tracking and recovery layers. |
|
Thanks pyluyten and kem-a. One would use it mostly to see what changed and restore only now and then, and one would not use it because the sync layer already keeps history. The diff goes first, then. Without one the window would only show copies, so it would open on a diff and Restore would be the secondary action. kem-a's case is also the one to weigh against the switch being on by default: if more people say their sync already covers it, the default moves. Nothing is scheduled. Two answers are not enough to settle the storage rules (how many versions, how many days, what happens to pasted images) or the privacy question of keeping plain copies of documents that may be encrypted or synced elsewhere. The thread stays open: a paragraph lost before a commit, a file restored from a sync service that dropped something, a diff you wished you could see. |
Uh oh!
There was an error while loading. Please reload this page.
Per-file version history
Scribe keeps a recovery copy for untitled drafts, but there is nothing for a saved file. A wrong overwrite or a lost paragraph in prose written over a week is unrecoverable, and that is the one accident a Markdown editor should never allow.
Proposal: a small history of the file, kept outside the document folder so a shared or synced directory does not fill with backup files.
~/.local/share/scribe/history/<hash of the path>/<timestamp>.md.Out of scope: history for whole folders, git integration, and any background service.
Open questions before writing code:
.mdis versioned, so restoring an old version that points toimages/foto.pngshows the current image. Is documenting that enough?~/.local/share/scribeeven when the document is in an encrypted or synced folder. Worth a line in Preferences?All reactions