Show Unsaved Changes

114 views
Skip to first unread message

Berne Campbell

unread,
Sep 24, 2017, 2:18:29 AM9/24/17
to TiddlyWiki
Hello,

Is there a way to list unsaved changes? To show a list of tiddlers that are new or have been modified? Can you show the diff of the modified tiddlers?

I am using the latest TiddlyWiki version. I have tried googling, searching this group, and looking through the settings but wasn't able to find a way.

Thanks,
Berne


Jed Carty

unread,
Sep 24, 2017, 3:04:44 AM9/24/17
to TiddlyWiki
Tiddlywiki doesn't save incremental changes so there isn't a way to show a diff for modifications. 

If you want to see modified tiddlers than any tiddler changed has it's modified field updated with the current timestamp so you can see modified tiddlers from the past day, sorted newest to oldest like this:

<$list filter='[has[modified]!sort[modified]days[-1]]'>
<$link><$view field='title'/></$link> - Modified on <$view field='modified' format='date'/><br>
</$list>



where you change days[-1] to some other number to extend how far into the past you want.

Jed Carty

unread,
Sep 24, 2017, 3:05:44 AM9/24/17
to TiddlyWiki
I don't think there is any way to see changes since the last save either. I am pretty sure that the wiki just tracks if there has been any modification since the last save, not where it was.

Jeremy Ruston

unread,
Sep 24, 2017, 5:07:48 PM9/24/17
to tiddl...@googlegroups.com
Hi Berne

The “haschanged” filter operator returns tiddlers that have been changed since the last save. You can try it out by typing [haschanged[]] in the advanced search “Filter” tab.


Best wishes

Jeremy
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/948c926e-baf6-43eb-a916-4be2664939e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages