From e8d107e454b3804e089a33ce5fe7c931040d4647 Mon Sep 17 00:00:00 2001 From: Adam Malczewski Date: Sun, 29 Mar 2026 13:44:05 +0900 Subject: remove calendar and chat history --- .rules/changelog/2026-03/28/10.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 .rules/changelog/2026-03/28/10.md (limited to '.rules/changelog/2026-03/28/10.md') diff --git a/.rules/changelog/2026-03/28/10.md b/.rules/changelog/2026-03/28/10.md deleted file mode 100644 index a5f6de0..0000000 --- a/.rules/changelog/2026-03/28/10.md +++ /dev/null @@ -1,15 +0,0 @@ -# Phase 2: Calendar State - -## Added -- `src/calendar/calendar-state.ts` — observable state container for the calendar view - -## Details -- `CalendarState` class with private fields: `displayedMonth`, `today`, `activeFileDate`, `noteIndex` -- Read-only getters for all state fields -- `subscribe(cb)` / unsubscribe pattern using a `Set<() => void>` -- `setDisplayedMonth(m)` — clones and normalizes to start-of-month -- `setActiveFile(file, rootFolder)` — delegates to `getDateFromDailyNote()` from Phase 1 -- `reindex(app, rootFolder)` — delegates to `indexDailyNotes()` from Phase 1 -- `tick()` — heartbeat that notifies only on day rollover -- `rootFolder` passed as parameter (not stored) for consistency across methods -- No framework dependencies; strict TypeScript, no `any` -- cgit v1.2.3