Compare commits

...

10 Commits

Author SHA1 Message Date
Shivansh Arora
ead0135038 fix: fix typo in Daily-Notes.md template (#18)
Some checks failed
Release / Release (push) Has been cancelled
2024-10-23 07:12:59 +02:00
Mathis Gauthey
6dce0f9cea build: 🔖 add a github release on new commit to main 2024-07-16 21:20:54 +02:00
Mathis Gauthey
b7252e1909 build: add automatic release process 2024-07-16 21:12:12 +02:00
Mathis Gauthey
1106b01917 fix(_Scripts): 🐛 fix issue in #12
Informations are found on the issue. Basically, the todoist-sync-plugin changed it's organisation and now use Todoist API v2.
2024-07-16 21:00:55 +02:00
Mathis Gauthey
16ce2681a4 Merge pull request #8 from mathisgauthey/recurring-tasks-issue
Recurring tasks issue
2024-01-09 14:59:49 +01:00
mathisgauthey
4dbafd948e fix: Added recurring filters to queries 2024-01-09 14:48:36 +01:00
mathisgauthey
46c14b0366 fix: Reorder today query block
Fixed recurring task appearance if they have some note associated
2024-01-09 14:37:27 +01:00
Mathis Gauthey
626edd277a Merge pull request #7 from mathisgauthey/journal-query-mood-grading
Update Journal 2024 📔.md
2024-01-06 23:13:48 +01:00
Mathis Gauthey
20d559d0a5 Update Journal 2024 📔.md
Didn't notice beforehand as I imported my journal last year.

But this change is required for a 1-5 mood grading. Otherwise, the
color heatmap is made using min/max values, which I don't want.
2024-01-06 23:13:01 +01:00
mathisgauthey
eff4fc875b feat: added cancelled tasks queries 2024-01-05 18:37:23 +01:00
15 changed files with 6467 additions and 61 deletions

35
.github/workflows/release.yml vendored Normal file
View 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
View File

@@ -0,0 +1 @@
node_modules/

26
.releaserc Normal file
View 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"
]
]
}

View File

