simpleshop_theme/lib/simpleshop_theme_web/controllers
jamey 57c3ba0e28 wire shop LiveViews to DB queries and improve search UX
Replace PreviewData indirection in all shop LiveViews with direct
Products context queries. Home, collection, product detail and error
pages now query the database. Categories loaded once in ThemeHook.
Cart hydration no longer falls back to mock data. PreviewData kept
only for the theme editor.

Search modal gains keyboard navigation (arrow keys, Enter, Escape),
Cmd+K/Ctrl+K shortcut, full ARIA combobox pattern, LiveView navigate
links, and 150ms debounce. SearchModal JS hook manages selection
state and highlight. search.ex gets transaction safety on reindex
and a public remove_product/1. 10 new integration tests.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 08:27:26 +00:00
..
page_html mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
admin_controller.ex add admin sidebar layout with responsive drawer navigation 2026-02-12 08:35:22 +00:00
cart_controller.ex feat: add cart page, cart drawer, and shared cart infrastructure 2026-02-06 19:39:37 +00:00
checkout_controller.ex add CI pipeline with credo and dialyzer 2026-02-08 15:19:42 +00:00
error_html.ex wire shop LiveViews to DB queries and improve search UX 2026-02-13 08:27:26 +00:00
error_json.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
error_preview_controller.ex feat: add Cart page and themed error pages 2026-01-17 22:29:45 +00:00
health_controller.ex add Docker deployment with Alpine image, release config and health check 2026-02-08 16:21:05 +00:00
image_controller.ex feat: enhance image optimization with on-demand JPEG fallbacks 2026-01-25 00:33:09 +00:00
page_controller.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
page_html.ex mix phx.new simpleshop_theme --database sqlite3 --adapter bandit --binary-id 2025-12-30 12:26:26 +00:00
stripe_webhook_controller.ex feat: add transactional emails for order confirmation and shipping 2026-02-08 10:17:19 +00:00
user_session_controller.ex consolidate settings into single admin page 2026-02-12 09:04:51 +00:00
webhook_controller.ex feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00