simpleshop_theme/lib/simpleshop_theme_web
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
..
components wire shop LiveViews to DB queries and improve search UX 2026-02-13 08:27:26 +00:00
controllers wire shop LiveViews to DB queries and improve search UX 2026-02-13 08:27:26 +00:00
live wire shop LiveViews to DB queries and improve search UX 2026-02-13 08:27:26 +00:00
plugs feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +00:00
admin_layout_hook.ex add admin sidebar layout with responsive drawer navigation 2026-02-12 08:35:22 +00:00
cart_hook.ex simplify footer categories: fetch directly instead of threading assigns 2026-02-11 08:20:50 +00:00
endpoint.ex add mobile swipe for product card images and fix dev asset caching 2026-02-10 12:24:52 +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 add FTS5 full-text product search 2026-02-13 07:29:19 +00:00
search_hook.ex add FTS5 full-text product search 2026-02-13 07:29:19 +00:00
telemetry.ex add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
theme_hook.ex wire shop LiveViews to DB queries and improve search UX 2026-02-13 08:27:26 +00:00
user_auth.ex fix signed_in_path to always redirect to /admin after login 2026-02-12 14:55:57 +00:00