brewlog/templates/partials
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
..
forms fix(scan): stack form buttons vertically on mobile 2026-02-09 20:11:46 +00:00
lists fix(ui): improve mobile card layout for list views 2026-02-09 20:24:57 +00:00
bag_card.html fix(ui): use fixed 200px card width on mobile and desktop 2026-02-09 19:57:36 +00:00
brew_card.html fix(ui): use fixed 200px card width on mobile and desktop 2026-02-09 19:57:36 +00:00
detail_cards.html refactor: reduce duplication in handlers, templates, and view structs 2026-02-10 09:37:49 +00:00
histogram.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
icons.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
image_section.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
image_upload.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
location_search.html refactor: extract location JS into static file with nearby keyboard nav 2026-02-09 19:54:49 +00:00
nav.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
nearby_cafes.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
roast_options.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
scan_input.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
stats_map.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
tab_bar.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
timeline_chunk.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
timeline_month.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00