Commit Graph

5 Commits

Author SHA1 Message Date
Thomas Richter
f5b5034f07 feat(03-01): add images table and repository
- Add images table with entryId foreign key and cascade delete
- Add Image and NewImage types
- Add ImageRepository with create, getById, getByEntryId, delete, deleteByEntryId
- Install sharp for thumbnail generation
2026-01-29 15:22:38 +01:00
Thomas Richter
104c437ea6 feat(02-04): add swipe-to-delete gesture for mobile
- Install svelte-gestures package for touch gesture support
- Add useSwipe hook to EntryCard for left-swipe detection
- Implement delete confirmation overlay on swipe
- Add red delete background revealed during swipe
- Maintain desktop delete button in expanded view
2026-01-29 11:17:50 +01:00
Thomas Richter
ed6659f266 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>
2026-01-29 11:06:19 +01:00
Thomas Richter
63c5e4bddc feat(01-01): configure Drizzle schema with entries table
- Schema with unified entries table (task/thought types)
- Fields: id, title, content, type, status, pinned, dueDate, timestamps
- Database connection with WAL mode
- Drizzle kit scripts (db:generate, db:migrate, db:push, db:studio)
- Database file at ./data/taskplaner.db
2026-01-29 04:34:14 +01:00
Thomas Richter
3a2e0f2e01 feat(01-01): create SvelteKit project with dependencies
- SvelteKit minimal template with TypeScript
- Tailwind CSS v4 with @tailwindcss/vite plugin
- ESLint and Prettier for code quality
- Dependencies: better-sqlite3, drizzle-orm, nanoid, zod
- Dev server runs on localhost:5173
2026-01-29 04:32:54 +01:00