1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-17 19:09:55 +00:00
TiddlyWiki5/plugins/tiddlywiki/tour/tours/introduction-to-tiddlywiki/steps/tags.tid
Saq Imtiaz a7d469ae99
Extends the tour plugin with a condition field (#7861)
* 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
2023-12-06 11:13:48 +00:00

27 lines
1.3 KiB
Plaintext

title: $:/plugins/tiddlywiki/tour/introduction-to-tiddlywiki/steps/tags
caption: Tagging tiddlers
tags: $:/tags/Tour/IntroductionToTiddlyWiki
display-mode: fullscreen
enter-actions: <$action-setfield $tiddler="$:/temp/Tour/DemoStoryList" list="$:/plugins/tiddlywiki/tour/introduction-to-tiddlywiki/tiddlers/Mars"/>
step-success-filter: [[$:/temp/Tour/DemoStoryList]contains[$:/plugins/tiddlywiki/tour/introduction-to-tiddlywiki/tiddlers/Saturn]]
Tiddlers may be categorised with one or more descriptive keywords or phrases called "tags". Tags can be used to search and navigate between tiddlers.
Click on the tag to display a dropdown menu. The menu is divided into two parts:
* At the top, there is a link to the tiddler with the same title as the tag. This is generally used to describe the tag or give an overview of its purpose
* Beneath the link to the tag, there a list of links to the other tiddlers with the same tag
<<tour-task "Use the tag dropdown to open the tiddler 'Saturn'">>
<$navigator story="$:/temp/Tour/DemoStoryList" history="$:/temp/Tour/DemoHistoryList" openLinkFromInsideRiver="below">
<$list
filter="[list[$:/temp/Tour/DemoStoryList]]"
history="$:/temp/Tour/DemoHistoryList"
template="$:/plugins/tiddlywiki/tour/simplified-tiddler-with-tags"
storyview="classic"
/>
</$navigator>