mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-05 07:31:43 +00:00
[DOCS] Make TaskManagementExamples more "hackable" (#9482)
* [DOCS] Make TaskManagementExamples more "hackable" * Update modified date in TaskManagementExample.tid * Fix modified date in TaskManagementExampleDraggable
This commit is contained in:
@@ -4,22 +4,22 @@ tags: Learning
|
|||||||
title: TaskManagementExample
|
title: TaskManagementExample
|
||||||
type: text/vnd.tiddlywiki
|
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.<br>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.""">>
|
<<.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
|
! Outstanding tasks
|
||||||
|
|
||||||
<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]">
|
<$macrocall $name='wikitext-example-without-html'
|
||||||
|
src="""<$list filter="[!has[draft.of]tag[task]!tag[done]sort[created]]">
|
||||||
<$checkbox tag="done"> <$link/></$checkbox>
|
<$checkbox tag="done"> <$link/></$checkbox><br>
|
||||||
|
|
||||||
</$list>
|
</$list>
|
||||||
|
"""/>
|
||||||
|
|
||||||
! Completed tasks
|
! Completed tasks
|
||||||
|
|
||||||
<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]">
|
<$macrocall $name='wikitext-example-without-html'
|
||||||
|
src="""<$list filter="[!has[draft.of]tag[task]tag[done]sort[created]]">
|
||||||
<$checkbox tag="done"> ~~<$link/>~~</$checkbox>
|
<$checkbox tag="done"> ~~<$link/>~~</$checkbox><br>
|
||||||
|
|
||||||
</$list>
|
</$list>
|
||||||
|
"""/>
|
||||||
|
|||||||
@@ -4,20 +4,24 @@ tags: Learning
|
|||||||
title: TaskManagementExample (Draggable)
|
title: TaskManagementExample (Draggable)
|
||||||
type: text/vnd.tiddlywiki
|
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.<br>The list uses a the itemTemplate [[TaskManagementExampleDraggableTemplate]] tiddler, which you will also need to experiment yourself.
|
||||||
|
|
||||||
! Outstanding tasks
|
! Outstanding tasks
|
||||||
|
|
||||||
//Drag the tasks to re-order them//
|
<$macrocall $name='wikitext-example-without-html'
|
||||||
|
src="""//Drag the tasks to re-order them//
|
||||||
|
|
||||||
<<list-tagged-draggable tag:"task" subFilter:"!has[draft.of]!tag[done]" itemTemplate:"TaskManagementExampleDraggableTemplate" emptyMessage:"You don't have any active tasks">>
|
<<list-tagged-draggable tag:"task" subFilter:"!has[draft.of]!tag[done]" itemTemplate:"TaskManagementExampleDraggableTemplate" emptyMessage:"You don't have any active tasks">>
|
||||||
|
"""/>
|
||||||
|
|
||||||
! Completed tasks
|
! 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]]">
|
<$list filter="[!has[draft.of]tag[task]tag[done]sort[modified]]">
|
||||||
<div>
|
<div>
|
||||||
<$checkbox tag="done"> ~~<$link/>~~</$checkbox>
|
<$checkbox tag="done"> ~~<$link/>~~</$checkbox>
|
||||||
</div>
|
</div>
|
||||||
</$list>
|
</$list>
|
||||||
|
"""/>
|
||||||
|
|||||||
Reference in New Issue
Block a user