update: Templates
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
---
|
||||
title: <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>
|
||||
title: <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
date: <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %>
|
||||
lastmod: <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %>
|
||||
categories:
|
||||
categories:
|
||||
tags: weekly-notes
|
||||
aliases:
|
||||
share: false
|
||||
aliases:
|
||||
share: false
|
||||
---
|
||||
|
||||
# <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>
|
||||
# <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
|
||||
<%*
|
||||
const currentMoment = moment(tp.file.title, "gggg-[W]ww");
|
||||
const currentMoment = moment(tp.file.title, "GGGG-[W]WW");
|
||||
const hash = '# ';
|
||||
const slash = ' / ';
|
||||
const pipe = ' | ';
|
||||
@@ -21,59 +21,247 @@ tR += leftAngle;
|
||||
tR += '[[' + currentMoment.format('YYYY') + ']]' + slash;
|
||||
tR += '[[' + currentMoment.format('YYYY-[Q]Q|[Q]Q') + ']]' + slash;
|
||||
tR += '[[' + currentMoment.format('YYYY-MM|MMMM') + ']]' + slash;
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + '|' + currentMoment.format('[Week] ww') + ']]';
|
||||
tR += '[[' + currentMoment.format('GGGG-[W]WW') + '|' + currentMoment.format('[Week] WW') + ']]';
|
||||
tR += rightAngle;
|
||||
tR += '\n';
|
||||
tR += '\n';
|
||||
tR += leftAngle;
|
||||
currentMoment.add(-1,'weeks');
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + ']]' + pipe;
|
||||
tR += '[[' + currentMoment.format('GGGG-[W]WW|[Week] WW') + ']]' + pipe;
|
||||
currentMoment.add(1,'weeks');
|
||||
tR += currentMoment.format('gggg-[W]ww') + pipe;
|
||||
tR += currentMoment.format('[Week] WW') + pipe;
|
||||
currentMoment.add(1,'weeks');
|
||||
tR += '[[' + currentMoment.format('gggg-[W]ww') + ']]';
|
||||
tR += '[[' + currentMoment.format('GGGG-[W]WW|[Week] WW') + ']]';
|
||||
currentMoment.add(-1,'weeks');
|
||||
tR += rightAngle;
|
||||
tR += '\n';
|
||||
tR += '\n';
|
||||
tR += leftAngle;
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]' + pipe;
|
||||
currentMoment.add(1,'days');
|
||||
tR += '[[' + currentMoment.format('YYYY-MM-DD|ddd Do') + ']]';
|
||||
tR += rightAngle;
|
||||
%>
|
||||
|
||||
> [!INFO]- Time left ⏱
|
||||
> ![[Time Left ⏱#Time Left ⏱]]
|
||||
## Dashboard 🗺️
|
||||
|
||||
> [!QUOTE]- Google Calendar 📅
|
||||
> ![[Google Calendar Weekly View 📅#Google Calendar Weekly View 📅]]
|
||||
|
||||
> [!QUOTE]- Tasks Calendar ✅
|
||||
> ![[Tasks Calendar Weekly View ✅#Tasks Calendar Weekly View ✅]]
|
||||
|
||||
## Projects 🎯
|
||||
|
||||
```tasks
|
||||
not done
|
||||
path includes 2-Areas
|
||||
group by filename
|
||||
sort by happens
|
||||
(happens in <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>) OR (happens before <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>)
|
||||
```dataviewjs
|
||||
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: "week", firstDayOfWeek: "1", options: "style8 filter", dailyNoteFolder: "-Daily-Notes"})
|
||||
```
|
||||
|
||||
## Projects Graveyard 🪦
|
||||
> [!CHECK]+ Projects 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>', 'week') || false
|
||||
> group by happens
|
||||
> ```
|
||||
|
||||
```tasks
|
||||
path includes 2-Areas
|
||||
group by filename
|
||||
sort by done
|
||||
done in <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>
|
||||
```
|
||||
> [!CHECK]+ Tasks ✅
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>', 'week') || false
|
||||
> group by happens
|
||||
> ```
|
||||
|
||||
## Tasks Log ❌
|
||||
> [!TODO]+ Recurring 🔁
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is recurring
|
||||
> filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>', 'week') || false
|
||||
> group by happens
|
||||
> ```
|
||||
|
||||
```tasks
|
||||
path does not include 2-Areas
|
||||
group by filename
|
||||
sort by done
|
||||
done in <% moment(tp.file.title, "gggg-[W]ww").format("gggg-[W]ww") %>
|
||||
```
|
||||
> [!IMPORTANT]+ Next Actions 🏃
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
> ```
|
||||
|
||||
> [!EXAMPLE]+ Upcoming Projects (by date) 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> 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 > Q[ - Quarter] > MM[ - ]MMMM > [Week] WW", task.priorityNameGroupText)
|
||||
> group by function task.happens.format("YYYY-MM-DD dddd")
|
||||
> ```
|
||||
|
||||
> [!QUESTION]+ Waiting For 💤
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!BUG]+ Delegated 👷♂️
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!SUMMARY]+ Higher Focus 🔥 & Goals 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> 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) 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> 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) 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> 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 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> status.type is NON_TASK
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Tasks On Hold ✅
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> status.type is NON_TASK
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Unplanned Projects 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> 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 ✅
|
||||
>
|
||||
> ```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 ✅
|
||||
>
|
||||
> ```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 ➕
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by created
|
||||
> ```
|
||||
|
||||
> [!NOTE]+ Tasks Created ➕
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by created
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Log ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
## Weekly Focus 🔥 & Goals 🎯
|
||||
|
||||
1. `Declutter & mind dump.` (GET CLEAR)
|
||||
2. `Reflect on the past week.` (GET CLEAR)
|
||||
3. `Get current on goals & projects.` (GET CURRENT)
|
||||
4. `Plan the week ahead.` (GET CURRENT)
|
||||
5. `Think bigger.` (GET CREATIVE)
|
||||
|
||||
## Journal 📔
|
||||
|
||||
An Interesting Title :
|
||||
An Interesting Title :
|
||||
|
||||
<% await tp.file.move("/-Periodic-Notes/" + tp.file.title) %>
|
||||
|
||||
Reference in New Issue
Block a user