From e5bd3719efc96990108c158b0da6ee30ebead2e5 Mon Sep 17 00:00:00 2001 From: Ben Hong Date: Thu, 5 Sep 2024 09:07:30 -0700 Subject: [PATCH] feat: update daily and weekly note templates --- templates/Daily Note (Template).md | 118 +++++++++++++++++++++++----- templates/Weekly Note (Template).md | 66 +++++++++------- 2 files changed, 138 insertions(+), 46 deletions(-) diff --git a/templates/Daily Note (Template).md b/templates/Daily Note (Template).md index a83477e..c06c32e 100644 --- a/templates/Daily Note (Template).md +++ b/templates/Daily Note (Template).md @@ -1,45 +1,127 @@ ---- -uuid: <% moment(tp.file.title).format("YYYYMMDDHHmmss") %> -created: <% tp.file.creation_date("YYYY-MM-DDTHH:mm:ss") %> -updated: <% tp.file.last_modified_date("YYYY-MM-DDTHH:mm:ss") %> -alias: -- "<% moment(tp.file.title).format("MMMM Do, YYYY") %>" -- "<% moment(tp.file.title).format("dddd Do MMMM, YYYY") %>" ---- +<% tp.file.include("[[Daily Note Frontmatter (Section Template)]]") %> +## 🤔 Looking Back... -# [[<% tp.file.title %>|<% moment(tp.file.title).format("MMMM Do, YYYY") %>]] +**Three years ago:** + +![[<% tp.date.now("YYYY-MM-DD", "P-3Y", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +**Two years ago:** + +![[<% tp.date.now("YYYY-MM-DD", "P-2Y", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +**A year ago:** + +![[<% tp.date.now("YYYY-MM-DD", "P-1Y", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +**4 weeks ago:** + +![[<% tp.date.now("YYYY-MM-DD", "P-4W", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +**Last week:** + +![[<% tp.date.now("YYYY-MM-DD", "P-1W", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +**Yesterday:** + +![[<% tp.date.now("YYYY-MM-DD", "P-1D", tp.file.title, "YYYY-MM-DD") %>#📑 Summary]] + +<% tp.file.include('[[Journal Summary (Section Template)]]') %> + +## 🎯 Objectives + +*What am I working towards?* + +### 🐉 Personal + +- [ ] +- [ ] +- [ ] + +### 💼 Work + +- [ ] +- [ ] +- [ ] + +### 🤝 Connections + +- [ ] ## 🕰️ Timeline *A representation of the activities for the day.* +### 🗓️ All Day + ### ✨ Morning -- **07:00AM to 08:00PM** -- **08:00AM to 09:00PM** -- **09:00AM to 10:00PM** -- **10:00AM to 11:00PM** +- **06:00AM to 07:00AM** + - [ ] + - [ ] +- **07:00AM to 08:00AM** + - [ ] + - [ ] +- **08:00AM to 09:00AM** + - [ ] + - [ ] +- **09:00AM to 10:00AM** + - [ ] + - [ ] +- **10:00AM to 11:00AM** + - [ ] + - [ ] - **11:00AM to 12:00PM** + - [ ] + - [ ] ### 🌤️ Afternoon - **12:00PM to 01:00PM** + - [ ] + - [ ] - **01:00PM to 02:00PM** + - [ ] + - [ ] - **02:00PM to 03:00PM** + - [ ] + - [ ] - **03:00PM to 04:00PM** + - [ ] + - [ ] - **04:00PM to 05:00PM** + - [ ] + - [ ] +- **05:00PM to 06:00PM** + - [ ] + - [ ] ### 🌙 Evening -- **05:00PM to 06:00PM** - **06:00PM to 07:00PM** + - [ ] - **07:00PM to 08:00PM** + - [ ] - **08:00PM to 09:00PM** + - [ ] + - [ ] - **09:00PM to 10:00PM** + - [ ] + - [ ] ---- +## 📊 Metrics -## 📇 Additional Metadata +- 🌦️ Forecast: 16 hrs (6:00AM to 10:00PM) + - 🐉 Personal: ❓ hrs + - 💼 Work: ❓ hrs + - 🤝 Connection:: ❓ hrs + - 🛡️ Buffer:: ❓ hrs +- 📖 Log: ❓ hrs (❓ to ❓) + - 🐉 Personal: ❓ hrs + - 💼 Work: ❓ hrs + - 🤝 Connection:: ❓ hrs -- 🗓️ Week:: [[<% moment(tp.file.title).format("YYYY-[W]ww") %>]] -- 🗂 Type:: #type/timeline/daily +## 📝 Notes +```dataview +LIST +WHERE file.cday = this.file.day +``` \ No newline at end of file diff --git a/templates/Weekly Note (Template).md b/templates/Weekly Note (Template).md index b8ad478..d52fc39 100644 --- a/templates/Weekly Note (Template).md +++ b/templates/Weekly Note (Template).md @@ -1,47 +1,57 @@ --- -uuid: <% tp.date.now("YYYYMMDDHHmmss") %> -created: <% tp.file.creation_date("YYYY-MM-DDTHH:mm:ss") %> -updated: <% tp.file.last_modified_date("YYYY-MM-DDTHH:mm:ss") %> -alias: +uuid: <% tp.file.creation_date("YYYYMMDDHHmmss") %> +created-on: <% tp.file.creation_date("YYYY-MM-DDTHH:mm:ss") %> +last-modified-on: <% tp.file.last_modified_date("YYYY-MM-DDTHH:mm:ss") %> +aliases: +tags: + - type/timeline/weekly +week: +startDate: +endDate: +status: 📤 Upcoming +related: [] --- +## 🎯 Objectives -# [[<% tp.file.title %>]] +### 🐉 Personal + +- [ ] +- [ ] +- [ ] + +### 💼 Work + +1. *Determine key objectives for each project* +2. *Assign 10 hours of research to learn something new* + +- [ ] +- [ ] +- [ ] -## 📋 Tasks +### 🤝 Connections -- [ ] Review calendar for the week -- [ ] Determine what outcomes are relevant for this week +- [ ] ## 📝 Notes -### ⛰ Obstacles - -_What challenges presented themselves this week?_ - - -### 🎒 Lessons Learned +## 📌 Pinned -_What would I like to do better next week?_ - -- - -### 📖 Miscellaneous - -- +```dataview +TABLE WITHOUT ID link(file.link, aliases[2]) as Day, Pinned +FROM #type/timeline/daily +WHERE contains(related, [[<% tp.file.title %>]]) AND pinned +SORT file.name +``` ## 🗓️ Daily Notes ```dataview -LIST +TABLE WITHOUT ID link(file.link, file.aliases[2]) as Date, status as "Status" FROM #type/timeline/daily -WHERE week = [[<%tp.date.now("YYYY")%>-W<%tp.date.now("ww")%>]] +WHERE contains(related, [[<% tp.file.title %>]]) +SORT date(file.name) ASC ``` ---- - -## 📇 Additional Metadata - -- 🗂 Type:: #type/timeline/weekly -- 🗓️ Week:: <% tp.date.now("ww") %>