My question here is if we already have the components/mechanisms that would allow any of the following ideas for a simpler upgrading workflow by omitting the current need to download stuff for upgrades:
1) Could upgrading be done via the plugin library, i.e upgrade the $:/core plugin just like any other plugin? (BTW, does an upgrade contain more than the core?)
2) Could upgrading be done by drag'n dropping whatever-is-needed from the tiddlywiki.com site into my browser tab where my TW resides? Again, as is done with other plugins.
3) Could upgrading be done by drag'n dropping a link seen in ones own TW? I.e in my TW, there's a [ext[http://tiddlywiki.com/upgrade.html]] that I grab and drop on some area a few centimeters away, still in my own TW.
Again, might we already have mechanisms that would enable any of these?
Thank you.
<:-)--
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/eeb31e99-5380-4314-8417-e4522a07fb9b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1) Could upgrading be done via the plugin library, i.e upgrade the $:/core plugin just like any other plugin?
OK, so the process would be to pull in the new core plugin, and then save changes. The trouble is that at that point the new core isn’t active, and so the templates used for saving would be the templates from the old core.
A perhaps hidden design goal of the current upgrade process is that it can upgrade broken TiddlyWikis because it only relies on being able to import tiddlers from the old file. This means that if we ever released a core version that was broken we would still be able to upgrade it.
It would be superior to be able to upgrade like this so how about this idea:
Importing the core could also import an extra set of the saving templates, i.e not shadow tids! These can be imported without reload and will immediately overwrite the current saving template shadow tids and they will have effect right away (...right?).
Good but/and it would serve as a useful repair tool when someone has messed up the core (which is pretty rare, no?).
And this also feels like something that is better if accessed viea ones own TW. I just did a quick test. I put this in a TW (on tiddlyspot)
<iframe src="http://tiddlywiki.com/upgrade.html" width="100%" height="600px"></iframe>
It works to drag'n drop a tiddler onto this iframe, at least in FF (not chrome). I figure that if one needs to repair ones TW, and if the problems are not preventing it, one could drag all content tiddlers (via one link, like the new drag'n drop pills) onto this. When repairing, it does seem justified to have it download but it would be neat if the various saving options were presented there too.
Anyway, the more important issue is the first one about being able to upgrad like importing any other plugin. This would probably also make people more aware of plugins and plugin library matters. I've found that I barely ever go to the plugin library and therefore don't think much about how it could be improved.
<:-)--
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/20de8a63-a07e-494f-988f-9ff91eff3a42%40googlegroups.com.
It would be superior to be able to upgrade like this so how about this idea:
Importing the core could also import an extra set of the saving templates, i.e not shadow tids! These can be imported without reload and will immediately overwrite the current saving template shadow tids and they will have effect right away (...right?).It’s not just templates, but also JS modules; the saving would be under the control of the old JS files, and there’s no way for us to update them before the save operation.