From 79e3d1469878b0d86580192886c250df3ccff2be Mon Sep 17 00:00:00 2001 From: Mario Pietsch Date: Tue, 20 Jan 2026 13:23:17 +0100 Subject: [PATCH] [DOCS] Make TaskManagementExamples more "hackable" (#9482) * [DOCS] Make TaskManagementExamples more "hackable" * Update modified date in TaskManagementExample.tid * Fix modified date in TaskManagementExampleDraggable --- .../Tasks/TaskManagementExample.tid | 18 +++++++++--------- .../Tasks/TaskManagementExampleDraggable.tid | 10 +++++++--- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid b/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid index 4e66bb9fc..ab3520bf8 100644 --- a/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid +++ b/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExample.tid @@ -4,22 +4,22 @@ tags: Learning title: TaskManagementExample type: text/vnd.tiddlywiki -TiddlyWiki5 can be used as a simple task management system without further customisation. The idea is that tasks be tagged `task`, with those that are completed also tagged `done`. In this way it is straightforward to generate task lists. +TiddlyWiki5 can be used as a simple task management system without further customisation.
The idea is that tasks be tagged `task`, with those that are completed also tagged `done`. In this way it is straightforward to generate task lists. <<.tip """There is [[an enhanced version of this demo|TaskManagementExample (Draggable)]] that adds the ability to drag and drop the tasks to re-order them.""">> ! Outstanding tasks -<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]"> - -<$checkbox tag="done"> <$link/> - +<$macrocall $name='wikitext-example-without-html' +src="""<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]"> +<$checkbox tag="done"> <$link/>
+"""/> ! Completed tasks -<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]"> - -<$checkbox tag="done"> ~~<$link/>~~ - +<$macrocall $name='wikitext-example-without-html' +src="""<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]"> +<$checkbox tag="done"> ~~<$link/>~~
+"""/> diff --git a/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid b/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid index 4ec1de69a..17e7be354 100644 --- a/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid +++ b/editions/tw5.com/tiddlers/demonstrations/Tasks/TaskManagementExampleDraggable.tid @@ -4,20 +4,24 @@ tags: Learning title: TaskManagementExample (Draggable) type: text/vnd.tiddlywiki -This is a version of the TaskManagementExample enhanced with the ability to drag and drop the task list to re-order them. +This is a version of the TaskManagementExample enhanced with the ability to drag and drop the task list to re-order them.
The list uses a the itemTemplate [[TaskManagementExampleDraggableTemplate]] tiddler, which you will also need to experiment yourself. ! Outstanding tasks -//Drag the tasks to re-order them// +<$macrocall $name='wikitext-example-without-html' +src="""//Drag the tasks to re-order them// <> +"""/> ! Completed tasks -//(Listed in reverse order of completion)// +<$macrocall $name='wikitext-example-without-html' +src="""//(Listed in reverse order of completion)// <$list filter="[!has[draft.of]tag[task]tag[done]sort[modified]]">
<$checkbox tag="done"> ~~<$link/>~~
+"""/>