mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-02-23 14:30:02 +00:00
Confetti Plugin: Use filtered actions to avoid having to click the "next" button
This commit is contained in:
parent
4caa89b286
commit
c55188f92f
7
plugins/tiddlywiki/tour/tour-filtered-action.tid
Normal file
7
plugins/tiddlywiki/tour/tour-filtered-action.tid
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
title: $:/plugins/tiddlywiki/tour/filtered-action
|
||||||
|
tags: $:/tags/FilteredActions
|
||||||
|
filter: [{$:/config/ShowTour}!is[blank]else[show]match[show]then[$:/state/tour/step]get[text]get[step-success-filter]] :map[subfilter<currentTiddler>] :filter[<currentTiddler>!match[]]
|
||||||
|
|
||||||
|
\import [[$:/plugins/tiddlywiki/tour/variables]]
|
||||||
|
<$action-sendmessage $message="tm-confetti-launch"/>
|
||||||
|
<<tour-next-step>>
|
@ -50,7 +50,6 @@ tags: $:/tags/PageTemplate
|
|||||||
<$let tour-task="">
|
<$let tour-task="">
|
||||||
<$transclude tiddler=<<currentTourStep>> mode="block"/>
|
<$transclude tiddler=<<currentTourStep>> mode="block"/>
|
||||||
</$let>
|
</$let>
|
||||||
<$confetti/>
|
|
||||||
<p>
|
<p>
|
||||||
Congratulations, you may proceed
|
Congratulations, you may proceed
|
||||||
</p>
|
</p>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user