[TW5] presenting New Task Here PLUGIN

120 views
Skip to first unread message

HC Haase

unread,
Feb 1, 2017, 7:21:44 AM2/1/17
to tiddl...@googlegroups.com

Hello

This is my very first plugin! So if you find room for improvement, don't hesitate to guide me.


It is mostly a modification of the new-journal-here button. But it is just what I need. I hope you find it useful.


get it at https://hchaase.github.io/TW5-NewTaskHere/


This plugin adds three things

  1. a new-Task-here button  in the View toolbar. The button create a new tiddler tagged with the current tiddler and with task.
    1. you can add a custom title (e.g. to use as prefix for new tiddlers) by filling the field title_prefix in the tiddler $:/plugins/HCHaase/NewTaskHere/new-task-here.
  2. It also ads a snippet to the edit toolbar, that inserts a checklist with outstanding and completed tasks in the tiddler being edited.
  3. and it also add the tiddler task with the new task icon. If you already have a tiddler called task, you need to delete it (or you can copy the field icon to your old task tiddler).

Use case

If you have a task lists somewhere to show tiddlers with the tag task. This button makes it fast to make new task related to the current tiddler.

Danielo Rodríguez

unread,
Feb 1, 2017, 8:29:46 AM2/1/17
to TiddlyWiki
Hello,

Thanks for sharing. I like specially the snippet addition.

Regarding the snippet I would change it from

<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]">

to

<$list filter="[!has[draft.of]tag<currentTiddler>tag[task]!tag[done]sort[created]]">

That way you can use the snippet to create different lists depending on where you put the listing.

HC Haase

unread,
Feb 3, 2017, 4:46:29 AM2/3/17
to TiddlyWiki
That is a good idea. Why didn't I think of that.

I have now added it as an extra snippet.
Reply all
Reply to author
Forward
0 new messages