{
"tiddlers": {
"$:/plugin/TWaddle/Foo/Bar": {
"title": "$:/plugin/TWaddle/Foo/Bar"
},
"$:/plugin/TWaddle/Foo/Frotz": {
"title": "$:/plugin/TWaddle/Foo/Frotz"
}
}
}
One specific tiddler that requires the full path is the "readme" for it to show as opened by default in the the plugin library. (BTW, I wish we could control what tab to open). Other than this one tiddler I know of no other aspects. Are there any?
On a related note; Peeking inside a plugin I observer that the json repeats the shadow titles twice: (Here scaled off to only show the title fields){
"tiddlers": {
"$:/plugin/TWaddle/Foo/Bar": {
"title": "$:/plugin/TWaddle/Foo/Bar"
Why is this?
Can this fact be used to somehow shorten the titles without negative consequences or must their mentions appear identical (which then again provokes why they're double to begin with)?
> (BTW, I wish we could control what tab to open).
The tiddler that is opened, is the first one in the plugin.info list-field. see: https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/text-slicer/plugin.info
The plugin tiddler is a container. The outer name is just like an "index" and is thrown away when plugins are initialized. .. Only the title field of the tiddler is used to create the shadow tiddler. [...] The outer name could be different in the future. It's just a coincident, that they are the same. That's why the plugin namespace is a convention to avoid naming conflicts.
Ok, so the plugin prefix is to prevent conflicts. That makes sense.> (BTW, I wish we could control what tab to open).The tiddler that is opened, is the first one in the plugin.info list-field. see: https://github.com/Jermolene/TiddlyWiki5/blob/master/plugins/tiddlywiki/text-slicer/plugin.infoActually not quite; it is exclusively "readme" that is opened by default. No other tab is presented open by default even if first in list. Instead the user sees a somewhat silly looking row of closed tabs (#1902)
Interesting and good to know. Seems like an under-used opportunity. Even if they are "thrown away", they're still there so maybe they could be interpreted as paths to all tiddlers in the plugin so that we could really title the shadow tiddlers with pretty names.
It's an implementation detail. The core code dealing with the json structure is simpler and may be more efficient this way. I would strongly recommend, to _not_ "mis-use" it.
Actually not quite; it is exclusively "readme" that is opened by default. No other tab is presented open by default even if first in list. Instead the user sees a somewhat silly looking row of closed tabs (#1902)Just cecked it. I use default TW core.
I also started including tiddlers outside this name but Ensured they have a reasonable chance of not colliding,
I include tiddlers in my own prefix $:/PSaT/ and then use a caption for pretty links in the side bar.
I have also created non $:/ tiddlers that transclude one of the installed tiddlers. eg "Columns Manager" containing $:/PSaT/Columns, I try to at least not use a tiddler name already existing in TiddlyWiiki.com or any other plugin I am aware of.
I agree with what you are saying. Perhaps we could find a method even provide a macro or addition to the search to assist.
For example my MyMenus plugin has a system tiddler for managing menus, it would be nice if on an installed wiki we could type mymenus or mym in the search and see "mymenus manager" as a result and on clicking opens the system tiddler. There would then be no risk of a colision but still permit user friendly names.
Perhaps allowing captions to be searched by default returning captions as if they were tiddlers.
But then $:/psat/mymenusManager looks ugly once its open. Perhaps a special field in system tiddlers could allow a caption like field display instead of the true tiddler title with the true title in the subtitle. In effect allowing system tiddlers to apear to be regular tiddlers.
By removing these limitations people will be happy to use unique prefixes.
I would also like to see a self serve registry.
Regards
Tony
How important is it to use the full plugin title, say $:/plugin/TWaddle/Foo , as prefix for the constituing shadow tids?
I ask because this makes for very long titles on shadow tids that are both difficult to read and error prone to type when referred to inside the plugin.
One specific tiddler that requires the full path is the "readme" for it to show as opened by default in the the plugin library. (BTW, I wish we could control what tab to open). Other than this one tiddler I know of no other aspects. Are there any?
On a related note; Peeking inside a plugin I observer that the json repeats the shadow titles twice: (Here scaled off to only show the title fields){
"tiddlers": {
"$:/plugin/TWaddle/Foo/Bar": {
"title": "$:/plugin/TWaddle/Foo/Bar"
},
"$:/plugin/TWaddle/Foo/Frotz": {
"title": "$:/plugin/TWaddle/Foo/Frotz"
}
}
}Why is this?
[
{
"title": "$:/plugin/TWaddle/Foo/Bar"
},
{
"title": "$:/plugin/TWaddle/Foo/Frotz"
}
]Can this fact be used to somehow shorten the titles without negative consequences or must their mentions appear identical (which then again provokes why they're double to begin with)?
--<:-)
You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywikide...@googlegroups.com.
To post to this group, send email to tiddly...@googlegroups.com.
Visit this group at https://groups.google.com/group/tiddlywikidev.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/3b7d929e-d5e8-4780-9154-cdfe9d07465e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.