I got dizzy from too much repetitive tiddler management and I made a mistake. Somehow my attention got distracted for a moment and instead of cloning a tiddler, making changes and saving the clone under another name as new tiddler, I edited an existing tiddler and saved it under new name. The original tiddler is effectively gone.
To fix it, I had to:
- Get a backup
- Decrypt the backup
- Find the single TiddlyWiki file
- Open it
- Find the original tiddler
- Export it
- Import it into the current working wiki
I did not think much about optimization, yet I’m asking here just in case, if there’s an easier, less time consuming way (reverting the change from the backup + writing this post took almost a whole pomodoro). Obviously, as the title states, using TiddlyWiki NodeJS is not an option, albeit having a file per each tiddler makes at least version control a tad simpler, especially if tiddler encryption is not involved.
Ideally, TiddlyWiki could have something like a Trash bin to keep a few of the most recent copies of tiddlers that were modified and saved, or deleted. Then user could just grab the previous version or restore the accidentally deleted tiddler straight from there. With TiddlyWiki clients configured for automatic save, I believe a save happens every time a tiddler in edit mode is saved or when a tiddler is deleted, so there’s just those two places to hook into for saving the copy that gets overwritten or deleted?
I’d really like to have this feature in vanilla wiki (unless it’s already there and I did not find it yet), to avoid adding yet another plugin or rely on additional third party wikitext code snippet to be able to do this.