Substitute for standard “Save As” button in sidebar
When clicked, opens a modal dialog for entering optional “ChangeLog” text
Use the [+] button (lower right corner) to automatically get a list of changed tiddlers (excluding system tiddlers)
Text is stored in $:/state/ChangeLog with datetime stamps using YY.MM.DD.hhmmss format
ChangeLog can be viewed/searched directly from modal SaveAs dialog
CTRL-click on SaveAs button to bypass modal dialog and perform standard TWCore save action
Also, if you define a global macro named <<reset_config>> (in a tiddler tagged with $:/tags/Macro), it is invoked just prior to saving the file (unless CTRL-click is used). This lets you automatically restore any changed settings you want, so those default “startup” settings will be saved in the file. See https://tiddlytools.com/#TiddlyTools%2FReset and https://tiddlytools.com/#TiddlyTools%2FPanels%2FReset for examples.
You’re welcome! I’ve been using TiddlyTools/SaveChanges for quite a while, and I find it invaluable for tracking changes and remembering what I’ve done… especially if a bug is found (!), and I need to backtrack through previous revisions to figure out when the bug was introduced.
Also, on https://TiddlyTools.com, in the “Welcome > Summary” tab, if you click on the “TiddlyTools was updated on …” text, it will display a popup view of the $:/state/ChangeLog, including controls to search, copy, or edit the change log contents.
I haven’t tested it with a node.js installation since I always use TiddlyWiki with the single-file “standalone” configuration. However, it’s my understanding that node.js installations use a different method of saving, so I wouldn’t expect tm-save-wiki to work there. Even so, all of the “change log” handling (i.e., getting log input and updating the $:/state/ChangeLog tiddler) should still work, since it occurs prior to sending the tm-save-wiki message.
The only way to know how it works with a node.js installation would be to try it and see what happens.