Story to defaultTiddlers (Pull Request?)

96 views
Skip to first unread message

Jan

unread,
Apr 24, 2018, 5:06:17 PM4/24/18
to TiddlyWiki
Hello,
I made  a tiny button which inserts the Tiddlers of the storylist into the defaultTiddlers-Field.

<$set name="myStory" filter="[list[$:/StoryList]!tag[excludeStory]]">
<$button>{{$:/core/images/save-button}} Story to Default
<$action-setfield $tiddler="$:/DefaultTiddlers" $value=<<myStory>>/>
</$button>
</$set>

I think this is very practical because you may not want to have dynamic defaultTiddlers all the time but consolidate a special moment.
Because there is enough space in the

$:/core/ui/ControlPanel/Basics

below the defaultTiddlers-Field I would like to put it there.

And I would call the other button which sets the field to storyList Dynamic Default Tiddlers.

Does anyone else think this might be practical.


Best wishes Jan

PMario

unread,
Apr 25, 2018, 4:59:23 AM4/25/18
to tiddl...@googlegroups.com
Hi,

I do like the idea, but this proposal, as it is, is "plugin-territory"!



On Tuesday, April 24, 2018 at 11:06:17 PM UTC+2, Jan wrote:
<$set name="myStory" filter="[list[$:/StoryList]!tag[excludeStory]]">


For me the problem is: excludeStory tag.

We had a lot of problems with TiddlyWikiClassic and all the different "excludeXXX" tags. ... because in the end you need to tag the "excludeXXX" tag tiddler with "excludeFromLists" ... and so on.

The second problem with this tag is, that if I do import your "excludeStory" tagged tiddler to my TW, I may expect it to be gone, because I may want, that it is part of the defaultTiddlers .. and so on ... and so on.

So for me this is a real "show stopper" for the core.

just my 2 cents.
-m

Jan

unread,
Apr 25, 2018, 7:35:12 PM4/25/18
to tiddl...@googlegroups.com
Hi Mario,
Thanks for your answer.
i would not mind having simply "[list[$:/StoryList]]"  as a filter to set the default Tiddlers.  After all you can still control them manually afterwards.

What do you mean by writing: That is plugin-territory. The Problem is that a plugin would have to change a core ControlPanel.

Greetings Jan
--
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To post to this group, send email to tiddl...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/65c58e28-d809-4079-bc6d-35902dc4a012%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

TonyM

unread,
Apr 25, 2018, 10:39:02 PM4/25/18
to TiddlyWiki
Jan,

There is a way to get what you are after using a different workflow.

Open or have open all the tiddlers you want to reopen.

Use the Toolbar More > Permaview
You can simply book mark this to return to the same open set of tiddlers.

Or you can
No Go to the browser address bar and copy the whole thing

Eg:


Or perhaps you can 

Paste it into your home page with pretty link

Click on this to open in a new tab.

I am sure the is a way to get this to open in the current tab from a WikiLink.

Regards
Tony

PMario

unread,
Apr 26, 2018, 4:37:53 AM4/26/18
to TiddlyWiki
On Thursday, April 26, 2018 at 1:35:12 AM UTC+2, Jan wrote:
i would not mind having simply "[list[$:/StoryList]]"  as a filter to set the default Tiddlers.  After all you can still control them manually afterwards.

That would be an option. 

----------------

For some of my TWs I use [tag[default]]  in the defaultTiddlers. So whenever I think a tiddler should show up at the next start I tag it default.

--------------

I think a button, that "hardcodes" a special set of tiddlers is not really convenient. I would like to have a functionality, that is able to do what you suggested in a more flexible way.

I would like, if the existing "retain story ordering" button would show a list of different possibilities. ... Including yours.
I'm thinking about a selector similar to the "filtered search" dropdown, but with more information for new users.

have fun!
mario

Jed Carty

unread,
Apr 26, 2018, 5:21:09 AM4/26/18
to TiddlyWiki
I made a quick test of using tiddlywiki as an ebook viewer than does some similar things to what your button does.


It isn't really laid out well but it has macros that set the story list to a list of tiddlers in order based on the book definitions. You could probably pull out pieces of it to make a more flexible version of the button.
Reply all
Reply to author
Forward
0 new messages