brewlog/static/js/components
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
..
chip-scroll.js chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
donut-chart.js feat(a11y): add role=img and sr-only data to map and chart components 2026-02-09 19:54:42 +00:00
image-upload.js feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
photo-capture.js chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
searchable-select.js feat(a11y): add combobox ARIA and keyboard nav to searchable-select 2026-02-09 19:54:33 +00:00
world-map.js feat(a11y): add role=img and sr-only data to map and chart components 2026-02-09 19:54:42 +00:00