simpleshop_theme/lib/simpleshop_theme_web
jamey f244a42546 feat: add cart page, cart drawer, and shared cart infrastructure
- Cart context with pure functions for add/remove/update/hydrate
- Price formatting via ex_money (replaces all float division)
- CartHook on_mount with attach_hook for shared event handlers
  (open/close drawer, remove item, PubSub sync)
- Accessible cart drawer with focus trap, scroll lock, aria-live
- Cart page with increment/decrement quantity controls
- Preview mode cart drawer support in theme editor
- Cart persistence to session via JS hook + API endpoint
- 19 tests covering all Cart pure functions

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 00:51:16 +00:00
..
components feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 00:51:16 +00:00
controllers feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 00:51:16 +00:00
live feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 00:51:16 +00:00
plugs feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00
cart_hook.ex feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 00:51:16 +00:00
endpoint.ex feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00
gettext.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
router.ex feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 00:51:16 +00:00
telemetry.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00