-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a122c95
commit d65feb0
Showing
23 changed files
with
157 additions
and
174 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/UnderIdea/AddIntention | ||
caption: {{$:/core/images/tag-button}} 回路或项目 | ||
tags: $:/tags/TFT/UnderIntention | ||
|
||
<style> | ||
.parent { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
grid-template-rows: 1fr; | ||
grid-column-gap: 10px; | ||
grid-row-gap: 0px; | ||
} | ||
.div1 { grid-area: 1 / 1 / 2 / 2; } | ||
.div2 { grid-area: 1 / 2 / 2 / 3; } | ||
</style> | ||
<div class="parent"> | ||
<div class="div1"> | ||
<$select tiddler='$:/state/tft/meaning' field='testing' multiple size='8' class="w-100"> | ||
<$list filter='[tft{$:/plugins/mabuqian/time-for-task/Config/resonance-tft}] [tft{$:/plugins/mabuqian/time-for-task/Config/project-tft}]'> | ||
<option><$view field='title'/></option> | ||
</$list> | ||
</$select> | ||
<$button> | ||
<$action-setfield tags={{{ [[$:/state/tft/meaning]get[testing]] }}} /> | ||
确认添加 | ||
</$button> | ||
</div> | ||
<div class="div2"> | ||
<$edit-text field="tags" class="w-100" tag=textarea/> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/UnderIdea | ||
list-after: $:/plugins/mabuqian/time-for-task/ViewTemplate/super-tag | ||
tags: $:/tags/ViewTemplate | ||
|
||
\import [[$:/plugins/mabuqian/time-for-task/Sidebar/Buttons]] [[$:/plugins/mabuqian/time-for-task/Components/Buttons]] [[$:/plugins/mabuqian/time-for-task/Components/Buttons/converted]] | ||
|
||
<$let graphRootTiddler=<<currentTiddler>> > | ||
<$list filter="[all[current]tft{$:/plugins/mabuqian/time-for-task/Config/idea-tft}then<graphRootTiddler>]"> | ||
|
||
<<idea-converted-to-task>> | ||
|
||
<details> | ||
<summary>查看更多信息</summary> | ||
|
||
{{||$:/plugins/mabuqian/time-for-task/ViewTemplate/UnderIdea/AddIntention}} | ||
|
||
</details> | ||
|
||
</$list> | ||
</$let> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/time-for-task/ViewTemplate/UnderProject/AddIntentionOrResonance.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
src/time-for-task/ViewTemplate/UnderProject/IdeaDynamicTable.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: $:/plugins/mabuqian/time-for-task/ViewTemplate/IdeaDynamicTable | ||
caption: {{$:/plugins/mabuqian/time-for-task/Images/idea}} 想法列表 | ||
tags: $:/tags/TFT/UnderProject | ||
|
||
\import [[$:/plugins/mabuqian/time-for-task/filters/leaf-task]] | ||
|
||
\define get-non-completed-leaf-ideas() [tag<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/idea-tft}] | ||
|
||
<$macrocall $name=aggregation filter=<<get-non-completed-leaf-ideas>> defaultFields={{$:/plugins/mabuqian/time-for-task/Config/defaultFields-ideaDynamicTable}} class="w-100" state="TFT-TaskDynamicTable-state" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/time-for-task/ViewTemplate/UnderProject/UnderProjectTag.tid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
title: $:/tags/TFT/UnderProject | ||
list: $:/plugins/mabuqian/time-for-task/ViewTemplate/TaskDynamicTable $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectTaskCompletedDynamicTable $:/plugins/mabuqian/time-for-task/ViewTemplate/UnderProject/AddIntentionOrResonance $:/plugins/mabuqian/time-for-task/ViewTemplate/project-echarts | ||
list: $:/plugins/mabuqian/time-for-task/ViewTemplate/TaskDynamicTable $:/plugins/mabuqian/time-for-task/ViewTemplate/ProjectTaskCompletedDynamicTable $:/plugins/mabuqian/time-for-task/ViewTemplate/IdeaDynamicTable $:/plugins/mabuqian/time-for-task/ViewTemplate/UnderProject/AddIntentionOrResonance $:/plugins/mabuqian/time-for-task/ViewTemplate/project-echarts | ||
|
||
Tiddler with this tag will show in the section under project tiddler, become one of the tabs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
title: $:/plugins/mabuqian/time-for-task/Components/Buttons/converted | ||
|
||
\define task-converted-to-project() | ||
<$list filter="[<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/task-tft}!tft{$:/plugins/mabuqian/time-for-task/Config/project-tft}]" variable="ignore"> | ||
<$button tooltip="设为项目" aria-label="设为项目" > | ||
<$action-setfield tft={{$:/plugins/mabuqian/time-for-task/Config/project-tft}} /> | ||
<$action-setfield super-tag={{$:/plugins/mabuqian/time-for-task/Config/project-tft}} /> | ||
{{$:/plugins/mabuqian/time-for-task/Images/SetAsProject}} 设为项目 | ||
</$button> | ||
</$list> | ||
\end | ||
|
||
\define project-converted-to-task() | ||
<$list filter="[<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/project-tft}]" variable="ignore"> | ||
<$button tooltip="把项目改成任务" aria-label="把项目改成任务" > | ||
<$set name="super-tag" filter="[{$:/plugins/mabuqian/time-for-task/Config/time-tft}] [{$:/plugins/mabuqian/time-for-task/Config/task-tft}]"> | ||
<$action-setfield tft={{$:/plugins/mabuqian/time-for-task/Config/task-tft}} /> | ||
<$action-setfield super-tag=<<super-tag>> /> | ||
{{$:/plugins/mabuqian/time-for-task/Images/SetAsNotProject}} 设为任务 | ||
</$set> | ||
</$button> | ||
</$list> | ||
\end | ||
|
||
\define idea-converted-to-task() | ||
<$list filter="[<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/idea-tft}]"> | ||
<$button tooltip="设为任务" aria-label="设为任务" > | ||
<$action-setfield | ||
tft={{$:/plugins/mabuqian/time-for-task/Config/task-tft}} | ||
super-tag={{$:/plugins/mabuqian/time-for-task/Config/task-tft}} | ||
tmo_taskState="New" | ||
tmo_priority="Medium" | ||
/> | ||
{{$:/plugins/mabuqian/time-for-task/Images/ToggleTask}} 设为任务 | ||
</$button> | ||
</$list> | ||
\end | ||
|
||
\define resonance-converted-to-intention() | ||
<$list filter="[<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/resonance-tft}]"> | ||
<$button tooltip="设为意义" aria-label="设为意义" > | ||
<$action-setfield | ||
tft={{$:/plugins/mabuqian/time-for-task/Config/intention-tft}} | ||
/> | ||
{{$:/plugins/mabuqian/time-for-task/Images/Motivation}} 设为意义 | ||
</$button> | ||
</$list> | ||
\end | ||
|
||
\define intention-converted-to-resonance() | ||
<$list filter="[<currentTiddler>tft{$:/plugins/mabuqian/time-for-task/Config/intention-tft}]"> | ||
<$button tooltip="设为回路" aria-label="设为回路" > | ||
<$action-setfield | ||
tft={{$:/plugins/mabuqian/time-for-task/Config/resonance-tft}} | ||
/> | ||
{{$:/plugins/mabuqian/time-for-task/Images/resonance}} 设为回路 | ||
</$button> | ||
</$list> | ||
\end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.