Commit Graph

8 Commits

Author SHA1 Message Date
Thomas Richter
3b9f434ed5 feat(06-01): switch to adapter-node with environment prefix
- Install @sveltejs/adapter-node as dev dependency
- Configure adapter with out: 'build', precompress: true
- Set envPrefix to 'TASKPLANER_' for environment variables
2026-02-01 13:19:13 +01:00
Thomas Richter
cfdb804118 feat(04-03): install Svelecte and add tag support to load/actions
- Install svelecte package for tag input with autocomplete
- Import tagRepository in +page.server.ts
- Attach tags to entries in load function alongside images
- Return allTags for autocomplete suggestions
- Add updateTags action to update entry tags via JSON payload
2026-01-31 13:07:08 +01:00
Thomas Richter
eaf976f24b feat(03-04): ImageGallery and ImageLightbox components
- ImageGallery renders horizontal scrolling thumbnails
- Edit mode shows delete buttons on images
- ImageLightbox provides fullscreen image viewer
- Keyboard navigation (Escape, arrows) in lightbox
- Click outside image or X button closes lightbox
- Image counter shown when multiple images
2026-01-29 15:31:15 +01:00
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