Diego,
Yes, I have a touch-date as well. I have already built one with this
method, in this case and like the read date, it does not update the
modified (and of course created) timestamp. this means the modified date
remains meaning as it should, the last time it was modified.
This is one reason I would like to see free access to custom buttons that
do a time stamp because if not available people start using created and
modified for other purposes, when being able to maintain valid created and
modified is important.
Also as I stated previously one of the easiest ways to deal with periodic
tiddlers such as say weekly, is each time you action it stamp the
weekly-date with now, and have you list use the weekly date to see items
older than 7 days.
Thanks for sharing your uses.
TW Tones
On Wednesday, June 24, 2020 at 3:50:14 AM UTC+10, Diego Mesa wrote:
>
> Tony,
>
> As I read a lot of academic papers that have tiddlers, I have implemented
> a "touched" button on my tiddlers tagged with "paper". When I click that
> button, it does as you describe - update the touched field. Then, I
> frequently sort by "touched", as a way for me to see when papers keep
> bubbling up on my list!
>
> On Monday, June 22, 2020 at 11:38:44 PM UTC-5, TW Tones wrote:
>>
>> Folks,
>>
>> Introducing the *Autonomous field*
>>
>> I love tiddlywiki and discovered another really nice code pattern and
>> thought I would share,
>> This is something I plan to use in a blog I am building
>>
>> This is what I call an Autonomous field, there is a single tiddler in the
>> attached file read-date.json
>>
>> - Autonomous means works on its own.
>> - This tiddler is a button, a field definition, a view template and
>> configurable tiddler all in one.
>> - This particular example places a button on all tiddlers that match
>> its internal display-filter
>> - If the field does not exist on any tiddler on which it is displayed
>> a click will add the field with a time stamp of now
>> - This shows how you can timestamp a date on a field to indicate you
>> have read it
>> - You could make the button disappear, but I leave it there so you
>> can stamp it "read" again.
>> - Using fields can keep you tags free for ad-hoc relationships.
>>
>> For those interested here is the code
>>
>>
>> title: read-date
>> display-filter: [all[current]!is[system]]
>> display-tags: $:/tags/ViewToolbar
>> field-format: [UTC]YYYY0MM0DD0hh0mm0ss0XXX
>> icon: $:/core/images/timestamp-on
>> tags: $:/tags/ViewToolbar
>> tooltip: Re-Stamp a read now (read-date)
>> tooltip-off: Stamp a read now (read-date)
>>
>>
>> <$list filter={{read-date!!display-filter}} variable=nul>
>> <$wikify name=read-date text="""<$macrocall $name=now
>> format={{read-date!!field-format}}/>""">
>> <$list filter="[all[current]!has[read-date]]" variable=nul>
>> <$button class="tc-btn-invisible" tooltip={{read-date!!tooltip-off}}
>> >
>> {{$:/core/images/timestamp-off}}
>> <$action-setfield $field=read-date $value=<<read-date>> />
>> </$button>
>> </$list>
>> <$list filter="[all[current]has[read-date]]" variable=nul>
>> <$button class="tc-btn-invisible" tooltip={{read-date!!tooltip}} >
>> {{$:/core/images/timestamp-on}}
>> <$action-setfield $field=read-date $value=<<read-date>>
>> $timestamp=no />
>> </$button>
>> </$list>
>> <!-- Using read-date
>> tag with a tag named in {{read-date!!display-tags}}
>> set a display filter for when to show this autonomous field
>> Set the field format to use, in this case a data field.
>> Change the ions used for the button states above
>> Set the tool tip for on and Off buttons
>> -->
>> </$wikify>
>> </$list>
>>
>> All I need to do;
>>
>> - is fix its text when behind the more button.
>>
>>
>> I would love to hear what you think, and how we could take this further.
>>
>>
>> - This method could include macros
>> - If we could identify we are looking at the tiddler itself and not
>> in the toolbar, we could list tiddlers with this field and in date order
>> etc...
>> - I have just not researched this yet.
>>
>> Questions!
>>
>> - What other fields can you imagine world work here?
>> - What macro would you like?
>>
>>
>> Regards
>> TW Tones
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/73c5db8c-195f-440a-a216-f36110d60415o%40googlegroups.com.