On Thursday, September 6, 2018 at 1:27:48 PM UTC+2, @TiddlyTweeter wrote:
>
> PMario ..
>> I'll check if the "bundler-plugin" can include an import-mechanism that 
>> allows us to import state-tiddlers. 
>
>
> I noticed you can bundle "$:/state..." tiddlers in a JSON but TW won't 
> import them. 
>

The plugin import mechanism basically uses the core functions. So I didn't 
have to overwrite and especially TEST them ;) 

Importing everything, like _outdated_ plugins, it's possible to create 
bundles, that can completely mess up your TW. 

 - In the best case like $:/state/* tiddlers, they can mess up your UI 
settings. 
 - In the *worst case* ... old and/or broken plugins can totally mess up 
your TW ... That's why they are completely removed from the import tiddler

Once they are removed you still can "re-enable" the checkbox in the UI ... 
BUT ... They won't be imported, because the are already gone. ... For 
plugins, that's a feature. 

The same mechanism is used for $:/state tiddlers. ... So re-enabling them 
doesn't work, with the core-import mechanism. 
 

> Enabling import of them could be good in some situations. For example I 
> have a tool that I use a lot to calculate aspect ratios and other 
> conversions. Though the state tiddlers change according to user input, on 
> "first--time--run" I use them for initial values which I'd like to be able 
> to transport rather than have to redo 60.
>

Yea ... That's right. .. 

I would like to create bundles, that can be used to open the eg: 
"*$:/ControlPanel: 
Appearence: Toolbars: Editor*" tab. It will make it much easier for me to 
point new users into the right directions ... here in the group.

This mechanism is called app-deep-linking 
<https://en.wikipedia.org/wiki/Mobile_deep_linking>, which is not possible 
at the moment, but imo it should be.

 - It would also add the possibility to create "offline interactive 
trainings" for TW. 
 - Or "interactive program reviews" 

Since bundles can track, which tiddlers are imported, it would be easy to 
"uninstall / delete" them after they are not needed anymore!

have fun!
mario

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/946c6a4a-5a8a-48a7-b0be-60d990c3a3d1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to