mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-14 23:21:08 +02:00
Introduces a central `timeBlocks` table that owns the time dimension (start, end, recurrence, live status) for all modules. Calendar, times, habits, and todo modules keep only domain-specific data with a timeBlockId reference. The calendar becomes a universal time view showing events, tasks, habits, and time entries from all modules. Key changes: - New `$lib/data/time-blocks/` module (types, service, queries, collections) - Dexie schema v3 with timeBlocks table + migration from existing data - Calendar events store creates TimeBlock + LocalEvent pairs - Times timer uses TimeBlock.isLive instead of LocalTimeEntry.isRunning - Habits logHabit creates point-event TimeBlocks (with optional duration) - Todo scheduled tasks create TimeBlock via scheduledBlockId - Calendar views filter by blockType, show items from all modules - All calendar views use getItemColor() for cross-module color support Also includes mukke → music module rename. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||
| tsconfig.json | ||