Files
obsidian-workflow-template/5-Templates/Monthly-Notes.md
2024-01-05 18:37:05 +01:00

6.8 KiB
Raw Blame History

title, date, lastmod, categories, tags, aliases, share
title date lastmod categories tags aliases share
<% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %> <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %> <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %> monthly-notes false

<% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>

<%* const currentMoment = moment(tp.file.title, "YYYY-MM"); const hash = '# '; const slash = ' / '; const pipe = ' | '; const leftAngle = ' '; const rightAngle = ' '; tR += leftAngle; tR += '' + currentMoment.format('YYYY') + '' + slash; tR += '' + currentMoment.format('YYYY-[Q]Q' + slash; tR += '' + currentMoment.format('YYYY-MM'; tR += rightAngle; tR += '\n'; tR += '\n'; tR += leftAngle; currentMoment.add(-1,'months'); tR += '' + currentMoment.format('YYYY-MM' + pipe; currentMoment.add(1,'months'); tR += currentMoment.format('MMMM') + pipe; currentMoment.add(1,'months'); tR += '' + currentMoment.format('YYYY-MM'; currentMoment.add(-1,'months'); tR += rightAngle; tR += '\n'; tR += '\n'; tR += leftAngle; const thisMonth = currentMoment.month(); currentMoment.startOf('week'); do { tR += '' + currentMoment.format('GGGG-[W]WW'; currentMoment.add(1,'weeks'); if (currentMoment.month() == thisMonth) { tR += pipe} } while (currentMoment.month() == thisMonth) currentMoment.subtract(1, 'weeks'); tR += rightAngle; %>

Dashboard 🗺️

await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sources' && f.folder != '4-Archives' && f.folder != '5-Templates').tasks.where(t => !t.text.includes('🔁'))", view: "month", firstDayOfWeek: "1", options: "style9 filter", dailyNoteFolder: "-Daily-Notes"})

[!CHECK]+ Projects 🎯

not done
is not recurring
description includes ]]
filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>', 'month') || false
group by happens

[!CHECK]+ Tasks

not done
is not recurring
description does not include ]]
filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>', 'month') || false
group by happens

[!TODO]+ Recurring 🔁

not done
is recurring
filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>', 'month') || false
group by happens

[!IMPORTANT]+ Next Actions 🏃

not done
description does not include ]]
tags include #next
group by function task.tags.filter( (tag) => ! tag.includes("#next") )

[!EXAMPLE]+ Upcoming Projects (by date) 🎯

not done
description includes ]]
filename does not include Passions Backlog 🎮
(heading does not include Focus) AND (heading does not include Goals)
group by function (!task.happens.moment) ? '%%4%% *Undated*' : result = task.happens.moment.isBefore(moment(), 'day') ? '%%1%% ==Overdue==' : result = task.happens.moment.isSame(moment(), 'day') ? '%%2%% **Today**' : '%%3%% Future'
group by function task.happens.format("YYYY > 0Q[ - Quarter] > MM[ - ]MMMM > [Week] WW", task.priorityNameGroupText)
group by function task.happens.format("YYYY-MM-DD dddd")

[!QUESTION]+ Waiting For 💤

not done
description does not include ]]
tags include #waiting
group by filename

[!BUG]+ Delegated 👷‍♂️

not done
description does not include ]]
tags include #delegated
group by filename

[!SUMMARY]+ Higher Focus 🔥 & Goals 🎯

not done
(path includes -Daily-Notes) OR (path includes -Periodic-Notes)
(heading includes Focus) AND (heading includes Goals)
group by function '%%' + (task.heading.includes("Yearly Focus 🔥 & Goals 🎯") ? "1" : task.heading.includes("Quarterly Focus 🔥 & Goals 🎯") ? "2" : task.heading.includes("Monthly Focus 🔥 & Goals 🎯") ? "3" : task.heading.includes("Weekly Focus 🔥 & Goals 🎯") ? "4" : task.heading.includes("Daily Focus 🔥 & Goals 🎯") ? "5" : "6") + '%%' + task.heading + " > " + task.file.filenameWithoutExtension + " > " + task.tags

Underground 🚇

[!EXAMPLE]+ Upcoming Projects (by priority) 🎯

not done
description includes ]]
filename does not include Passions Backlog 🎮
(heading does not include Focus) AND (heading does not include Goals)
group by priority

[!EXAMPLE]+ Upcoming Projects (by areas) 🎯

not done
description includes ]]
filename does not include Passions Backlog 🎮
(heading does not include Focus) AND (heading does not include Goals)
group by filename

[!INFO]+ Projects On Hold 🎯

description includes ]]
status.type is NON_TASK
group by filename

[!INFO]+ Tasks On Hold

description does not include ]]
status.type is NON_TASK
group by filename

[!INFO]+ Unplanned Projects 🎯

not done
description includes ]]
filename does not include Passions Backlog 🎮
(heading does not include Focus) AND (heading does not include Goals)
(status.type is TODO) AND (no happens date)
group by filename
sort by created

[!INFO]+ Unplanned One-Off Tasks

not done
is not recurring
description does not include ]]
path includes -Daily-Notes
(heading does not include Focus) AND (heading does not include Goals)
(status.type is TODO) AND (no tags) AND (no happens date)
group by filename
sort by created

[!INFO]+ Unplanned Projects Tasks

not done
is not recurring
description does not include ]]
(path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
filename does not include Passions Backlog 🎮
(status.type is TODO) AND (no tags) AND (no happens date)
group by filename
sort by created

Logs 🪵

[!NOTE]+ Projects Created

not done
is not recurring
description includes ]]
created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
group by created

[!NOTE]+ Tasks Created

not done
is not recurring
description does not include ]]
created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
group by created

[!MISSING]+ Projects Graveyard 🪦

description includes ]]
is not recurring
done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
group by done

[!MISSING]+ Tasks Log

description does not include ]]
is not recurring
done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
group by done

Monthly Focus 🔥 & Goals 🎯

  • Add some C.S.S (Continue Start Stop) with Habits & DWI.

Journal 📔

An Interesting Title :

<% await tp.file.move("/-Periodic-Notes/" + tp.file.title) %>