Context
The done today task-query operator requires every completed task to carry a ✅ YYYY-MM-DD stamp. Tasks toggled via the editor checkbox auto-stamp; tasks typed manually as - [x] or synced in from Obsidian without the date do not. Users who edit outside noteser (or imported a vault with hand-written completions) get 0 results from done today even when their [x] count is genuinely high.
Adding a lenient mode unlocks the query for everyone whose workflow does not depend on the stamp.
Where to look
src/utils/taskQuery.ts — the query engine; done today resolution lives here.
src/stores/settingsStore.ts — where the new toggle would live (alongside editorAutocorrect).
src/components/modals/SettingsModal.tsx — Settings → Editor or a new Tasks group.
src/types/index.ts line ~ where Note is defined — has updatedAt.
Acceptance criteria
Complexity
Small.
For first-time contributors
Read CONTRIBUTING.md. npm install, npm run dev. The taskQuery tests are a good place to start the rabbit hole: npx jest taskQuery. PR against dev.
Context
The
done todaytask-query operator requires every completed task to carry a✅ YYYY-MM-DDstamp. Tasks toggled via the editor checkbox auto-stamp; tasks typed manually as- [x]or synced in from Obsidian without the date do not. Users who edit outside noteser (or imported a vault with hand-written completions) get 0 results fromdone todayeven when their[x]count is genuinely high.Adding a lenient mode unlocks the query for everyone whose workflow does not depend on the stamp.
Where to look
src/utils/taskQuery.ts— the query engine;done todayresolution lives here.src/stores/settingsStore.ts— where the new toggle would live (alongsideeditorAutocorrect).src/components/modals/SettingsModal.tsx— Settings → Editor or a new Tasks group.src/types/index.tsline ~ whereNoteis defined — hasupdatedAt.Acceptance criteria
taskQueryLenientDoneToday: booleanwith defaultfalse.✅ YYYY-MM-DDstamp as done today".done todaymatches- [x]lines that lack a ✅ date AND live in a note whoseupdatedAtfalls within today's local-time window.taskQuery.test.tscovers the lenient branch.Complexity
Small.
For first-time contributors
Read
CONTRIBUTING.md.npm install,npm run dev. The taskQuery tests are a good place to start the rabbit hole:npx jest taskQuery. PR againstdev.