mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-18 11:29:55 +00:00
a7d469ae99
* feat: support condition field to determine whether a step should be shown * feat: add support for overriding the hint text using the field 'hint' from the step tiddler * fix: roll back tour display procedure for now until an override mechanism has been discussed * fix: renamed advance-criterion field and associated variables to step-success-filter * fix: renamed hint field to hint-text and selector to hint-selector * refactor: to create function to get all tour tiddlers filtered by their condition field * refactor: rename globals tiddlers to variables and avoid making any of the tour procedures global * fix: also rename globals.tid file to variables.tid * docs: cover all tour steps tiddler fields * fix: improve spacing in Tour HUD
18 lines
653 B
Plaintext
18 lines
653 B
Plaintext
title: $:/plugins/tiddlywiki/tour/start-tour-button
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/plugins/tiddlywiki/tour/tour-button-icon}} Start Tour
|
|
description: Start interactive training tour
|
|
|
|
\whitespace trim
|
|
\import [[$:/plugins/tiddlywiki/tour/variables]]
|
|
<$button tooltip="Start interactive training tour" aria-label="Start Tour" class=<<tv-config-toolbar-class>>>
|
|
<<tour-restart>>
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]" variable="listItem">
|
|
{{$:/plugins/tiddlywiki/tour/tour-button-icon}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text">
|
|
<$text text="Start Tour"/>
|
|
</span>
|
|
</$list>
|
|
</$button> |