Gatha 2.0.0: Create Plugins and Packages in a Second

I have finaly started to leverage Gatha for plugin creation.

  • Thanks again @Mohammad
  • I have hundereds of posible things to package

I just want to ask if I have found a missing feature, or not found it yet?

  • I raise it here because it makes sense to combine it with Gatha as it would share code.

While preparing a plugin I raised this Topic Converting tiddlers to shadow tiddlers by moving a package to a plugin

I would like to generate a Plugin and test to see there are no gaps as it moves from a package of tiddlers, to a plugin of shadow tiddlers.

When I look in Gatha the Export plugin menu offers the following;

  • packaged plugin (Json file)
  • plugin demo (demo.html) .
  • plugin folder (zip file)
  • plugin source (backupjson file)

Whilst art the same time the plugin project in the Gatha tab includes the “plugin tiddler” of the form $:/plugins/PublisherName/PluginName the tiddler remains a “tiddler”. Using the demo option I can export it and the demo contains a true plugin tiddler (containing Shadows).

Missing Feature? Pack Plugin?

Perhaps an “export option” to move all project tiddlers, into a plugin, in the wiki in which Gatha is installed. This would allow a plugin developed and saved as a plugin while cleaning up all the related tiddlers without leaving the wiki.

  • Then using the “Load Plugin” feature when building a new Plugin update project.

It would be nice if we could do the same for the zip form of a plugin, basicaly create as a tiddler in the wiki rather than export it.

Futures

At some stage I would like (us) to make a simple plugin to “load Plugin”, ie split a plugin into tiddlers

  • I would also like this to have an option not to replace tiddlers that are aleady edited into tiddlers.

Then make changes and Pack the plugin back. Without the rest of the Gatha features.

  • The reason for this is both for rapid fixes and to handle data tiddlers. ie tiddlers containing data tiddlers as demonstrated here test-data.tiddlyhost.com
  • This would allow you to modify shadow tiddlers provided in a dataplugin and repackage it into an updated plugin

The “Export plugin as demo.html” feature creates a copy of the current wiki used as an IDE (integrated development environment). Each time you export, a flawless duplicate is generated (you need to configure this, the default option is empty.html+plugin+docs), and you can have multiple demos without them overwriting each other. This allows you to perform destructive tests without worrying about losing anything in the IDE. For this reason, I prefer not to use the same IDE for both development and testing.

1 Like