[TW5] Tinka 0.3.0 release

283 views
Skip to first unread message

Andreas Hahn

unread,
Mar 1, 2017, 7:08:51 PM3/1/17
to TiddlyWiki
Hi,

I have just pushed the source code to the Tinka plugin to github and
included a license (MIT license), which hopefully makes it ready to use
and modify for anyone interested in the future. You can find the
repository at https://github.com/TinkaPlugin/Tinka and an introductory
wiki with the typical TW install option at https://tinkaplugin.github.io/.

In addition to making it more available, I am also calling this version
"0.3.0" since I have made the following changes:

* Packaging success now produces a modal that actively reminds the user
to refresh the wiki.
* The search tab state is now kept in a temporary system tiddler.
* Added warning when repackaging themes that are not active.
* The 'Help Tab' functionality is now also available for plugins that do
not follow the `$:/plugins/...` naming convention. In particular this
applies to themes and core plugins.
* Fixed wrong headings for some modal dialogs.
* Older action widgets remodeled to use the (new) CommonAction widget as
a base.
* Fixed error check that prevented users to enter a minimal core version
dependency when creating a new plugin.

/Andreas

Matthew Lauber

unread,
Mar 2, 2017, 8:18:27 AM3/2/17
to TiddlyWiki
Hey Andreas, 
Thanks a bunch for doing this.  Looking forwards to using it.  

Matt

Jeff Vance

unread,
Mar 3, 2017, 3:04:03 PM3/3/17
to TiddlyWiki
Thanks for this update!  I just started using the previous version and have found it to be *very* helpful.  I'll switch to this new one immediately.

Jeff


David Szego

unread,
Mar 4, 2017, 11:01:55 PM3/4/17
to TiddlyWiki
Wonderful, truly useful plugin. Thanks immensely for this.

Ton Gerner

unread,
Mar 5, 2017, 4:21:52 PM3/5/17
to TiddlyWiki
Hi Andreas,

I am a very happy user of the Tinka plugin. How can one live without it!

In the past - before Tinka was available - I made my Bluish theme ($:/themes/tongerner/bluish) with a console script given by Jeremy. Lateron, I repackaged my Bluish theme with Tinka without problems.

Today I tried to create a new theme with Tinka but found an inconcistency: when switching the plugin-type from Plugin to Theme, the prefix stays at $:/plugins/. I expected the prefix to change to $/themes/ in style with all other themes. Now it is impossible (or at least difficult) to create a theme starting with $:/themes/

Cheers,

Ton

Ton Gerner

unread,
Mar 7, 2017, 4:40:29 AM3/7/17
to TiddlyWiki
Hi all,
 
... Now it is impossible (or at least difficult) to create a theme starting with $:/themes/

 
As an - easy - workaround to create a theme as $:/themes/<author>/<theme> instead of $:/plugins/<author>/<theme>:

1) Create all payload tiddlers with the correct prefix $:/themes/<author>/<theme>/
2) Package the theme/plugin. It creates a theme: $:/plugins/<author>/<theme>
3) Rename $:/plugins/<author>/<theme> to $:/themes/<author>/<theme>
4) Save & reload.

Thereafter you can repackage your theme without problems.

Cheers,

Ton

Jan

unread,
Mar 9, 2017, 5:57:09 PM3/9/17
to tiddl...@googlegroups.com
Hi Andreas,
a great job you did there...i just discovered what a great workflow you
made possible.
Bravo! Chapeau! Great!
Jan

Andreas Hahn

unread,
Mar 9, 2017, 7:18:02 PM3/9/17
to tiddl...@googlegroups.com
Hi Ton,

you are completely right. It seems I completely forgot the fact that they use different prefixes, which was also true for the 'Help Tab' functionality until this release.
Your workaround is, as far as I know, really the easiest way to accomplish this at the moment, but I will put it on my ToDo list that themes should get their proper prefix when creating one.
Also, since I think its evident that I don't really create themes all that often, let me know if there is other 'special' treatment when creating and packaging themes that I could add to Tinka. (I know the fact that themes have to be active when repackaging might be a potential issue too)


Thanks for reporting,
/Andreas
--

Andreas Hahn

unread,
Mar 9, 2017, 7:33:53 PM3/9/17
to tiddl...@googlegroups.com
Hi Jan,

thank you very much for your kind words!

/Andreas
Reply all
Reply to author
Forward
0 new messages