vault backup: 2026-03-08 02:22:41

This commit is contained in:
2026-03-08 02:22:41 +01:00
parent 03d3b310a8
commit 6b934edc3a
73 changed files with 65 additions and 223 deletions
+2 -4
View File
@@ -23,12 +23,11 @@ subtitle: <% tp.file.title %>
```dataviewjs
const pages = dv.current().file.inlinks.where(p => dv.page(p.path).tags?.includes('process/task')).where(p => dv.page(p.path).file.tasks.length != dv.page(p.path).file.tasks.where(t => t.fullyCompleted === true).length);
dv.table(["Project", "Status", "Completed", "Tasks"], pages.map(p => {
dv.table(["Project", "Completed", "Tasks"], pages.map(p => {
const page = dv.page(p.path);
const tasks = page.file.tasks;
return [
page.file.link,
page.status,
tasks.where(t => t.fullyCompleted === true).length,
tasks.length
]
@@ -39,12 +38,11 @@ dv.table(["Project", "Status", "Completed", "Tasks"], pages.map(p => {
```dataviewjs
const pages = dv.current().file.inlinks.where(p => dv.page(p.path).tags?.includes('process/task'));
dv.table(["Project", "Status", "Completed", "Tasks"], pages.map(p => {
dv.table(["Project", "Completed", "Tasks"], pages.map(p => {
const page = dv.page(p.path);
const tasks = page.file.tasks;
return [
page.file.link,
page.status,
tasks.where(t => t.fullyCompleted === true).length,
tasks.length
]