summaryrefslogtreecommitdiffhomepage
path: root/.rules/changelog/2026-03/28
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-03-28 19:38:27 +0900
committerAdam Malczewski <[email protected]>2026-03-28 19:38:27 +0900
commitbffeac84cb7b3094f7a4b879b6bab6ceaec561ac (patch)
treedd9a5db2b815d83af0d3745c2ba4433b9f8595a7 /.rules/changelog/2026-03/28
parentab6d09df695c5cdfa21aa8005f00ebf2bd37df2b (diff)
downloadai-pulse-obsidian-plugin-bffeac84cb7b3094f7a4b879b6bab6ceaec561ac.tar.gz
ai-pulse-obsidian-plugin-bffeac84cb7b3094f7a4b879b6bab6ceaec561ac.zip
phase 1 calendar
Diffstat (limited to '.rules/changelog/2026-03/28')
-rw-r--r--.rules/changelog/2026-03/28/09.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/.rules/changelog/2026-03/28/09.md b/.rules/changelog/2026-03/28/09.md
new file mode 100644
index 0000000..cadb738
--- /dev/null
+++ b/.rules/changelog/2026-03/28/09.md
@@ -0,0 +1,13 @@
+# Changelog — 2026-03-28 — 09
+
+## Phase 1: Daily Note Manager
+
+### Added
+- `src/calendar/daily-notes.ts` — Core daily note module with all Phase 1 functions:
+ - `getDailyNotePath` — computes `{rootFolder}/{YYYY}/{MM}/{DD}/{YYYY-MM-DD}.md`
+ - `getDailyNote` — vault lookup by computed path
+ - `createDailyNote` — creates folders and file, supports template with `{{date}}` replacement
+ - `openDailyNote` — get-or-create then open in workspace leaf
+ - `indexDailyNotes` — recursively scans root folder, returns `Map<"YYYY-MM-DD", TFile>`
+ - `getDateFromDailyNote` — reverse lookup: extracts date from TFile path
+- `src/global.d.ts` — Global type declaration for `window.moment` (Obsidian provides moment at runtime but does not export types for it)