Confetti Plugin: Use filtered actions to avoid having to click the "next" button

This commit is contained in:
Jeremy Ruston 2024-02-22 17:19:28 +00:00
parent 4caa89b286
commit c55188f92f
2 changed files with 7 additions and 1 deletions

View 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>>

View File

@ -50,7 +50,6 @@ tags: $:/tags/PageTemplate
<$let tour-task="">
<$transclude tiddler=<<currentTourStep>> mode="block"/>
</$let>
<$confetti/>
<p>
Congratulations, you may proceed
</p>