brewlog/templates/pages
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
..
add.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
admin.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
bag.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
brew.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
cafe.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
checkin.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
cli_callback.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
cup.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
data.html chore: autoformat templates with prettier 2026-02-09 13:40:05 +00:00
gear.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
home.html fix(ui): use fixed 200px card width on mobile and desktop 2026-02-09 19:57:36 +00:00
login.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
register.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00
roast.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
roaster.html feat: add entity image support with display on detail pages 2026-02-10 17:50:13 +00:00
stats.html fix(stats): use muted colors for roast and consumption stat cards 2026-02-09 20:27:01 +00:00
timeline.html feat(a11y): add ARIA attributes, token colors, toast, and tab-switch links 2026-02-09 19:56:11 +00:00