1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +00:00

Make choice selections save to state tiddler (#6585)

* Make choice selections save to state tiddler

Currently choice selections save to current tiddler (Saving), which marks TW as needing to Save. This fixes that by saving the working list to a state tiddler.

* Change state tiddler to $:/state/gettingstarted
This commit is contained in:
Marxsal 2022-04-01 10:07:38 -07:00 committed by GitHub
parent e4b2698380
commit f97b25676e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,15 @@
created: 20140912140651119 created: 20140912140651119
list: modified: 20220401151525812
modified: 20200507203641230
saving-browser: Firefox Chrome Edge [[Internet Explorer]] Safari Opera saving-browser: Firefox Chrome Edge [[Internet Explorer]] Safari Opera
saving-os: Windows Mac Linux Android iOS saving-os: Windows Mac Linux Android iOS
tags: [[Working with TiddlyWiki]] tags: [[Working with TiddlyWiki]]
title: Saving title: Saving
type: text/vnd.tiddlywiki type: text/vnd.tiddlywiki
\define alltagsfilter() \define alltagsfilter()
<$vars tag1="tag[" tag2="]" lb="[" rb="tag[Saving]sort[delivery]]"> <$vars tag1="tag[" tag2="]" lb="[" rb="tag[Saving]sort[delivery]]">
<$set filter="[list[]addprefix<tag1>addsuffix<tag2>]+[join[]addprefix<lb>addsuffix<rb>]" name="alltags" select=0> <$set filter="[list<stateTiddler>addprefix<tag1>addsuffix<tag2>]+[join[]addprefix<lb>addsuffix<rb>]" name="alltags" select=0>
<$text text=<<alltags>>/> <$text text=<<alltags>>/>
</$set> </$set>
</$vars> </$vars>
@ -26,16 +26,13 @@ type: text/vnd.tiddlywiki
\end \end
\define uncheckactions(item:"Linux") \define uncheckactions(item:"Linux")
<$action-listops $subfilter="-[[$item$]]"/> <$action-listops $tiddler=<<stateTiddler>> $subfilter="-[[$item$]]"/>
\end \end
\define checkactions(item:"Linux") \define checkactions(item:"Linux")
<$action-listops $subfilter="[[$item$]]"/> <$action-listops $tiddler=<<stateTiddler>> $subfilter="[[$item$]]"/>
\end
\define uncheckactions(item:"Linux")
<$action-listops $subfilter="-[[$item$]]"/>
\end \end
<$vars stateTiddler=<<qualify "$:/state/gettingstarted">> >
Available methods for saving changes with TiddlyWiki: Available methods for saving changes with TiddlyWiki:
@ -66,3 +63,4 @@ Available methods for saving changes with TiddlyWiki:
</div> </div>
</div> </div>
</$vars>