update: Templates

This commit is contained in:
Mathis Gauthey
2024-01-04 11:08:48 +01:00
parent 0a7bd6346c
commit 3145e808a4
8 changed files with 1088 additions and 180 deletions

View File

@@ -10,8 +10,6 @@ share: false
# <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
Hi partner, today is <% moment(tp.file.title, "YYYY-MM-DD").format("dddd") %>.
<%*
const currentMoment = moment(tp.file.title, "YYYY-MM-DD");
const hash = '# ';
@@ -23,140 +21,201 @@ 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|[Week] WW') + ']]';
tR += rightAngle;
tR += '\n';
tR += '\n';
tR += leftAngle;
currentMoment.add(-1,'days');
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]' + pipe;
tR += '[[' + currentMoment.format('YYYY-MM-DD|dddd Do') + ']]' + pipe;
currentMoment.add(1,'days');
tR += currentMoment.format('YYYY-MM-DD') + pipe;
tR += currentMoment.format('dddd Do') + pipe;
currentMoment.add(1,'days');
tR += '[[' + currentMoment.format('YYYY-MM-DD') + ']]';
tR += '[[' + currentMoment.format('YYYY-MM-DD|dddd Do') + ']]';
currentMoment.add(-1,'days');
tR += rightAngle;
%>
[[Dashboard 🗺️]] & [[TaskBoard ✅]]
## Today 🔆
> [!EXAMPLE]- Ongoing Medias 🎮
> ![[Ongoing Medias 🎮#Ongoing Medias 🎮]]
> [!INFO]- Time left ⏱
> ![[Time Left ⏱#Time Left ⏱]]
> [!QUOTE]- Google Calendar 📅
> ![[Google Calendar Weekly View 📅#Google Calendar Weekly View 📅]]
> [!QUOTE]- Tasks Calendar ✅
> ![[Tasks Calendar Weekly View ✅#Tasks Calendar Weekly View ✅]]
> [!EXAMPLE]- Ongoing & Upcoming Projects 🎯
> [!CHECK]+ Super Productivity ☑️
>
> ```tasks
> not done
> path includes 2-Areas
> (status.type is IN_PROGRESS) OR (happens in <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY") %>)
> group by function (!task.due.moment) ? '%%4%% ==Undated==' : result = task.due.moment.isBefore('<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>', 'day') ? '%%1%% ==Overdue==' : result = task.due.moment.isSame('<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>', 'day') ? '%%2%% ==Today==' : '%%3%% ==Future=='
> group by happens
> (happens on or before <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>) OR (status.type is IN_PROGRESS)
> (heading does not include Focus) AND (heading does not include Goals)
> group by function (!task.description.includes("[[")) ? 'Tasks' : 'Projects'
> group by function (task.happens.moment?.isBefore("<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>", 'day')) ? 'Overdue' : 'Today'
> ```
> [!IMPORTANT]+ Short Next Actions 🏃
>
> ```tasks
> not done
> description does not include ]]
> tags include #next
> short mode
> group by function task.tags.filter( (tag) => tag.includes("#next") )
> ```
## Notes 📝
![[0-Inbox 📥#0-Inbox 📥]]
```todoist
name: Inbox
filter: "#Inbox"
```
> [!DANGER]+ Overdue
## Dashboard 🗺️
> [!DANGER]+ Overdue 📆
>
> ```tasks
> not done
> is not recurring
> path does not include 2-Areas
> description does not include ]]
> happens before <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by happens
> ```
> [!CHECK]+ Do Today
> [!CHECK]+ Do Today 📅
>
> ```tasks
> not done
> is not recurring
> path does not include 2-Areas
> description does not include ]]
> happens on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename
> ```
> [!WARNING]+ Upcoming
> [!WARNING]+ Upcoming 🗓️
>
> ```tasks
> not done
> is not recurring
> path does not include 2-Areas
> description does not include ]]
> happens in <% moment(tp.file.title, "YYYY-MM-DD").add(1,"days").format("YYYY-MM-DD") %> <% moment(tp.file.title, "YYYY-MM-DD").add(30,"days").format("YYYY-MM-DD") %>
> group by function task.happens.format("YYYY [Week] WW")
> group by happens
> ```
> [!IMPORTANT]- Next Actions
> [!TODO]+ Recurring 🔁
>
> ```tasks
> not done
> path does not include 2-Areas
> is recurring
> filter by function task.happens.moment?.isSameOrBefore('<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>', 'day') || false
> group by filename
> ```
> [!IMPORTANT]+ Next Actions 🏃
>
> ```tasks
> not done
> description does not include ]]
> tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
> ```
> [!QUESTION]- Waiting For
> [!EXAMPLE]+ Upcoming Projects (by date) 🎯
>
> ```tasks
> not done
> path does not include 2-Areas
> 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
> [!BUG]+ Delegated 👷‍♂️
>
> ```tasks
> not done
> path does not include 2-Areas
> description does not include ]]
> tags include #delegated
> group by filename
> ```
> [!MISSING]- Task Log
> [!SUMMARY]+ Higher Focus 🔥 & Goals 🎯
>
> ```tasks
> path does not include 2-Areas
> 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
> ```
## Passions 🎮
> [!QUOTE]+ Ongoing Passions 🎮
>
> ```tasks
> not done
> filename includes Passions Backlog 🎮
> heading includes Doing
> group by heading
> ```
## Logs 🪵
> [!NOTE]+ Projects Created
>
> ```tasks
> not done
> is not recurring
> description includes ]]
> created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename
> ```
> [!NOTE]+ Tasks Created
>
> ```tasks
> not done
> is not recurring
> description does not include ]]
> created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename
> ```
> [!MISSING]+ Projects Graveyard 🪦
>
> ```tasks
> description includes ]]
> done on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename
> ```
> [! ABSTRACT]+ Workout Log 💪
> ```dataview
> LIST
> FROM "-Workout_Log"
> WHERE contains(file.name, "<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>")
> [!MISSING]+ Tasks Log
>
> ```tasks
> description does not include ]]
> done on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename
> ```
> [!TODO]+ Recurring
> ```tasks
> not done
> is recurring
> filter by function task.due.moment?.isSameOrBefore('<% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>', 'day') || false
> group by filename
> ```
## Daily Focus 🔥 & Goals 🎯
## Journal 📔
Mood::
An Interesting Title :
An Interesting Title :
Accomplishments | Failures | Lessons learned | Good and king things I did | Positive and grateful for :
-
Decisions I made :
-
Positive and grateful for things :
1.
Good and kind things I did :
1.
<% await tp.file.move("/-Daily-Notes/" + tp.file.title) %>