Gatha Plugin: Beta Release - Create and Distribute Tiddlywiki Plugins

This does not create the text part, instead it creates the whole tiddler. That is why it does not work this way! I think the above snippet needs macros to create the tiddler in place!

Hi Mohammad, when I was looking for the config options, I looked at the plugin first – I think it wouldn’t be much work to add a configuration tab there? (This would also be a solution for people who disabled Gatha settings in the more sidebar to re-enable it.)

Hi Thomas, I follow the Tiddlywiki standard!
Settings tab is under $:/ControlPanel! but users can customize it!

So, you may like add $:/tags/SideBar to have it on the sidebar or a button close to Load Plugin!

I prefer to keep the UI minimal. That is why by default I made load plugin, add bulk tiddlers, and Recourse tiddlers hidden!

1 Like

There is a ticket on GitHub to expand and make Settings tab more flexible.

What you can optimise is the display of the chosen option according to vanilla standard like this:

grafik

by putting this in your stylesheet:

.ga-sidebar .tc-drop-down button:hover {
	color: <<colour tiddler-link-background>>;
	background-color: <<colour tiddler-link-foreground>>;
}

If you think of the select options – they are styled by the browser, not via CSS.
(See <select>: The HTML Select element - HTML: HyperText Markup Language | MDN)

1 Like

Much appreciated. Works like a charm.

Not in my wikis. Is this because you in your demo are using an improvement of the Settings tab not available to the public yet?

I think @telmiger may have been suggesting to also have a settings tab in the Gatha plugin tiddler itself:

1 Like

Exactly. That wouldn’t generate much overhead as you only need a tiddler “$:/plugins/kookma/gatha/settings” where you transclude the settings tiddler you already have and then add “settings” to the list that shows the tabs.

3 Likes

Thank you @saqimtiaz.
I add the the tab! First I thought the request is to add to workspace!

Hi @telmiger,
I have CodeMirror installed and the Settings is added by CodeMirror. There is a ticket in GitHub (see [BUG] Settings tab and third party plugins · Issue #5520 · Jermolene/TiddlyWiki5 (github.com)
@pmario is the maintainer behind CodeMirror and I think he agrees to have Core settings tab like CodeMirror settings tab so plugin developer can add their own to that tab!

@TW_Tones
Referening to Scope of Variables Operator: How can I display variables come from certain namespace or scope? - Discussion - Talk TW (tiddlywiki.org)

Why not to use Gatha? It allows you to create plugins in millisecond ;). Gatha allows even newbies to create plugins, themes!

Also you can distribute your tools as bundle!

I agree you have made a great tool. However I have piles of macro solutions that were not written for plugins, and use a suit of other methods for packaging and distributing for myself at least, I would need to review them to provide the info in the correct tiddlers and use shadows+tiddlers to account for my solutions becoming tiddlers in a plugin.

  • I have just not got “around to it”

I am using Gatha to develop my first plugin. Thanks for the great tool.

Please check if you have the JSZIP plugin installed.
Gatha allows you to create both packaged plugin and plugin folder (used for TW on Node.JS).
The single html file is great for demo purposes.

I also use a single html export to create a perfect baby :wink:
This way I can clone existing wiki with a tailored set of tiddlers by a single click.

1 Like

Thanks I can download the zip file now.

I am still confusing about the workflow to put into github.

It seems I have to manually organise the folder structure as your plugins (e.g. GitHub - kookma/TW-Kara: Simple checklist and plain todo list for Tiddlywiki).

How should I export multiple developing plugins in the single html file? For example, I am developing three plugins (i.e. $:/plugins/parent, $:/plugins/child1 and $:/plugins/child2). I want to export the three plugins using global filter.

[[$:/DefaultTiddlers]] [tag[doc]]
[[$:/plugins/child1]]
[[$:/plugins/child2]]
[[$:/plugins/kookma/shiraz]]
[[$:/plugins/kookma/utility]]
[subfilter{$:/DefaultTiddlers}]

However, the global filter above is not working as child1 and child2 is developing by Gatha.

Why there is no bulk add tiddlers button on my side?

This list is too long when I import my calendar using GitHub - tiddly-gittly/ical-calendar-importer: Import *.ical calendar file exported from services like GoogleCalendar into TiddlyWiki.

It is not easy to reach the bottom of it because I hide the scrollbar of sidebar…

I’m importing 8k+ google calendars events, I finally use official Advanced search to export the JSON tiddler instead, thanks anyway.

I just saw your post!

Extra tiddlers are those have not the plugin namespace! You can drag and drop them to Extra tiddler part!

This is a huge number of tiddler 4076,
A max-height can be added to see the scrollbar beyond that! But I expect the TW scrollbar is enough!