mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 01:26:18 +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="">
|
||||
<$transclude tiddler=<<currentTourStep>> mode="block"/>
|
||||
</$let>
|
||||
<$confetti/>
|
||||
<p>
|
||||
Congratulations, you may proceed
|
||||
</p>
|
||||
|
Loading…
Reference in New Issue
Block a user