I’m pretty excited to announce that if all goes well, one of the new features 
for v5.1.22 will be the ability to dynamically load/unload plugins without 
needing to refresh the page.

The catch is that this only works for plugins that do not contain any 
JavaScript modules. For plugins that do contain JS modules, the behaviour is 
the same as at present, with a warning message advising the user to reload the 
page. The reason for this restriction is to avoid corruption due to attempting 
to swap a module that is already running. Nonetheless, there’s a huge and 
useful set of plugins that do not contain JS modules, including all themes and 
languages.

It’s a work in progress, and not yet merged into the prerelease:

https://github.com/Jermolene/TiddlyWiki5/pull/4259

Just to be clear, this means that with the proviso above, users will be able to:

* Add new plugins from the plugin library without reloading
* Add new plugins via drag and drop without reloading
* Delete unneeded plugins without reloading
* Eventually, to use tools like Tinka to package plugins without requiring a 
reload to test

There’s still a fair bit to do:

* Indicate in the plugin library which plugins will require a reload
* More testing
* Documentation

Questions and comments welcome.

Best wishes

Jeremy.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/22B670E6-BD2D-4566-A417-9D1E7305109A%40gmail.com.

Reply via email to