Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

root buttons compatibility for shadow tiddlers #30

Closed
bepuzzled opened this issue Jul 21, 2021 · 0 comments
Closed

root buttons compatibility for shadow tiddlers #30

bepuzzled opened this issue Jul 21, 2021 · 0 comments

Comments

@bepuzzled
Copy link

Hi Saq, as requested.

The filter expression for root buttons in $:/plugins/sq/streams/nodes-list-template is as follows:

<$list filter="[tag[$:/tags/streams/root-buttons]]" variable="btnTiddler">
	<div class="stream-node-handle">
		<$transclude tiddler=<<btnTiddler>>/>
	</div>
</$list>

The current filter expression prevents tiddlers with the correct $:/tags/streams/root-buttons tag to be displayed if they are bundled inside plugins (shadow tiddlers).

Recommend the filter expression be changed as follows:

<$list filter="[all[shadows+tiddlers]tag[$:/tags/streams/root-buttons]]" variable="btnTiddler">
	<div class="stream-node-handle">
		<$transclude tiddler=<<btnTiddler>>/>
	</div>
</$list>

Reference discussion: https://groups.google.com/g/tiddlywiki/c/-xTFWPwzq6g

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant