1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-16 23:04:50 +00:00
TiddlyWiki5/plugins/tiddlywiki/text-slicer/ui/preview-column.tid
Jermolene 0769b90bb7 Text-slicer: Control preview column with dropdown
Instead of showing a sequence of all documents in the preview column,
we just show a single document, with a dropdown to choose which one is
shown.

The change makes it easier to deal with large numbers of documents.
2015-11-05 12:33:21 +00:00

13 lines
556 B
Plaintext

title: $:/plugins/tiddlywiki/text-slicer/ui/preview-column
tags: $:/tags/AboveStory
<$scrollable fallthrough="no" class="tc-document-preview-column">
<$list filter="[toc-type[document]!has[draft.of]sort[title]limit[1]]" emptyMessage={{$:/plugins/tiddlywiki/text-slicer/ui/preview-column/empty}}>
<$list filter="[toc-type[document]!has[draft.of]sort[title]butfirst[1]limit[1]]" emptyMessage={{$:/plugins/tiddlywiki/text-slicer/ui/preview-column/single}} template="$:/plugins/tiddlywiki/text-slicer/ui/preview-column/multiple"/>
</$list>
</$scrollable>