Modified Shadow Tiddlers in Timeline

77 views
Skip to first unread message

Mark Kerrigan

unread,
Jan 23, 2020, 2:04:17 PM1/23/20
to TiddlyWiki
Hello

I use the following to create a tiddler of all modified shadow tiddlers.

<<list-links filter:"[is[tiddler]is[shadow]sort[title]]">>

But I would also like to be able to generate a timeline that only includes these tiddlers. But if I use the same filter syntax in the timeline macro I get nothing.

<<timeline limit:30 subfilter:"[is[tiddler]is[shadow]sort[title]]" format:"DD MMM YYYY">>

Anyone have a way to lead me in the right direction?

Thanks
Mark Kerrigan

Joshua Fontany

unread,
Jan 23, 2020, 10:36:40 PM1/23/20
to TiddlyWiki
Hi!

1) It is a "subfilter" so does not need the wrapping `[]`. Note, this will cause slightly different behavior based on how the <<timeline>> macro uses the subfilter. The effect seems to be that all system tiddlers (starting with $:/) are removed before rendering with <<timeline>>.

2) From the `is[]` operator docs:

And when is[shadow] comes first, it outputs only those shadow tiddlers that have been overridden. This is because the initial input to a run contains only non-shadow tiddlers. The all operator is similar, but its scope is the whole wiki.


so all you need is: `is[shadow]sort[title]`

Best,
Joshua F

Mark Kerrigan

unread,
Feb 1, 2020, 5:59:49 PM2/1/20
to TiddlyWiki
Thanks, but it still doesn't seem to work. I'm using the following syntax

<<timeline subfilter:"is[shadow]sort[title]" format:"DD MMM YYYY">>

- Mark Kerrigan

Mat

unread,
Feb 1, 2020, 6:12:22 PM2/1/20
to TiddlyWiki
Mark Kerrigan wrote:
Thanks, but it still doesn't seem to work. I'm using the following syntax

<<timeline subfilter:"is[shadow]sort[title]" format:"DD MMM YYYY">>

It is not clear what "it doesn't work" means but if you test this on tiddlywiki.com , you can see that it does work there (one single tiddler as filter output) - i.e it does work. So if you mean that you, for example, get no result showing then this might mean that you don't have any tiddlers qualifying.

<:-)

Mark Kerrigan

unread,
Feb 1, 2020, 7:11:57 PM2/1/20
to TiddlyWiki
Yes I also did that but it should list more than only the GettingStarted tiddler. Further more I don't think it's an issue with the filter syntax because if I use the same filter syntax with the listwidget, I get a big blob of all the relevant tiddlers I'm interested. (see below)

<$list filter="[is[shadow]!sort[title]]">

After trying a variety of approaches, I ended up back on using list-links macro as follows:

<<list-links filter:"[is[shadow]!sort[modified]]">>

This has the advantage of sorting the list by the date modified, but it doesn't show the date and group which tiddlers were modified when like the timeline macro does. Perhaps there is a different approach.

- Mark Kerrigan

Mark S.

unread,
Feb 1, 2020, 7:38:49 PM2/1/20
to TiddlyWiki
Try

<<timeline subfilter:"all[shadows]is[tiddler]sort[title]" format:"DD MMM YYYY">>
Reply all
Reply to author
Forward
0 new messages