mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-07 10:34:53 +00:00
f97b25676e
* 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
67 lines
2.0 KiB
Plaintext
67 lines
2.0 KiB
Plaintext
created: 20140912140651119
|
|
modified: 20220401151525812
|
|
saving-browser: Firefox Chrome Edge [[Internet Explorer]] Safari Opera
|
|
saving-os: Windows Mac Linux Android iOS
|
|
tags: [[Working with TiddlyWiki]]
|
|
title: Saving
|
|
type: text/vnd.tiddlywiki
|
|
|
|
|
|
\define alltagsfilter()
|
|
<$vars tag1="tag[" tag2="]" lb="[" rb="tag[Saving]sort[delivery]]">
|
|
<$set filter="[list<stateTiddler>addprefix<tag1>addsuffix<tag2>]+[join[]addprefix<lb>addsuffix<rb>]" name="alltags" select=0>
|
|
<$text text=<<alltags>>/>
|
|
</$set>
|
|
</$vars>
|
|
\end
|
|
|
|
\define saverssidebaritem(item:"Linux")
|
|
<$checkbox tiddler=<<qualify $:/temp/$item$>> field="status" checked="selected" checkactions=<<checkactions "$item$">> uncheckactions=<<uncheckactions "$item$">> default="closed"> $item$</$checkbox><br/>
|
|
\end
|
|
|
|
\define saverssidebaritemlist(fieldname:"os")
|
|
<$list filter="[enlist{!!$fieldname$}]" variable="currentItem">
|
|
<$macrocall $name="saverssidebaritem" item=<<currentItem>>/>
|
|
</$list>
|
|
\end
|
|
|
|
\define uncheckactions(item:"Linux")
|
|
<$action-listops $tiddler=<<stateTiddler>> $subfilter="-[[$item$]]"/>
|
|
\end
|
|
|
|
\define checkactions(item:"Linux")
|
|
<$action-listops $tiddler=<<stateTiddler>> $subfilter="[[$item$]]"/>
|
|
\end
|
|
<$vars stateTiddler=<<qualify "$:/state/gettingstarted">> >
|
|
|
|
Available methods for saving changes with TiddlyWiki:
|
|
|
|
<div class="tc-wrapper-flex">
|
|
<div class="tc-saving-sidebar">
|
|
<div class="tc-saving-sidebar-category">
|
|
<div class="tc-saving-sidebar-category-title">OS</div>
|
|
<div class="tc-saving-sidebar-category-item">
|
|
<<saverssidebaritemlist "saving-os">>
|
|
</div>
|
|
</div>
|
|
<div class="tc-saving-sidebar-category">
|
|
<div class="tc-saving-sidebar-category-title">Browser</div>
|
|
<div class="tc-saving-sidebar-category-item">
|
|
<<saverssidebaritemlist "saving-browser">>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- Page content -->
|
|
<div class="content">
|
|
<$wikify text=<<alltagsfilter>> name="alltagsfilterwikified">
|
|
<$list filter=<<alltagsfilterwikified>>>
|
|
{{||$:/_tw5.com-card-template}}
|
|
</$list>
|
|
</$wikify>
|
|
|
|
</div>
|
|
</div>
|
|
</$vars>
|