feat(02-02): add preferences store with svelte-persisted-store

- Install svelte-persisted-store for localStorage persistence
- Create preferences store with lastEntryType and showCompleted
- Sticky type preference across sessions

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Thomas Richter
2026-01-29 11:06:19 +01:00
parent e28ee2caf5
commit ed6659f266
3 changed files with 20 additions and 12 deletions

View File

@@ -35,6 +35,7 @@
"better-sqlite3": "^12.6.2",
"drizzle-orm": "^0.45.1",
"nanoid": "^5.1.6",
"svelte-persisted-store": "^0.12.0",
"tailwindcss": "^4.1.18",
"zod": "^4.3.6"
}