berrypod/lib/simpleshop_theme_web/live/shop_live
jamey e64bf40a71 add setup foundations: site gate, registration lockdown, coming soon page
- Settings.site_live?/0 and set_site_live/1 for shop visibility control
- Accounts.has_admin?/0 to detect single-tenant admin existence
- Registration lockdown: /users/register redirects when admin exists
- Setup.setup_status/0 aggregates provider, product, and stripe checks
- Coming soon page at /coming-soon with themed styling
- ThemeHook :require_site_live gate on all public shop routes
  - Site live → everyone through
  - Authenticated → admin preview through
  - No admin → fresh install demo through
  - Otherwise → redirect to coming soon
- Go live / take offline toggle on /admin/settings
- 648 tests, 0 failures

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 22:58:58 +00:00
..
cart.ex add quantity controls to cart drawer via shared CartHook 2026-02-11 00:15:04 +00:00
checkout_success.ex refactor: extract ThemeHook to eliminate mount duplication 2026-02-08 11:59:33 +00:00
collection.ex fix collection filters, hero spacing, sale filter, and error page CSS 2026-02-11 08:38:54 +00:00
coming_soon.ex add setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
contact.ex refactor: extract ThemeHook to eliminate mount duplication 2026-02-08 11:59:33 +00:00
content.ex refactor: extract ThemeHook to eliminate mount duplication 2026-02-08 11:59:33 +00:00
home.ex refactor: extract ThemeHook to eliminate mount duplication 2026-02-08 11:59:33 +00:00
product_show.ex fix PDP quantity selector and trust badge consistency 2026-02-10 23:15:09 +00:00