Compare commits
10 Commits
cdd49fe40c
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ead0135038 | ||
|
|
6dce0f9cea | ||
|
|
b7252e1909 | ||
|
|
1106b01917 | ||
|
|
16ce2681a4 | ||
|
|
4dbafd948e | ||
|
|
46c14b0366 | ||
|
|
626edd277a | ||
|
|
20d559d0a5 | ||
|
|
eff4fc875b |
35
.github/workflows/release.yml
vendored
Normal file
35
.github/workflows/release.yml
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
name: Release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main # or master
|
||||
|
||||
permissions:
|
||||
contents: read # for checkout
|
||||
|
||||
jobs:
|
||||
release:
|
||||
name: Release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write # to be able to publish a GitHub release
|
||||
issues: write # to be able to comment on released issues
|
||||
pull-requests: write # to be able to comment on released pull requests
|
||||
id-token: write # to enable use of OIDC for npm provenance
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: "lts/*"
|
||||
- name: Install dependencies
|
||||
run: npm clean-install
|
||||
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
|
||||
run: npm audit signatures
|
||||
- name: Release
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: npx semantic-release
|
||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
node_modules/
|
||||
26
.releaserc
Normal file
26
.releaserc
Normal file
@@ -0,0 +1,26 @@
|
||||
{
|
||||
"branches": [
|
||||
"main"
|
||||
],
|
||||
"tagFormat": "${version}",
|
||||
"debug": true,
|
||||
"ci": true,
|
||||
"dryRun": false,
|
||||
"plugins": [
|
||||
[
|
||||
"@semantic-release/commit-analyzer",
|
||||
{
|
||||
"preset": "conventionalcommits"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/release-notes-generator",
|
||||
{
|
||||
"preset": "conventionalcommits"
|
||||
}
|
||||
],
|
||||
[
|
||||
"@semantic-release/github"
|
||||
]
|
||||
]
|
||||
}
|
||||
@@ -44,17 +44,18 @@ tR += rightAngle;
|
||||
> not done
|
||||
> (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("[[")) ? '%%1%% Projects' : result = !task.isRecurring ? '%%2%% Tasks' : '%%3%% Recurring Tasks'
|
||||
> group by function (task.isRecurring) ? '%%3%% Recurring Tasks' : result = task.description.includes("[[") ? '%%1%% Projects' : '%%2%% Tasks'
|
||||
> ```
|
||||
|
||||
> [!IMPORTANT]+ Short Next Actions 🏃
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> short mode
|
||||
> group by function task.tags.filter( (tag) => tag.includes("#next") )
|
||||
> short mode
|
||||
> ```
|
||||
|
||||
## Notes 📝
|
||||
@@ -114,6 +115,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
@@ -123,6 +125,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -135,6 +138,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
@@ -144,6 +148,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
@@ -153,6 +158,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> (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
|
||||
@@ -164,6 +170,7 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> filename includes Passions Backlog 🎮
|
||||
> heading includes Doing
|
||||
> group by heading
|
||||
@@ -175,7 +182,6 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
|
||||
> group by filename
|
||||
@@ -185,7 +191,6 @@ filter: "#Inbox"
|
||||
>
|
||||
> ```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
|
||||
@@ -199,7 +204,7 @@ filter: "#Inbox"
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Log ❌
|
||||
> [!MISSING]+ Tasks Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
@@ -207,15 +212,33 @@ filter: "#Inbox"
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
## Daily Focus 🔥 & Goals 🎯
|
||||
|
||||
|
||||
|
||||
## Journal 📔
|
||||
|
||||
Mood::
|
||||
|
||||
An Interesting Title :
|
||||
|
||||
Accomplishments | Failures | Lessons learned | Good and king things I did | Positive and grateful for :
|
||||
Accomplishments | Failures | Lessons learned | Good and kind things I did | Positive and grateful for :
|
||||
|
||||
-
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
@@ -96,6 +97,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -108,6 +110,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
@@ -117,6 +120,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
@@ -126,6 +130,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> (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
|
||||
@@ -137,6 +142,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -147,6 +153,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -156,16 +163,16 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
> [!INFO]+ Projects On Hold 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> status.type is NON_TASK
|
||||
> description includes ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Tasks On Hold ✅
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> status.type is NON_TASK
|
||||
> description does not include ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
@@ -185,7 +192,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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)
|
||||
@@ -198,7 +204,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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 🎮
|
||||
@@ -213,7 +218,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by created
|
||||
@@ -223,7 +227,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by created
|
||||
@@ -233,20 +236,34 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Log ❌
|
||||
> [!MISSING]+ Tasks Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
## Monthly Focus 🔥 & Goals 🎯
|
||||
|
||||
- `Add some C.S.S (Continue Start Stop) with Habits & DWI.`
|
||||
|
||||
@@ -79,6 +79,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
@@ -88,6 +89,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -100,6 +102,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
@@ -109,6 +112,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
@@ -118,6 +122,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> (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
|
||||
@@ -129,6 +134,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -139,6 +145,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -148,16 +155,16 @@ tR += rightAngle;
|
||||
> [!INFO]+ Projects On Hold 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> status.type is NON_TASK
|
||||
> description includes ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Tasks On Hold ✅
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> status.type is NON_TASK
|
||||
> description does not include ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
@@ -177,7 +184,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```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)
|
||||
@@ -190,7 +196,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```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 🎮
|
||||
@@ -205,7 +210,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by created
|
||||
@@ -215,7 +219,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by created
|
||||
@@ -225,20 +228,34 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Log ❌
|
||||
> [!MISSING]+ Tasks Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
## Quarterly Focus 🔥 & Goals 🎯
|
||||
|
||||
- `Add some goals from yearly goals.`
|
||||
|
||||
@@ -92,6 +92,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
@@ -101,6 +102,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -113,6 +115,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
@@ -122,6 +125,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
@@ -131,6 +135,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> (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
|
||||
@@ -142,6 +147,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -152,6 +158,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -161,16 +168,16 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
> [!INFO]+ Projects On Hold 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> status.type is NON_TASK
|
||||
> description includes ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Tasks On Hold ✅
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> status.type is NON_TASK
|
||||
> description does not include ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
@@ -190,7 +197,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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)
|
||||
@@ -203,7 +209,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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 🎮
|
||||
@@ -218,7 +223,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by created
|
||||
@@ -228,7 +232,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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
|
||||
@@ -238,20 +241,34 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
|
||||
>
|
||||
> ```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 ❌
|
||||
> [!MISSING]+ Tasks Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> cancelled on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> cancelled on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
## Weekly Focus 🔥 & Goals 🎯
|
||||
|
||||
1. `Declutter & mind dump.` (GET CLEAR)
|
||||
|
||||
@@ -80,6 +80,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #next
|
||||
> group by function task.tags.filter( (tag) => ! tag.includes("#next") )
|
||||
@@ -89,6 +90,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -101,6 +103,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #waiting
|
||||
> group by filename
|
||||
@@ -110,6 +113,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> tags include #delegated
|
||||
> group by filename
|
||||
@@ -119,6 +123,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> (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
|
||||
@@ -130,6 +135,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -140,6 +146,7 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> filename does not include Passions Backlog 🎮
|
||||
> (heading does not include Focus) AND (heading does not include Goals)
|
||||
@@ -149,16 +156,16 @@ tR += rightAngle;
|
||||
> [!INFO]+ Projects On Hold 🎯
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> status.type is NON_TASK
|
||||
> description includes ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!INFO]+ Tasks On Hold ✅
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> status.type is NON_TASK
|
||||
> description does not include ]]
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
@@ -178,7 +185,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```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)
|
||||
@@ -191,7 +197,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```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 🎮
|
||||
@@ -206,7 +211,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description includes ]]
|
||||
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by created
|
||||
@@ -216,7 +220,6 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> not done
|
||||
> is not recurring
|
||||
> description does not include ]]
|
||||
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by created
|
||||
@@ -226,20 +229,34 @@ tR += rightAngle;
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Log ❌
|
||||
> [!MISSING]+ Tasks Graveyard 🪦
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> is not recurring
|
||||
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by done
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Projects Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description includes ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
> [!MISSING]+ Tasks Cancelled ❌
|
||||
>
|
||||
> ```tasks
|
||||
> description does not include ]]
|
||||
> cancelled on <% moment(tp.file.title, "YYYY").format("YYYY") %>
|
||||
> group by filename
|
||||
> ```
|
||||
|
||||
## Yearly Focus 🔥 & Goals 🎯
|
||||
|
||||
- `Add some goals for the year`
|
||||
|
||||
@@ -25,8 +25,8 @@ const calendarData = {
|
||||
},
|
||||
showCurrentDayBorder: true, // (optional) defaults to true
|
||||
defaultEntryIntensity: 4, // (optional) defaults to 4
|
||||
//intensityScaleStart: 1, // (optional) defaults to lowest value passed to entries.intensity
|
||||
//intensityScaleEnd: 5, // (optional) defaults to highest value passed to entries.intensity
|
||||
intensityScaleStart: 1, // (optional) defaults to lowest value passed to entries.intensity
|
||||
intensityScaleEnd: 5, // (optional) defaults to highest value passed to entries.intensity
|
||||
entries: [], // (required) populated in the DataviewJS loop below
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ module.exports = {
|
||||
GetAllTasksFromSection: GetAllTasksFromSection,
|
||||
};
|
||||
|
||||
const getTodoistPluginApi = (t) => t.plugins.plugins["todoist-sync-plugin"].api;
|
||||
const getTodoistPluginApi = (t) =>
|
||||
t.plugins.plugins["todoist-sync-plugin"].services.todoist.api.value;
|
||||
async function SelectFromAllTasks(t) {
|
||||
const s = await getAllTasks(t);
|
||||
if (0 === s.length) return void new Notice("No tasks.");
|
||||
@@ -52,8 +53,8 @@ async function GetAllTasksFromSection(t) {
|
||||
new Notice(`No tasks in '${n.name}'.`);
|
||||
}
|
||||
async function getAllTasks(t) {
|
||||
const s = getTodoistPluginApi(t.app),
|
||||
{ ok: e } = await s.getTasks();
|
||||
const s = getTodoistPluginApi(t.app);
|
||||
e = await s.getTasks();
|
||||
return e;
|
||||
}
|
||||
async function selectTasks(t, s) {
|
||||
|
||||
@@ -4,7 +4,8 @@ module.exports = {
|
||||
GetAllTasksFromSection: GetAllTasksFromSection,
|
||||
};
|
||||
|
||||
const getTodoistPluginApi = (t) => t.plugins.plugins["todoist-sync-plugin"].api;
|
||||
const getTodoistPluginApi = (t) =>
|
||||
t.plugins.plugins["todoist-sync-plugin"].services.todoist.api.value;
|
||||
async function SelectFromAllTasks(t) {
|
||||
const s = await getAllTasks(t);
|
||||
if (0 === s.length) return void new Notice("No tasks.");
|
||||
@@ -52,8 +53,8 @@ async function GetAllTasksFromSection(t) {
|
||||
new Notice(`No tasks in '${n.name}'.`);
|
||||
}
|
||||
async function getAllTasks(t) {
|
||||
const s = getTodoistPluginApi(t.app),
|
||||
{ ok: e } = await s.getTasks();
|
||||
const s = getTodoistPluginApi(t.app);
|
||||
e = await s.getTasks();
|
||||
return e;
|
||||
}
|
||||
async function selectTasks(t, s) {
|
||||
@@ -71,7 +72,9 @@ function formatTasksToTasksPluginTask(t) {
|
||||
.map(
|
||||
(t) =>
|
||||
(t = t.rawDatetime
|
||||
? `- [ ] [[${t.content}]] \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
|
||||
? `- [ ] [[${
|
||||
t.content
|
||||
}]] \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
|
||||
"YYYY-MM-DD"
|
||||
)}`
|
||||
: `- [ ] [[${t.content}]] \u2795 ${todayDate}`)
|
||||
|
||||
@@ -4,7 +4,8 @@ module.exports = {
|
||||
GetAllTasksFromSection: GetAllTasksFromSection,
|
||||
};
|
||||
|
||||
const getTodoistPluginApi = (t) => t.plugins.plugins["todoist-sync-plugin"].api;
|
||||
const getTodoistPluginApi = (t) =>
|
||||
t.plugins.plugins["todoist-sync-plugin"].services.todoist.api.value;
|
||||
async function SelectFromAllTasks(t) {
|
||||
const s = await getAllTasks(t);
|
||||
if (0 === s.length) return void new Notice("No tasks.");
|
||||
@@ -52,8 +53,8 @@ async function GetAllTasksFromSection(t) {
|
||||
new Notice(`No tasks in '${n.name}'.`);
|
||||
}
|
||||
async function getAllTasks(t) {
|
||||
const s = getTodoistPluginApi(t.app),
|
||||
{ ok: e } = await s.getTasks();
|
||||
const s = getTodoistPluginApi(t.app);
|
||||
e = await s.getTasks();
|
||||
return e;
|
||||
}
|
||||
async function selectTasks(t, s) {
|
||||
|
||||
@@ -4,7 +4,9 @@ module.exports = {
|
||||
GetAllTasksFromSection: GetAllTasksFromSection,
|
||||
};
|
||||
|
||||
const getTodoistPluginApi = (t) => t.plugins.plugins["todoist-sync-plugin"].api;
|
||||
const getTodoistPluginApi = (t) =>
|
||||
t.plugins.plugins["todoist-sync-plugin"].services.todoist.api.value;
|
||||
|
||||
async function SelectFromAllTasks(t) {
|
||||
const s = await getAllTasks(t);
|
||||
if (0 === s.length) return void new Notice("No tasks.");
|
||||
@@ -52,8 +54,8 @@ async function GetAllTasksFromSection(t) {
|
||||
new Notice(`No tasks in '${n.name}'.`);
|
||||
}
|
||||
async function getAllTasks(t) {
|
||||
const s = getTodoistPluginApi(t.app),
|
||||
{ ok: e } = await s.getTasks();
|
||||
const s = getTodoistPluginApi(t.app);
|
||||
e = await s.getTasks();
|
||||
return e;
|
||||
}
|
||||
async function selectTasks(t, s) {
|
||||
@@ -71,7 +73,9 @@ function formatTasksToTasksPluginTask(t) {
|
||||
.map(
|
||||
(t) =>
|
||||
(t = t.rawDatetime
|
||||
? `- [ ] ${t.content} \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
|
||||
? `- [ ] ${
|
||||
t.content
|
||||
} \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
|
||||
"YYYY-MM-DD"
|
||||
)}`
|
||||
: `- [ ] ${t.content} \u2795 ${todayDate}`)
|
||||
|
||||
6232
package-lock.json
generated
Normal file
6232
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
12
package.json
Normal file
12
package.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"devDependencies": {
|
||||
"@semantic-release/changelog": "^6.0.3",
|
||||
"@semantic-release/commit-analyzer": "^13.0.0",
|
||||
"@semantic-release/exec": "^6.0.3",
|
||||
"@semantic-release/git": "^10.0.1",
|
||||
"@semantic-release/github": "^10.1.0",
|
||||
"@semantic-release/release-notes-generator": "^14.0.1",
|
||||
"conventional-changelog-conventionalcommits": "^8.0.0",
|
||||
"semantic-release": "^24.0.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user