brewlog/src/domain
Jon Seager 4b3f03f5d3
feat: add entity image support with display on detail pages
Add image infrastructure, API, and detail page integration:

- EntityImage domain model with ImageRepository trait
- SQLite storage for images and thumbnails as BLOBs
- Image processing with data URL decoding and thumbnail generation
- REST API: upload, get, delete, thumbnail at /{entity_type}/{id}/image
- resolve_image_url helper for image fallback chains
- image-upload web component for direct upload on detail pages
- Image display with vignette overlay and lightbox viewer
- Template macros: image_thumbnail, readonly_image, lightbox_script
- All 7 detail pages updated with image thumbnails
- Brew images fall back to roast; cup images fall back to cafe then roast
- Delete handler macro extended with optional image cleanup
2026-02-10 17:50:13 +00:00
..
analytics refactor: split large directories into coffee/auth/analytics subdirs 2026-02-08 18:16:16 +00:00
auth refactor: split large directories into coffee/auth/analytics subdirs 2026-02-08 18:16:16 +00:00
coffee fix: use gear model column for brew card grinder display 2026-02-09 19:57:09 +00:00
countries.rs refactor(domain): extract country utilities into dedicated module 2026-02-08 16:09:46 +00:00
errors.rs chore: move RepositoryError into dedicated file 2026-02-02 12:57:15 +00:00
formatting.rs refactor(domain): extract shared formatting helpers 2026-02-08 15:14:39 +00:00
ids.rs feat(ai): capture usage data from OpenRouter API responses 2026-02-05 12:08:48 +00:00
images.rs feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
listing.rs chore(lint): enable clippy pedantic and restriction lints 2026-02-02 17:55:16 +00:00
mod.rs feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
repositories.rs feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00