@@ -2,10 +2,10 @@
title: <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %> title: <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
date: <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %> 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") %> lastmod: <% moment(tp.file.creation_date()).format("YYYY-MM-DD HH:mm:ss") %>
categories: categories:
tags: daily-notes tags: daily-notes
aliases: aliases:
share: false share: false
--- ---
# <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %> # <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
@@ -44,17 +44,18 @@ tR += rightAngle;
> not done > not done
> (happens on or before <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>) OR (status.type is IN_PROGRESS) > (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) > (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 🏃 > [!IMPORTANT]+ Short Next Actions 🏃
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> short mode
> group by function task.tags.filter( (tag) => tag.includes("#next") ) > group by function task.tags.filter( (tag) => tag.includes("#next") )
> short mode
> ``` > ```
## Notes 📝 ## Notes 📝
@@ -114,6 +115,7 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#next") ) > group by function task.tags.filter( (tag) => ! tag.includes("#next") )
@@ -123,6 +125,7 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -135,6 +138,7 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #waiting > tags include #waiting
> group by filename > group by filename
@@ -144,6 +148,7 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #delegated > tags include #delegated
> group by filename > group by filename
@@ -153,6 +158,7 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes) > (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals) > (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 > 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 > ```tasks
> not done > not done
> is not recurring
> filename includes Passions Backlog 🎮 > filename includes Passions Backlog 🎮
> heading includes Doing > heading includes Doing
> group by heading > group by heading
@@ -175,7 +182,6 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %> > created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename > group by filename
@@ -185,7 +191,6 @@ filter: "#Inbox"
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %> > created on <% moment(tp.file.title, "YYYY-MM-DD").format("YYYY-MM-DD") %>
> group by filename > group by filename
@@ -199,7 +204,7 @@ filter: "#Inbox"
> group by filename > group by filename
> ``` > ```
> [!MISSING]+ Tasks Log ❌ > [!MISSING]+ Tasks Graveyard 🪦
> >
> ```tasks > ```tasks
> description does not include ]] > description does not include ]]
@@ -207,15 +212,33 @@ filter: "#Inbox"
> group by filename > 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 🎯 ## Daily Focus 🔥 & Goals 🎯
## Journal 📔 ## Journal 📔
Mood:: Mood::
An Interesting Title : 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 :
- -

View File

@@ -87,6 +87,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #waiting > tags include #waiting
> group by filename > group by filename
@@ -117,6 +120,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #delegated > tags include #delegated
> group by filename > group by filename
@@ -126,6 +130,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes) > (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals) > (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 > 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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 🎯 > [!INFO]+ Projects On Hold 🎯
> >
> ```tasks > ```tasks
> description includes ]]
> status.type is NON_TASK > status.type is NON_TASK
> description includes ]]
> group by filename > group by filename
> ``` > ```
> [!INFO]+ Tasks On Hold ✅ > [!INFO]+ Tasks On Hold ✅
> >
> ```tasks > ```tasks
> description does not include ]]
> status.type is NON_TASK > status.type is NON_TASK
> description does not include ]]
> group by filename > group by filename
> ``` > ```
@@ -185,7 +192,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> path includes -Daily-Notes > path includes -Daily-Notes
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes) > (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
@@ -213,7 +218,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %> > created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
> group by created > group by created
@@ -223,7 +227,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %> > created on <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
> group by created > group by created
@@ -233,20 +236,34 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> description includes ]] > description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %> > done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
> group by done > group by done
> ``` > ```
> [!MISSING]+ Tasks Log ❌ > [!MISSING]+ Tasks Graveyard 🪦
> >
> ```tasks > ```tasks
> description does not include ]] > description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %> > done in <% moment(tp.file.title, "YYYY-MM").format("YYYY-MM") %>
> group by done > 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 🎯 ## Monthly Focus 🔥 & Goals 🎯
- `Add some C.S.S (Continue Start Stop) with Habits & DWI.` - `Add some C.S.S (Continue Start Stop) with Habits & DWI.`

View File

@@ -79,6 +79,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#next") ) > group by function task.tags.filter( (tag) => ! tag.includes("#next") )
@@ -88,6 +89,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -100,6 +102,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #waiting > tags include #waiting
> group by filename > group by filename
@@ -109,6 +112,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #delegated > tags include #delegated
> group by filename > group by filename
@@ -118,6 +122,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes) > (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals) > (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 > 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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -139,6 +145,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -148,16 +155,16 @@ tR += rightAngle;
> [!INFO]+ Projects On Hold 🎯 > [!INFO]+ Projects On Hold 🎯
> >
> ```tasks > ```tasks
> description includes ]]
> status.type is NON_TASK > status.type is NON_TASK
> description includes ]]
> group by filename > group by filename
> ``` > ```
> [!INFO]+ Tasks On Hold ✅ > [!INFO]+ Tasks On Hold ✅
> >
> ```tasks > ```tasks
> description does not include ]]
> status.type is NON_TASK > status.type is NON_TASK
> description does not include ]]
> group by filename > group by filename
> ``` > ```
@@ -177,7 +184,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> path includes -Daily-Notes > path includes -Daily-Notes
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -190,7 +196,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes) > (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
@@ -205,7 +210,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %> > created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by created > group by created
@@ -215,7 +219,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %> > created on <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by created > group by created
@@ -225,20 +228,34 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> description includes ]] > description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %> > done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by done > group by done
> ``` > ```
> [!MISSING]+ Tasks Log ❌ > [!MISSING]+ Tasks Graveyard 🪦
> >
> ```tasks > ```tasks
> description does not include ]] > description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %> > done in <% moment(tp.file.title, "YYYY-[Q]Q").format("YYYY-[Q]Q") %>
> group by done > 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 🎯 ## Quarterly Focus 🔥 & Goals 🎯
- `Add some goals from yearly goals.` - `Add some goals from yearly goals.`

View File

@@ -92,6 +92,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #waiting > tags include #waiting
> group by filename > group by filename
@@ -122,6 +125,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #delegated > tags include #delegated
> group by filename > group by filename
@@ -131,6 +135,7 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes) > (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals) > (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 > 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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (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 🎯 > [!INFO]+ Projects On Hold 🎯
> >
> ```tasks > ```tasks
> description includes ]]
> status.type is NON_TASK > status.type is NON_TASK
> description includes ]]
> group by filename > group by filename
> ``` > ```
> [!INFO]+ Tasks On Hold ✅ > [!INFO]+ Tasks On Hold ✅
> >
> ```tasks > ```tasks
> description does not include ]]
> status.type is NON_TASK > status.type is NON_TASK
> description does not include ]]
> group by filename > group by filename
> ``` > ```
@@ -190,7 +197,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> path includes -Daily-Notes > path includes -Daily-Notes
> (heading does not include Focus) AND (heading does not include Goals) > (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 > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes) > (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
@@ -218,7 +223,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %> > created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
> group by created > group by created
@@ -228,7 +232,6 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %> > created on <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
> group by created > group by created
@@ -238,20 +241,34 @@ await dv.view("_Scripts", {pages: "dv.pages().file.where(f => f.folder != '_Sour
> >
> ```tasks > ```tasks
> description includes ]] > description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %> > done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
> group by done > group by done
> ``` > ```
> [!MISSING]+ Tasks Log ❌ > [!MISSING]+ Tasks Graveyard 🪦
> >
> ```tasks > ```tasks
> description does not include ]] > description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %> > done in <% moment(tp.file.title, "GGGG-[W]WW").format("GGGG-[W]WW") %>
> group by done > 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 🎯 ## Weekly Focus 🔥 & Goals 🎯
1. `Declutter & mind dump.` (GET CLEAR) 1. `Declutter & mind dump.` (GET CLEAR)

View File

@@ -80,6 +80,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #next > tags include #next
> group by function task.tags.filter( (tag) => ! tag.includes("#next") ) > group by function task.tags.filter( (tag) => ! tag.includes("#next") )
@@ -89,6 +90,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -101,6 +103,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #waiting > tags include #waiting
> group by filename > group by filename
@@ -110,6 +113,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> tags include #delegated > tags include #delegated
> group by filename > group by filename
@@ -119,6 +123,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> (path includes -Daily-Notes) OR (path includes -Periodic-Notes) > (path includes -Daily-Notes) OR (path includes -Periodic-Notes)
> (heading includes Focus) AND (heading includes Goals) > (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 > 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 > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -140,6 +146,7 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -149,16 +156,16 @@ tR += rightAngle;
> [!INFO]+ Projects On Hold 🎯 > [!INFO]+ Projects On Hold 🎯
> >
> ```tasks > ```tasks
> description includes ]]
> status.type is NON_TASK > status.type is NON_TASK
> description includes ]]
> group by filename > group by filename
> ``` > ```
> [!INFO]+ Tasks On Hold ✅ > [!INFO]+ Tasks On Hold ✅
> >
> ```tasks > ```tasks
> description does not include ]]
> status.type is NON_TASK > status.type is NON_TASK
> description does not include ]]
> group by filename > group by filename
> ``` > ```
@@ -178,7 +185,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> path includes -Daily-Notes > path includes -Daily-Notes
> (heading does not include Focus) AND (heading does not include Goals) > (heading does not include Focus) AND (heading does not include Goals)
@@ -191,7 +197,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes) > (path does not include -Daily-Notes) AND (path does not include -Periodic-Notes)
> filename does not include Passions Backlog 🎮 > filename does not include Passions Backlog 🎮
@@ -206,7 +211,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description includes ]] > description includes ]]
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %> > created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by created > group by created
@@ -216,7 +220,6 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> not done > not done
> is not recurring
> description does not include ]] > description does not include ]]
> created on <% moment(tp.file.title, "YYYY").format("YYYY") %> > created on <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by created > group by created
@@ -226,20 +229,34 @@ tR += rightAngle;
> >
> ```tasks > ```tasks
> description includes ]] > description includes ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %> > done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by done > group by done
> ``` > ```
> [!MISSING]+ Tasks Log ❌ > [!MISSING]+ Tasks Graveyard 🪦
> >
> ```tasks > ```tasks
> description does not include ]] > description does not include ]]
> is not recurring
> done in <% moment(tp.file.title, "YYYY").format("YYYY") %> > done in <% moment(tp.file.title, "YYYY").format("YYYY") %>
> group by done > 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 🎯 ## Yearly Focus 🔥 & Goals 🎯
- `Add some goals for the year` - `Add some goals for the year`

View File

@@ -25,8 +25,8 @@ const calendarData = {
}, },
showCurrentDayBorder: true, // (optional) defaults to true showCurrentDayBorder: true, // (optional) defaults to true
defaultEntryIntensity: 4, // (optional) defaults to 4 defaultEntryIntensity: 4, // (optional) defaults to 4
//intensityScaleStart: 1, // (optional) defaults to lowest 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 intensityScaleEnd: 5, // (optional) defaults to highest value passed to entries.intensity
entries: [], // (required) populated in the DataviewJS loop below entries: [], // (required) populated in the DataviewJS loop below
} }

View File

@@ -4,7 +4,8 @@ module.exports = {
GetAllTasksFromSection: GetAllTasksFromSection, 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) { async function SelectFromAllTasks(t) {
const s = await getAllTasks(t); const s = await getAllTasks(t);
if (0 === s.length) return void new Notice("No tasks."); 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}'.`); new Notice(`No tasks in '${n.name}'.`);
} }
async function getAllTasks(t) { async function getAllTasks(t) {
const s = getTodoistPluginApi(t.app), const s = getTodoistPluginApi(t.app);
{ ok: e } = await s.getTasks(); e = await s.getTasks();
return e; return e;
} }
async function selectTasks(t, s) { async function selectTasks(t, s) {

View File

@@ -4,7 +4,8 @@ module.exports = {
GetAllTasksFromSection: GetAllTasksFromSection, 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) { async function SelectFromAllTasks(t) {
const s = await getAllTasks(t); const s = await getAllTasks(t);
if (0 === s.length) return void new Notice("No tasks."); 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}'.`); new Notice(`No tasks in '${n.name}'.`);
} }
async function getAllTasks(t) { async function getAllTasks(t) {
const s = getTodoistPluginApi(t.app), const s = getTodoistPluginApi(t.app);
{ ok: e } = await s.getTasks(); e = await s.getTasks();
return e; return e;
} }
async function selectTasks(t, s) { async function selectTasks(t, s) {
@@ -71,7 +72,9 @@ function formatTasksToTasksPluginTask(t) {
.map( .map(
(t) => (t) =>
(t = t.rawDatetime (t = t.rawDatetime
? `- [ ] [[${t.content}]] \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format( ? `- [ ] [[${
t.content
}]] \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
"YYYY-MM-DD" "YYYY-MM-DD"
)}` )}`
: `- [ ] [[${t.content}]] \u2795 ${todayDate}`) : `- [ ] [[${t.content}]] \u2795 ${todayDate}`)

View File

@@ -4,7 +4,8 @@ module.exports = {
GetAllTasksFromSection: GetAllTasksFromSection, 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) { async function SelectFromAllTasks(t) {
const s = await getAllTasks(t); const s = await getAllTasks(t);
if (0 === s.length) return void new Notice("No tasks."); 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}'.`); new Notice(`No tasks in '${n.name}'.`);
} }
async function getAllTasks(t) { async function getAllTasks(t) {
const s = getTodoistPluginApi(t.app), const s = getTodoistPluginApi(t.app);
{ ok: e } = await s.getTasks(); e = await s.getTasks();
return e; return e;
} }
async function selectTasks(t, s) { async function selectTasks(t, s) {

View File

@@ -4,7 +4,9 @@ module.exports = {
GetAllTasksFromSection: GetAllTasksFromSection, 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) { async function SelectFromAllTasks(t) {
const s = await getAllTasks(t); const s = await getAllTasks(t);
if (0 === s.length) return void new Notice("No tasks."); 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}'.`); new Notice(`No tasks in '${n.name}'.`);
} }
async function getAllTasks(t) { async function getAllTasks(t) {
const s = getTodoistPluginApi(t.app), const s = getTodoistPluginApi(t.app);
{ ok: e } = await s.getTasks(); e = await s.getTasks();
return e; return e;
} }
async function selectTasks(t, s) { async function selectTasks(t, s) {
@@ -71,7 +73,9 @@ function formatTasksToTasksPluginTask(t) {
.map( .map(
(t) => (t) =>
(t = t.rawDatetime (t = t.rawDatetime
? `- [ ] ${t.content} \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format( ? `- [ ] ${
t.content
} \u2795 ${todayDate} \ud83d\udcc5 ${t.rawDatetime.format(
"YYYY-MM-DD" "YYYY-MM-DD"
)}` )}`
: `- [ ] ${t.content} \u2795 ${todayDate}`) : `- [ ] ${t.content} \u2795 ${todayDate}`)

6232
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

12
package.json Normal file
View 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"
}
}