-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path$__ak_plugins_DailyNotes.json
1 lines (1 loc) · 27.3 KB
/
$__ak_plugins_DailyNotes.json
1
[{"text":"{\n \"tiddlers\": {\n \"$:/ak/plugins/DailyNotes/change.log\": {\n \"created\": \"20200510091859948\",\n \"creator\": \"akhater\",\n \"text\": \"''v0.0.31'' - 2020-06-05\\n\\n* Timezone bugfix for Date display \\n\\n''v0.0.30'' - 2020-06-04\\n\\n* Splitting code to multiple tiddlers\\n* Adding parsedate widget\\n* Standardizing entry times by timestamp\\n* You can now change the format by editing $:/ak/plugins/DailyNotes/dateformat\\n* Enhanced tasks handling\\n* all pending tasks now show in a dedicated tab\\n* Fixed bug of icon being shown always selected\\n\\n''v0.0.20'' - 2020-05-16\\n\\n* Added support for simple Todo items by writing /todo command to the input box\\n\\n''v0.0.18'' - 2020-05-13\\n\\n* Added toolbar button for easy access (enable it from the control panel)\\n* Minor but fixes\\n\\n''v0.0.15'' - 2020-05-11\\n\\n* Visual Tweaks\\n* inline Edit of entries\\n\\n''v0.0.11'' - 2020-05-11\\n\\n* Recoded from scratch\\n* Cleaner code\\n* Delete Icon just shows on hover\\n* Different Icons for expanded and non expanded entries\\n* Cleaner Daily Note tiddler easier to manually edit \\n\\n''v0.0.6'' - 2020-05-10\\n\\n* Added a way to see older Daily Notes\\n\\n''v0.0.4'' - 2020-05-10\\n\\n* Initial Release\",\n \"bag\": \"default\",\n \"revision\": \"1\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/change.log\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605132655355\"\n },\n \"$:/ak/plugins/DailyNotes/ui/capture\": {\n \"created\": \"20200509164956768\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\import $:/ak/plugins/DailyNotes/functions\\n\\\\import $:/ak/plugins/DailyNotes/variables\\n\\\\import $:/ak/plugins/DailyNotes/functions/todo\\n\\n<$vars dateformat={{$:/ak/plugins/DailyNotes/dateformat}} today=<<now YYYY0MM0DD>> todayUTC=<<now [UTC]YYYY0MM0DD>> lf=\\\"\\n\\\" >\\n {{$:/ak/plugins/DailyNotes/captureEntries}}\\n {{$:/ak/plugins/DailyNotes/ui/tabs}}\\n</$vars>\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/ui/capture\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605221321461\",\n \"icon\": \"$:/ak/plugins/DailyNotes/images/journal-icon\",\n \"caption\": \"Daily Notes\"\n },\n \"$:/ak/plugins/DailyNotes/readme\": {\n \"created\": \"20200510092225619\",\n \"text\": \"[[Daily Notes|https://github.com/akhater/Daily-Notes-for-TW5]] brings interstitial journaling to TiddlyWiki\\n\\n''Usage''\\n\\n* Keyboard shortcut Alt+Q by default\\n* Create a tiddler and put the below in it to show the interface without shortcut (e.g. for mobile use)\\n** `` {{$:/ak/plugins/DailyNotes/ui/capture}} ``\\n* To add a todo item simply add ``/todo`` to your entry \\n\",\n \"tags\": \"\",\n \"title\": \"$:/ak/plugins/DailyNotes/readme\",\n \"modified\": \"20200516174200664\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"revision\": \"48\",\n \"bag\": \"default\"\n },\n \"$:/ak/plugins/DailyNotes/KBshortcut\": {\n \"created\": \"20200509171745928\",\n \"creator\": \"akhater\",\n \"text\": \"<$navigator story=\\\"$:/StoryList\\\" history=\\\"$:/HistoryList\\\">\\n <$action-deletetiddler $tiddler=\\\"$:/temp/DN-Source\\\"/>\\n <$action-navigate $to=\\\"$:/ak/plugins/DailyNotes/ui/capture\\\"/>\\n</$navigator>\",\n \"tags\": \"$:/tags/KeyboardShortcut\",\n \"title\": \"$:/ak/plugins/DailyNotes/KBshortcut\",\n \"modified\": \"20200527075150745\",\n \"key\": \"((DailyNotes))\",\n \"modifier\": \"akhater\"\n },\n \"$:/ak/plugins/DailyNotes/stylesheet\": {\n \"created\": \"20200509183459884\",\n \"text\": \"input.dn-input.input-large { width: 100%; padding: .5em 1em; font-size: 1.1em; }\\n.dn-label { display: block; text-align: right; font-size: .8em; opacity: .6; }\\ninput.dn-input:focus { border-color: rgb(255, 201, 102); }\\n\\n.DN-entries .DN-deleteButton { \\n opacity: 0; \\n}\\n\\n.DN-entries:hover .DN-deleteButton { \\n opacity: 1; \\n fill: grey;\\n}\\n\\n.DN-entries:hover .DN-deleteButton:hover { \\nfill: #c70000 ; \\n}\\n\\n.DN-entries .DN-editButton { \\nopacity: 0; \\n}\\n\\n\\n.DN-entries:hover .DN-editButton { \\nopacity: 1; \\n}\\n\\n.DN-editButton:hover { \\nfill: #228c22 ; \\n}\\n\\n.DN-check-edit input{display:none;}\\n.DN-check-edit svg{fill:grey;height:1em;width:1em;curser:pointer;}\\n.DN-check-edit:hover svg{ fill:green; }\",\n \"bag\": \"default\",\n \"revision\": \"32\",\n \"type\": \"text/css\",\n \"title\": \"$:/ak/plugins/DailyNotes/stylesheet\",\n \"tags\": \"$:/tags/Stylesheet\",\n \"modified\": \"20200511165058276\"\n },\n \"$:/ak/plugins/DailyNotes/buttons/open-DailyNotes\": {\n \"created\": \"20200512053105188\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\whitespace trim\\n\\\\define DailyNotes-button()\\n<$button tooltip=\\\"Open Daily Notes\\\" aria-label=\\\"Open Daily Notes\\\" class=\\\"\\\"\\\"$(tv-config-toolbar-class)$\\\"\\\"\\\"> \\n <$action-navigate $to=\\\"$:/ak/plugins/DailyNotes/ui/capture\\\"/>\\n <$action-deletetiddler $tiddler=\\\"$:/temp/DN-Source\\\"/>\\n <$list filter=\\\"[<tv-config-toolbar-icons>match[yes]]\\\">\\n {{$:/ak/plugins/DailyNotes/images/journal-icon}}\\n </$list>\\n <$list filter=\\\"[<tv-config-toolbar-text>match[yes]]\\\">\\n <span class=\\\"tc-btn-text\\\"><$text text=\\\"Open Daily Notes\\\"/></span>\\n </$list>\\n</$button>\\n\\\\end\\n\\n<<DailyNotes-button>>\",\n \"bag\": \"default\",\n \"revision\": \"7\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/buttons/open-DailyNotes\",\n \"tags\": \"$:/tags/PageControls\",\n \"modified\": \"20200527075130926\",\n \"description\": \"Opens Daily Notes\",\n \"caption\": \"{{$:/ak/plugins/DailyNotes/images/journal-icon}} Daily Notes\",\n \"modifier\": \"akhater\"\n },\n \"$:/ak/plugins/DailyNotes/images/journal-icon\": {\n \"text\": \"<svg xmlns=\\\"http://www.w3.org/2000/svg\\\" class=\\\"tc-image-tag-button tc-image-button\\\" width=\\\"20pt\\\" height=\\\"20pt\\\" viewBox=\\\"0 0 20 20\\\"><g fill-rule=\\\"evenodd\\\">\\n <path d=\\\"M2 1.5v17A1.5 1.5 0 0 0 3.5 20H5V0H3.5A1.5 1.5 0 0 0 2 1.5zM16 0H6v20h10a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2zm-3 8H8V7h5zm3-2H8V5h8z\\\"/>\\n</svg>\",\n \"bag\": \"default\",\n \"revision\": \"5\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/images/journal-icon\",\n \"tags\": \"\",\n \"modified\": \"20200513070135038\",\n \"created\": \"20200511213348318\"\n },\n \"$:/ak/plugins/DailyNotes/dateformat\": {\n \"text\": \"YYYY-0MM-0DD\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/dateformat\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200527144818076\",\n \"creator\": \"akhater\",\n \"created\": \"20200526204041018\"\n },\n \"$:/ak/plugins/DailyNotes/functions\": {\n \"created\": \"20200521201916934\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\define listNotTodo()\\n<div class=\\\"DN-entries\\\"><<DN_ifTiddlerExists>></div>\\n\\\\end\\n\\n\\\\define show-deleteButton()\\n<span class=\\\"DN-entries DN-deleteButton\\\"><$button class=<<tv-config-toolbar-class>> tooltip=\\\"Delete Entry\\\" set={{$:/ak/plugins/DailyNotes/DN-Selection}} setTo={{{ [<Content>split<get-origEntry>join[]] }}} >\\n {{$:/core/images/delete-button}}\\n</$button></span>\\n\\\\end\\n\\n\\\\define start-entryEdit()\\n<$action-setfield $tiddler=\\\"$:/temp/DN-editEntry/$(entryData)$\\\" text=\\\"$(entryTime)$~$(entryAction)$$(entryData)$\\\" /> \\n\\\\end\\n\\n\\\\define end-entryEdit()\\n<$set name=edittedEntry tiddler=\\\"$:/temp/DN-editEntry/$(entryData)$\\\">\\n <$set name=\\\"trimmedEdittedEntry\\\" value={{{ [<edittedEntry>trim[]] }}} > \\n <$action-setfield $tiddler={{$:/ak/plugins/DailyNotes/DN-Selection}} $field=\\\"text\\\" $value={{{ [<Content>split<get-origEntry>join<get-edittedEntry>] }}} />\\n </$set>\\n</$set>\\n\\\\end\\n\\n\\\\define show-editButton() \\n<$vars state=<<qualify \\\"\\\"\\\"$:/temp/DN-state/$(entryData)$\\\"\\\"\\\">> >\\n <span class=\\\"DN-entries DN-editButton\\\">\\n <$checkbox tiddler=<<state>> field=\\\"text\\\" checked=\\\"edit\\\" unchecked=\\\"\\\" uncheckactions=<<end-entryEdit>> checkactions=<<start-entryEdit>> class=\\\"DN-check-edit\\\">{{$:/core/images/edit-button}}</$checkbox>\\n </span>\\n <$reveal state=<<state>> type=\\\"match\\\" text=\\\"edit\\\">\\n <div class=\\\"tc-popup tc-tiddler-info\\\">\\n <$edit-text tiddler=\\\"$:/temp/DN-editEntry/$(entryData)$\\\" field=\\\"text\\\" class=\\\"tc-edit-texteditor\\\" tag=input />\\n </div>\\n </$reveal>\\n</$vars>\\n\\\\end\\n\\n\\\\define DN_ifTiddlerNotExists()\\n<$button class=<<tv-config-toolbar-class>> tooltip=\\\"Expand Entry\\\" >\\n {{$:/core/images/clone-button}}\\n <$action-createtiddler $basetitle=<<entryData>> text=\\\"\\\"\\\"[[$(today)$]] @ $(entryTime)$\\\"\\\"\\\" />\\n <$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param=<<entryData>> />\\n</$button>\\n<<entryTime>> <<show-entryData>> <<show-editButton>> <<show-deleteButton>> <br />\\n\\\\end\\n\\n\\\\define DN_ifTiddlerExists()\\n<$list filter=\\\"[title<entryData>] +[has[title]]\\\" emptyMessage=<<DN_ifTiddlerNotExists>> >\\n <$button class=<<tv-config-toolbar-class>> tooltip=\\\"Zoom to Entry\\\" >\\n {{$:/core/images/link}}\\n <$action-navigate $to=<<entryData>> />\\n </$button> <<entryTime>> \\n <$reveal type=\\\"match\\\" state=\\\"$:/temp/DN-Source\\\" text=<<entryTime>> >\\n <mark style=\\\"background:#C9FFB3;\\\">\\n <<show-entryData>>\\n </mark>\\n </$reveal>\\n <$reveal type=\\\"nomatch\\\" state=\\\"$:/temp/DN-Source\\\" text=<<entryTime>> > \\n <<show-entryData>>\\n </$reveal>\\n <<show-editButton>> <<show-deleteButton>> <br />\\n \\n</$list>\\n\\\\end\\n\\n\\\\define show-entryData() \\n<$list filter=\\\"[<entryAction>!is[blank]]\\\" >\\n <<DN-todo-checkbox>>\\n</$list>\\n<<entryData>>\\n\\\\end\\n\\n\\\\define get-updatedText() $(currentContent)$$(lf)$''<<dn-ts $(timestamp)$>>''~$(add)$ <br />\\n\\n\\\\define entry-notTodo()\\n<$action-setfield $tiddler=<<today>> text=<<get-updatedText>> /> \\n<$fieldmangler tiddler=<<today>> >\\n <$action-sendmessage $message=\\\"tm-add-tag\\\" $param=\\\"DailyNotes\\\" /> \\n</$fieldmangler>\\n<$action-deletefield $tiddler=\\\"$:/temp/Append\\\" newEntry />\\n<$action-setfield $tiddler=\\\"$:/ak/plugins/DailyNotes/DN-Selection\\\" text=<<today>> />\\n\\\\end\\n\\n\\\\define selectDayActions() \\n<$action-deletetiddler $tiddler=\\\"$:/temp/DN-Source\\\"/> \\n\\\\end\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/functions\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605221947961\"\n },\n \"$:/ak/plugins/DailyNotes/macros/global\": {\n \"created\": \"20200521075713107\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\define entryLinkBack(day,time)\\n<$button class=\\\"tc-btn-invisible tc-tiddlylink\\\" >\\n<$action-navigate $to=\\\"$:/ak/plugins/DailyNotes/ui/capture\\\" />\\n<$action-setfield $tiddler=\\\"$:/ak/plugins/DailyNotes/DN-Selection\\\" text=$day$/>\\n<$action-setfield $tiddler=\\\"$:/temp/DN-Source\\\" text=\\\"$time$\\\" />\\n$day$\\n</$button> @ $time$\\n\\\\end\\n\\n\\n\\\\define dn-ts(timestamp)\\n<$parsedate name=td timestamp=$timestamp$ format=\\\"[UTC]YYYY0MM0DD\\\">\\n<$set name=entryTime value={{{ [title<get-tmTiddler>getindex<__timestamp__>] }}} }>\\n<<entryTime>>\\n</$set>\\n</$parsedate>\\n\\\\end\\n\\n\\n\\\\define get-tmTiddler() $:/ak/plugins/DailyNotes/DN-timeTiddler/$(td)$\\n\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/macros/global\",\n \"tags\": \"$:/tags/Macro\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605210946822\"\n },\n \"$:/ak/plugins/DailyNotes/variables\": {\n \"created\": \"20200521201106129\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\define get-origEntry() $(lf)$$(entryTime)$~$(entryAction)$$(entryData)$ <br />\\n\\\\define get-edittedEntry() $(lf)$$(trimmedEdittedEntry)$ <br />\\n\\\\define get-TodoIndex() $(today)$~$(entryTime)$$(entryData)$\\n\\\\define get-TodoAdd() /todo $(add)$\\n\\\\define get-timeTiddler() $:/ak/plugins/DailyNotes/DN-timeTiddler/$(todayUTC)$\\n\\\\define get-dateformat() $:/ak/plugins/DailyNotes/dateformat\\n\\\\define UTCdateformat() [UTC]$(dateformat)$\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/variables\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605221605374\"\n },\n \"$:/ak/plugins/DailyNotes/viewEntries\": {\n \"created\": \"20200521201322054\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\define displayNewFormat() \\n<option value=$(DNTiddler)$ > \\n <$view tiddler=$(DNTiddler)$ field=title format=date template=$(UTCdateformat)$ /> \\n</option>\\n\\\\end\\n\\n<h3> Entries of the: \\n <$select tiddler=\\\"$:/ak/plugins/DailyNotes/DN-Selection\\\" default=\\\"\\\" actions=<<selectDayActions>> > \\n <$list filter='[all[]tag[DailyNotes]!sort[title]]' variable=\\\"DNTiddler\\\">\\n <$list filter=\\\"[<DNTiddler>split[-]nth[2]]\\\" emptyMessage=<<displayNewFormat>> >\\n <option value=<<DNTiddler>> > <<DNTiddler>> </option>\\n </$list>\\n </$list>\\n </$select>\\n</h3>\\n<$set name=currentContent tiddler=<<today>> >\\n <$set name=Content tiddler={{$:/ak/plugins/DailyNotes/DN-Selection}} emptyValue=\\\"\\\" >\\n <$list filter=\\\"[<Content>split[<br />]!is[blank]]\\\" variable=\\\"entry\\\">\\n <$vars entryTime={{{ [<entry>split[~]first[]trim[]] }}} entryData={{{ [<entry>split[~]butfirst[]trim[]] }}} >\\n <$list filter=\\\"[<entry>regexp[/todo(?i)]]\\\" variable=result emptyMessage=<<listNotTodo>> >\\n <$vars entryData = {{{ [<entryData>split[/todo]trim[]join[]trim[]] }}} entryAction=\\\"/todo \\\">\\n <div class=\\\"DN-entries\\\"><<DN_ifTiddlerExists>></div>\\n </$vars>\\n </$list>\\n </$vars>\\n </$list>\\n </$set>\\n</$set>\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/viewEntries\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605221844993\",\n \"caption\": \"Previous Entries\"\n },\n \"$:/ak/plugins/DailyNotes/widgets/parsedate.js\": {\n \"text\": \"/*\\\\\\ntitle: $:/core/modules/widgets/set.js\\ntype: application/javascript\\nmodule-type: widget\\n\\nSet variable widget\\n\\n\\\\*/\\n(function(){\\n\\n/*jslint node: true, browser: true */\\n/*global $tw: false */\\n\\\"use strict\\\";\\n\\nvar Widget = require(\\\"$:/core/modules/widgets/widget.js\\\").widget;\\n\\nvar parseDateWidget = function(parseTreeNode,options) {\\n\\tthis.initialise(parseTreeNode,options);\\n};\\n\\n/*\\nInherit from the base widget class\\n*/\\nparseDateWidget.prototype = new Widget();\\n\\n/*\\nRender this widget into the DOM\\n*/\\nparseDateWidget.prototype.render = function(parent,nextSibling) {\\n\\tthis.parentDomNode = parent;\\n\\tthis.computeAttributes();\\n\\tthis.execute();\\n\\tthis.renderChildren(parent,nextSibling);\\n};\\n\\n/*\\nCompute the internal state of the widget\\n*/\\nparseDateWidget.prototype.execute = function() {\\n\\t// Get our parameters\\n\\tthis.setName = this.getAttribute(\\\"name\\\",\\\"currentTiddler\\\");\\n //this.setValue = this.getAttribute(\\\"value\\\");\\n this.timestamp = this.getAttribute(\\\"timestamp\\\");\\n this.format = this.getAttribute(\\\"format\\\",\\\"\\\");\\n this.setValue = this.getValueAsDate(this.format);\\n\\t// Set context variable\\n\\tthis.setVariable(this.setName,this.getValue(),this.parseTreeNode.params,!!this.parseTreeNode.isMacroDefinition);\\n\\t// Construct the child widgets\\n\\tthis.makeChildWidgets();\\n};\\n\\n/*\\nGet the value to be assigned\\n*/\\nparseDateWidget.prototype.getValue = function() {\\n\\tvar value = this.setValue;\\n\\treturn value || \\\"\\\";\\n};\\n\\nparseDateWidget.prototype.getValueAsDate = function(format) {\\n\\tformat = format || \\\"YYYY MM DD 0hh:0mm\\\";\\n\\tvar value = $tw.utils.parseDate(this.timestamp);\\n\\tif(value && $tw.utils.isDate(value) && value.toString() !== \\\"Invalid Date\\\") {\\n\\t\\treturn $tw.utils.formatDateString(value,format);\\n\\t} else {\\n\\t\\treturn \\\"\\\";\\n\\t}\\n};\\n\\n/*\\nSelectively refreshes the widget if needed. Returns true if the widget or any of its children needed re-rendering\\n*/\\nparseDateWidget.prototype.refresh = function(changedTiddlers) {\\n\\tvar changedAttributes = this.computeAttributes();\\n\\tif(changedAttributes.name || changedAttributes.value ||\\n\\t (this.setFilter && this.getValue() != this.variables[this.setName].value)) {\\n\\t\\tthis.refreshSelf();\\n\\t\\treturn true;\\n\\t} else {\\n\\t\\treturn this.refreshChildren(changedTiddlers);\\n\\t}\\n};\\n\\nexports.parsedate = parseDateWidget;\\n\\n})();\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"application/javascript\",\n \"title\": \"$:/ak/plugins/DailyNotes/widgets/parsedate.js\",\n \"tags\": \"\",\n \"module-type\": \"widget\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200526211025578\",\n \"creator\": \"akhater\",\n \"created\": \"20200520182721145\"\n },\n \"$:/ak/plugins/DailyNotes/captureEntries\": {\n \"created\": \"20200521202857852\",\n \"creator\": \"akhater\",\n \"text\": \"<h2><$view tiddler=<<today>> field=title format=date template=<<UTCdateformat>> /> <$button class=\\\"tc-btn-invisible\\\" tooltip=\\\"Manually edit Today's notes\\\">{{$:/core/images/edit-button}}<$action-sendmessage $message=\\\"tm-edit-tiddler\\\" $param=<<today>> /></$button></h2>\\n<$keyboard key=\\\"enter\\\"> \\n <$edit-text class=\\\"dn-input input-large\\\" tiddler=\\\"$:/temp/Append\\\" field=\\\"newEntry\\\" placeholder=\\\"Free your mind, dump it here...\\\" focus=\\\"true\\\"/>\\n <label class=\\\"dn-label\\\">Press ⏎ to capture</label>\\n <$vars timestamp=<<now \\\"[UTC]YYYY0MM0DD0hh0mm0ssXXX\\\">> >\\n <$action-setfield $tiddler=<<get-timeTiddler>> $index=<<timestamp>> $value=<<now \\\"0hh:0mm\\\">> /> \\n <$set name=currentContent tiddler=<<today>> >\\n <$set name=\\\"add\\\" value={{{ [{$:/temp/Append!!newEntry}trim[]] }}} >\\n <$list filter=\\\"[<add>regexp[/todo(?i)]]\\\" variable=result emptyMessage=<<entry-notTodo>> >\\n <$vars add = {{{ [<add>split[/todo]trim[]join[ ]trim[]] }}}>\\n <$vars add=<<get-TodoAdd>> >\\n <$action-setfield $tiddler=<<today>> text=<<get-updatedText>> /> \\n <$fieldmangler tiddler=<<today>> >\\n <$action-sendmessage $message=\\\"tm-add-tag\\\" $param=\\\"DailyNotes\\\" /> \\n </$fieldmangler>\\n <$action-deletefield $tiddler=\\\"$:/temp/Append\\\" newEntry />\\n <$action-setfield $tiddler=\\\"$:/ak/plugins/DailyNotes/DN-Selection\\\" text=<<today>> />\\n <<DN-todo-add>>\\n </$vars>\\n </$vars>\\n </$list>\\n </$set>\\n </$set>\\n </$vars>\\n</$keyboard>\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/captureEntries\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200605221524841\"\n },\n \"$:/ak/plugins/DailyNotes/functions/todo\": {\n \"created\": \"20200602070108790\",\n \"creator\": \"akhater\",\n \"text\": \"\\\\define TiddlerTasksStatus() $:/ak/plugins/DailyNotes/Tasks/Status/$(entrymnth)$\\n\\\\define TiddlerinboxTasksList() $:/ak/plugins/DailyNotes/Tasks/Lists/inbox\\n\\n\\n\\\\define DN-todo-add()\\n<$action-listops \\n $tiddler=<<TiddlerinboxTasksList>>\\n $field=\\\"pending\\\" \\n $subfilter=<<timestamp>>\\n />\\n\\\\end\\n\\n\\\\define DN-todo-checkbox(isTodoTab:\\\"false\\\")\\n<$list filter=\\\"\\\"\\\"[<__isTodoTab__>match[true]]\\\"\\\"\\\">\\n <$set name=entryts value=<<todots>> >\\n <$wikify name=\\\"entrymnth\\\" text=\\\"\\\"\\\"<$view tiddler=<<entryts>> field=title format=date template=YYYY0MM />\\\"\\\"\\\">\\n <$checkbox tiddler=<<TiddlerTasksStatus>> \\n index=<<entryts>> \\n checked=\\\"done\\\" \\n unchecked=\\\"pending\\\" \\n default=\\\"pending\\\"\\n checkactions=<<DN-todo-done>> \\n uncheckactions=<<DN-todo-undone>> > \\n </$checkbox>\\n </$wikify>\\n </$set>\\n</$list>\\n<$list filter=\\\"\\\"\\\"[<__isTodoTab__>match[false]]\\\"\\\"\\\" variable=entryts>\\n <$set name=entryts filter=\\\"[<entryTime>split[dn-ts ]butfirst[]] +[removesuffix[>>'']]\\\" >\\n <$wikify name=\\\"entrymnth\\\" text=\\\"\\\"\\\"<$view tiddler=<<entryts>> field=title format=date template=YYYY0MM />\\\"\\\"\\\">\\n <$checkbox tiddler=<<TiddlerTasksStatus>> \\n index=<<entryts>> \\n checked=\\\"done\\\" \\n unchecked=\\\"pending\\\" \\n default=\\\"pending\\\"\\n checkactions=<<DN-todo-done>> \\n uncheckactions=<<DN-todo-undone>> > \\n </$checkbox>\\n </$wikify>\\n </$set>\\n</$list>\\n\\\\end\\n\\n\\\\define DN-todo-done()\\n<$action-listops \\n $tiddler=<<TiddlerinboxTasksList>>\\n $field=\\\"pending\\\" \\n $subfilter=-$(entryts)$\\n />\\n<$action-listops \\n $tiddler=<<TiddlerinboxTasksList>>\\n $field=\\\"done\\\" \\n $subfilter=$(entryts)$\\n />\\n\\\\end\\n\\n\\\\define DN-todo-undone()\\n<$action-listops \\n $tiddler=<<TiddlerinboxTasksList>>\\n $field=\\\"pending\\\" \\n $subfilter=$(entryts)$\\n />\\n<$action-listops \\n $tiddler=<<TiddlerinboxTasksList>>\\n $field=\\\"done\\\" \\n $subfilter=-$(entryts)$\\n />\\n\\\\end\\n\\n\\\\define get-todoEntry()\\n<$wikify name=\\\"entryTiddler\\\" text=\\\"\\\"\\\"<$view tiddler=<<todots>> field=title format=date template=YYYY0MM0DD />\\\"\\\"\\\">\\n <$set name=Content tiddler=<<entryTiddler>> emptyValue=\\\"\\\" >\\n <$list filter=\\\"[<Content>split[<br />]!is[blank]]\\\" variable=\\\"entry\\\">\\n <$vars entryTime={{{ [<entry>split[~]first[]trim[]] }}} entryData={{{ [<entry>split[~]butfirst[]trim[]] }}} >\\n <$set name=entryts filter=\\\"[<entryTime>split[dn-ts ]butfirst[]] +[removesuffix[>>'']]\\\">\\n <$list filter=\\\"[<todots>match<entryts>]\\\">\\n <$vars entryData = {{{ [<entryData>split[/todo]trim[]join[]trim[]] }}} >\\n <<entryData>>\\n </$vars>\\n </$list>\\n </$set>\\n </$vars>\\n </$list>\\n </$set>\\n</$wikify>\\n\\\\end\\n\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/functions/todo\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200603105940217\"\n },\n \"$:/ak/plugins/DailyNotes/viewTasks\": {\n \"created\": \"20200603041923083\",\n \"creator\": \"akhater\",\n \"text\": \"<$list filter=\\\"[enlist{$:/ak/plugins/DailyNotes/Tasks/Lists/inbox!!pending}]\\\" variable=todots>\\n<<DN-todo-checkbox true>> <<get-todoEntry>> <br />\\n</$list>\",\n \"bag\": \"default\",\n \"revision\": \"0\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/viewTasks\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200603111359035\",\n \"caption\": \"Pending Tasks\"\n },\n \"$:/ak/plugins/DailyNotes/ui/tabs\": {\n \"text\": \"<$vars hasTasks={{{ [enlist{$:/ak/plugins/DailyNotes/Tasks/Lists/inbox!!pending}] +[then[$:/ak/plugins/DailyNotes/viewTasks]else[]] }}} >\\n <$macrocall $name=\\\"tabs\\\" tabsList=\\\"[enlist[$:/ak/plugins/DailyNotes/viewEntries]][enlist<hasTasks>]\\\" default=\\\"$:/ak/plugins/DailyNotes/viewEntries\\\" />\\n</$vars>\\n\\n\\n\",\n \"bag\": \"default\",\n \"revision\": \"1\",\n \"type\": \"text/vnd.tiddlywiki\",\n \"title\": \"$:/ak/plugins/DailyNotes/ui/tabs\",\n \"tags\": \"\",\n \"modifier\": \"akhater\",\n \"modified\": \"20200604094220657\",\n \"creator\": \"akhater\",\n \"created\": \"20200603110138825\"\n },\n \"$:/config/ShortcutInfo/DailyNotes\": {\n \"created\": \"20200509171443220\",\n \"text\": \"Calls the Daily Notes Tiddler\",\n \"tags\": \"\",\n \"title\": \"$:/config/ShortcutInfo/DailyNotes\",\n \"modified\": \"20200509171522039\"\n },\n \"$:/config/shortcuts/DailyNotes\": {\n \"created\": \"20200509171534672\",\n \"text\": \"alt+q\",\n \"tags\": \"\",\n \"title\": \"$:/config/shortcuts/DailyNotes\",\n \"modified\": \"20200509171556646\"\n }\n }\n}","bag":"default","revision":"1","version":"0.0.32","type":"application/json","title":"$:/ak/plugins/DailyNotes","plugin-type":"plugin","name":"DailyNotes","modifier":"akhater","modified":"20200605222047223","list":"readme change.log","description":"Interstitial Journaling Plugin","creator":"akhater","created":"20200509172404131"}]