Skip to content
This repository has been archived by the owner on Aug 21, 2020. It is now read-only.

Show done actions in project view & two UI tweaks #51

Merged
merged 5 commits into from
Mar 24, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/gsd5/core/ui/cleanup.tid
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ The following actions and projects are older than 14 days and can be possibly de

</div>

<<gsd5-list title:"Completed Actions" gsd_type:"action" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"title" order"ascending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
<<gsd5-list title:"Completed Actions" gsd_type:"action" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>

<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"title" order"ascending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"none" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"!date:gsd_comp_date[14]">>
2 changes: 1 addition & 1 deletion plugins/gsd5/core/ui/lists/completed-action-list.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-action-list
tags: $:/tags/GSD5Lists
caption: Completed Actions

<<gsd5-list title:"Completed Action" gsd_type:"action" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:{{$:/config/GSD5DashboardGroup}} customFilter:"none">>
<<gsd5-list title:"Completed Action" gsd_type:"action" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:{{$:/config/GSD5DashboardGroup}} customFilter:"none">>
2 changes: 1 addition & 1 deletion plugins/gsd5/core/ui/lists/completed-project-list.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ title: $:/plugins/gsd5/core/ui/lists/completed-project-list
tags: $:/tags/GSD5Lists
caption: Completed Projects

<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"active" gsd_complete:"true" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"none">>
<<gsd5-list title:"Completed Projects" gsd_type:"project" gsd_status:"active" gsd_complete:"true" realmAware:"true" sort:"gsd_comp_date" order:"descending" groupBy:"none" customFilter:"none">>
7 changes: 4 additions & 3 deletions plugins/gsd5/core/ui/lists/list-view-suffix.tid
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,16 @@ title: $:/plugins/gsd5/core/ui/lists/ListViewSuffix

<$list filter="[is[current]field:gsd_type[action]]">
<$list filter="[is[current]!field:text[]!field:gsd_complete[true]]">
<$transclude tiddler="$:/plugins/gsd5/core/images/excerpt"/>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/images/excerpt"/></span>
</$list>
<$list filter="[is[current]field:gsd_complete[true]]">
<$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/>
<span class="gsd-muted">(<$view field="gsd_comp_date" format="relativedate"/>)</span>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/></span>
</$list>
</$list>

<$list filter="[is[current]field:gsd_type[project]]">
<$list filter="[is[current]field:gsd_complete[true]]">
<$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/>
<span class="gsd-muted"><$transclude tiddler="$:/plugins/gsd5/core/ui/buttons/delete-tiddler-button"/></span>
</$list>
</$list>
4 changes: 2 additions & 2 deletions plugins/gsd5/core/ui/no-realm.tid
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ The following Actions and Projects do not have a Realm and should be assigned a

</div>

<<gsd5-list title:"Actions With No Realm" gsd_type:"action" gsd_status:"none" gsd_complete:"false" realmAware:"true" sort:"title" order"ascending" groupBy:"none" customFilter:"field:gsd_realm[all]">>
<<gsd5-list title:"Actions With No Realm" gsd_type:"action" gsd_status:"none" gsd_complete:"false" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"field:gsd_realm[all]">>

<<gsd5-list title:"Project With No Realm" gsd_type:"project" gsd_status:"none" gsd_complete:"false" realmAware:"true" sort:"title" order"ascending" groupBy:"none" customFilter:"field:gsd_realm[all]">>
<<gsd5-list title:"Project With No Realm" gsd_type:"project" gsd_status:"none" gsd_complete:"false" realmAware:"true" sort:"title" order:"ascending" groupBy:"none" customFilter:"field:gsd_realm[all]">>
8 changes: 8 additions & 0 deletions plugins/gsd5/core/ui/stylesheet/gsd5-stylesheet.tid
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ tags: $:/tags/Stylesheet
width:100$;
}

.gsd-muted {
color: <<colour muted-foreground>>;
}

.gsd-muted svg {
opacity: 0.25;
}

.gsd-list-title input[type=checkbox]{
display:none;
}
Expand Down
12 changes: 12 additions & 0 deletions plugins/gsd5/core/ui/view-template-addins/project-view-body.tid
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,16 @@ References
</$list>
</div>

<div class="tc-menu-list-item">
Completed Actions
<hr/>
<$list filter=[field:gsd_type[action]field:gsd_complete[true]field:gsd_project{!!title}!sort[gsd_comp_date]]>
<div class="tc-menu-list-subitem">
<$transclude tiddler="$:/plugins/gsd5/core/ui/lists/ListViewPrefix"/>
<span class="list-link"><$link to={{!!title}}><$view field="title"/></$link></span>
<$transclude tiddler="$:/plugins/gsd5/core/ui/lists/ListViewSuffix"/>
</div>
</$list>
</div>

</$list>