Does ActionListopsWidget not support the $timestamp attribute?

59 views
Skip to first unread message

Hubert

unread,
Feb 27, 2020, 9:33:17 AM2/27/20
to TiddlyWiki
Hi All,

The documentation does not explicitly state that setting the timestamp attribute with $action-listops is supported, so I'm assuming it's not.

Would it then be possible to extend the ActionListopsWidget to also take the timestamp attribute, in a similar fashion as it's possible in the ActionSetFieldWidget and ActionCreateTiddlerWidget?

Thank you,
Hubert

TonyM

unread,
Feb 28, 2020, 6:17:03 PM2/28/20
to TiddlyWiki
Good idea;

In the meantime you could manipulate a copy and use $timestamp in ActionSetFieldWidget

Regards
Tony

Eric Shulman

unread,
Feb 28, 2020, 7:20:06 PM2/28/20
to TiddlyWiki
On Thursday, February 27, 2020 at 6:33:17 AM UTC-8, Hubert wrote:
The documentation does not explicitly state that setting the timestamp attribute with $action-listops is supported, so I'm assuming it's not.
Would it then be possible to extend the ActionListopsWidget to also take the timestamp attribute, in a similar fashion as it's possible in the ActionSetFieldWidget and ActionCreateTiddlerWidget?

While it might not be as succinct as having a timestamp attribute directly in the $action-listops widget, you can currently disable and then re-enable the $:/config/TimestampDisable value, like this:

<$button> Populate 'myfield'
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="yes"/>
<$action-listops $field="myfield" $subfilter="efg hlm pqr"/>
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="no"/>
</$button>

The result is that the action-listops widget is invoked without changing the timestamp of the tiddler being modified.

enjoy,
-e

Hubert

unread,
Feb 29, 2020, 6:20:21 AM2/29/20
to TiddlyWiki
Thank you both.

Temporarily setting $:/config/TimestampDisable to "yes" (and then deleting the tiddler) is the cleanest solution for my use case. Thank you for that, Eric.

As a side note, I could not locate $:/config/TimestampDisable in shadows (Advanced Search only shows this as part of the core) and on editing this tiddler, TW did produce the shadow tiddler warning. I could not find anything else in the TW documentation either. What's the "status" of $:/config/TimestampDisable? Is it yet another hidden setting?

Thank you again!

Regards,
Hubert

Jeremy Ruston

unread,
Feb 29, 2020, 6:52:34 AM2/29/20
to TiddlyWiki
Hi Hubert

The tiddler $:/config/TimestampDisable is not a shadow tiddler from the core plugin (see below), instead it is created when either of the associated UI buttons are clicked.

We use the term “hidden settings” for configuration options that don’t provide a user interface; in this case there is a user interface in the shape of the sidebar buttons.

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 view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0ae9ef70-c45f-4d98-b850-83f9dee4dbf6%40googlegroups.com.

Hubert

unread,
Feb 29, 2020, 7:08:30 AM2/29/20
to TiddlyWiki
Ah, I see that now. Thank you for the clarification, Jeremy!

Best regards,
Hubert
To unsubscribe from this group and stop receiving emails from it, send an email to tiddl...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages