Improve Plugin Handling for data tiddlers. #5338
Replies: 4 comments 12 replies
-
I don't think that is correct. I tried disabling a plugin using the button in control panel, reloaded the wiki and found that the shadow tiddlers were not present. |
Beta Was this translation helpful? Give feedback.
-
Jeremy, You are not wrong, about the need to reload., but the OT request still stands, Improve Plugin Handling for data tiddlers. I was in part fooled by the complexity of what I was doing. I was using plugins as data after importing using the JSON mangle plugin. The reload is the critical step. As you know it is now possible to install a plugin with without the need to reload if it does not have javascript components or system modules. The reverse is however not true, if you toggle the state of a plugin between enable or disable the shadow tiddlers do not not appear or disappear until you reload. It would be great if the original request, could be satisfied without the need to reload. An example use is a plugin of various tiddlers that toggle UI config settings, a tiddlywiki could contain a set of alternative configurations where selecting enable or disable on different plugins (data or config tiddlers not javascript), will make a different set of tiddler values "active", needing to reload makes this less practical. I do not know how difficult it is technically, but it would allow additional methods to be used when plugin tiddlers are used for data sets. One can thus toggle which dataset (viewed as shadow tiddlers) is present and active without the need to reload. Regards |
Beta Was this translation helpful? Give feedback.
-
Compelling uses case to support the OT. Background
The value of "data" plugins.
If needed I can present more on the use of "data" focused plugins but would also ask that this be considered a hackability extension as well. I will post separately on a possible method to address this with out impacting existing behaviour. Data tiddler handling suggestion. Tony |
Beta Was this translation helpful? Give feedback.
-
Data tiddler handling suggestion As a respected mentor once said, if you come to me with a problem, please also propose a solution. The simplest version that would be adequate and allow me to create a plugin to support "data tiddlers" would;
This is my idea for "data" plugins.
Subsequently we can Provide tools to
Related issue
Related but not dependant discussions
An IS or All Operator such as IS[product] or ALL[product] where the filter(s) access the "product" tiddlers of a named data tiddler. Regards |
Beta Was this translation helpful? Give feedback.
-
Plugins are useful to package functional additions to tiddlywiki. Often they contain macros and Javascript.
Disabling a Plugin will disable such Javascript and functionality but currently it will not hide its shadow tiddlers.
The consequence of this is;
Proposal
See also #5336
Beta Was this translation helpful? Give feedback.
All reactions