Plugin which edits UI template - Conventions

57 views
Skip to first unread message

Conner Phillips

unread,
May 25, 2017, 1:30:43 PM5/25/17
to TiddlyWiki
So this related to my little project to tie git into the node.js server. I would like to have a edit-text widget available in the edit template up by the save button to be able to quickly add your commit message before saving. I have figured out how to do this no problem. But I believe editing templates is getting more into the realm of theming than plugins (I know they are principally the same). Would there be an appropriate way to hook this template mod into the set of plugin tiddlers, or would it be best to include this as an instructions set with the plugin so users can add this regardless of their theme?

Thanks all

Mat

unread,
May 25, 2017, 7:09:15 PM5/25/17
to TiddlyWiki
IMO - and it it an opinion because I don't think there are any conventions for this - the better solution would be to make it into a separate "auxiliary" plugin. I don't know how you intend to serve your plugin/s but if it is from some public TW where the user is to drag'n drop, you can take advantage of the new "drag-pill" features, i.e tag both the main plugin and the aux plugin with a common tag and then present the single tag for people to drag'n drop into their TW.

BTW, this approach ought to be a convention for serving plugins IMO because it is much more elegant to present a pretty  pill  than some $:/plugins/ugly/link. ...but we shouldn't be forced to tag tiddlers to include them in such draggable pills. (See here for elaboration).

<:-)
Reply all
Reply to author
Forward
0 new messages