A lightweight task management setup?

432 views
Skip to first unread message

Diego Mesa

unread,
Oct 30, 2017, 9:35:54 AM10/30/17
to TiddlyWiki
Hello all,

I keep a daily research journal and on Monday I set out some "Goals" for the week. I was thinking of keeping these in tiddlywiki using `<$checkbox> </$checkbox>`. So today I made a new Tiddler called `Week 44 - 2017` where I placed my goals, and in today's journal tiddler I put `{{Week 44 - 2017}}`. This generated the following questions:

  • When I "check" a checkbox in either `Week 44 - 2017` or today's journal tiddler, that change is not reflected in the other tiddler. Is there any way to keep these synced?
    • I saw how the taskmanagement example dealt with this, but I dont want to have to make a tiddler for each goal/task as this is usually overkill. 
  • How can I make a new "Research Journal button" under my title bar that creates a new empty tiddler with two tags: Research and Journal, and automatically adds a `{{{Week XX - YYYY }}}` where `XX` is the current week number, and `YYYY` is the current year?
  • Is there any way to "automate" the creation and presentation of my Monday tiddlers? I have been trying to find a use for the official "Corner Ribbon" plugin, and think it might be of use here. Perhaps every Monday the corner ribbon is displayed, and if one doesn't exist already, clicking it creates a new `Week XX - YYYY` tiddler, but if it does exist, clicking it opens it? 
    • I know this one is more involved, so if someone could just point me in the right direction of how to "programatically" enable/disable another plugin? Or perhaps I just edit/modify it directly for my own purposes? Any help would be great! 
I called this "lightweight", just because I dont want to have to make tiddlers for each task. 

Thanks!
Diego

Mark S.

unread,
Oct 30, 2017, 10:33:03 AM10/30/17
to TiddlyWiki
Just as a side note, you might want to check out (pun) https://grosinger.net/tw5-checklist/ . It makes checklists inside a tiddler easy.

Mark

Diego Mesa

unread,
Oct 30, 2017, 10:49:50 AM10/30/17
to TiddlyWiki
Thanks Mark! That solved my first problem of keeping them in sync across transclusion! 

Diego Mesa

unread,
Oct 30, 2017, 11:54:59 AM10/30/17
to TiddlyWiki
I've been able to define a custom New Research Journal button by following the documentation on tiddlywiki.com. I now have the following:



which is what I desired, but now I have some more questions:
  • How do I change the ordering of that bar? My button appears at the bottom of the "tools" tab so when I check it, it shows up as last on that bar.
  • For the Research Journal Tiddler default text I am making edits in `$:/config/NewResearchJournal/Text`. I am trying to transclude the text of a tiddler containing that week's goals which is titled `Week 44 - 2017` (for this week). 
    • My WRONG approach: I tried placing the following inside it: `<$transclude tiddler=<<now "Week WW - YYYY">> />` but that seems to ruin everything! My sidebar goes crazy, and so does `$:/config/NewResearchJournal/Text` itself! I don't want that to be evaluated there, but evaluated when I actually make a new research journal tiddler. I don't think this is the right approach.
    • DESIRED result: When I click the new Research Journal Button, it is automatically populated with the correct week number and year and has the following text (somehow correctly generated): `{{Week 44 - 2017}}`. 
  • For the Weekly Goals Tiddler, its title is: "Week 44 - 2017". Its contents are:
                    ''[[Weekly Goals|Week 44 - 2017]]:''

                     [ ] task 1
                     [ ] task 2
  • Since I want to transclude these contents, I have "Weekly Goas" be a link back to this tiddler, in case I want to make edits from elsewhere. Is there a better way to do this?

Thank you all for the help!

Diego Mesa

unread,
Oct 30, 2017, 12:20:40 PM10/30/17
to TiddlyWiki
All, sorry for the confusion and repeated emails. After some extensive searching and testing/trying I came across:

https://groups.google.com/forum/#!topic/tiddlywiki/AArCI7b2Wws

which solved my transclusion problem by placing the transclusion within the now macro. The full code for my button is now:


\define journalButton()
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>>>
<$action-sendmessage $message="tm-new-tiddler" title=<<now "$(journalTitleTemplate)$">> tags="$(journalTags)$" text=<<now "{{Week WW - YYYY}}">> />
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
{{$:/
core/images/new-journal-button}}
</$list>
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/
language/Buttons/NewJournal/Caption}}/></span>
</$list>
</
$button>
\end
<$set name="journalTitleTemplate" value={{$:/config/NewResearchJournal/Title}}>
<$set name="journalTags" value={{$:/config/NewResearchJournal/Tags}}>
<$set name="journalText" value={{$:/config/NewResearchJournal/Text}}>
<<journalButton>>
</$set></$set></$set>

and this works.

As of now, my remaining questions are:

  • Using/adopting the corner ribbon plugin for the creation of Weekly goals tiddlers on Mondays (explained above)
  • How can I change the ordering of the toolbar under the wiki titlte?
  • Any comments on the weekly goals format I have

Mark S.

unread,
Oct 30, 2017, 12:45:34 PM10/30/17
to TiddlyWiki
If you add the field "list-before" with contents "$:/core/ui/Buttons/home" to your new journal tiddler it should move your icon to the head of the line.

For temporary changes, you can open tiddler $:/core/ui/ControlPanel/Toolbars/PageControls and then drag the controls where you want them.

Mark
Reply all
Reply to author
Forward
0 new messages