berrypod/lib/simpleshop_theme
Jamey Greenwood 252ca2268a feat: optimize mockup images with WebP and auto-regeneration
Convert mockup source images from JPG to WebP format for 76% size
reduction (20MB → 4.7MB). Variants are now auto-generated on startup
via Oban, keeping the same DRY approach as database images.

Changes:
- Add OptimizeWorker.enqueue_mockup/1 for filesystem images
- Extend VariantCache to check mockup sources on startup
- Update MockupGenerator to save source as optimized WebP
- Update .gitignore to ignore generated variants
- Convert 55 source mockups from JPG to WebP

The mockup pipeline now uses the same code paths as database images:
- Optimizer.to_optimized_webp/1 for source conversion
- Optimizer.process_file/3 for variant generation
- OptimizeWorker for Oban background processing
- VariantCache for startup cache validation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-25 00:30:42 +00:00
..
accounts mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
images feat: optimize mockup images with WebP and auto-regeneration 2026-01-25 00:30:42 +00:00
media feat: add image metadata fields for optimization pipeline 2026-01-21 22:08:19 +00:00
printify feat: optimize mockup images with WebP and auto-regeneration 2026-01-25 00:30:42 +00:00
settings perf: improve SEO and accessibility for PageSpeed 2026-01-21 21:55:55 +00:00
theme perf: improve SEO and accessibility for PageSpeed 2026-01-21 21:55:55 +00:00
accounts.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00
application.ex feat: add CSS generation system with custom properties and ETS cache 2025-12-30 21:41:25 +00:00
mailer.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
media.ex feat: add dark mode support, accordion UI, and current combination display 2025-12-31 18:55:44 +00:00
repo.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
settings.ex feat: add shop storefront with optimized theme CSS 2026-01-17 16:19:35 +00:00