simpleshop_theme/lib/simpleshop_theme_web
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
..
components use LiveView navigation and add SVG fallback dimensions to fix FOUC 2026-02-11 14:46:12 +00:00
controllers fix collection filters, hero spacing, sale filter, and error page CSS 2026-02-11 08:38:54 +00:00
live add setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
plugs feat: add Printify webhook endpoint for real-time product updates 2026-01-31 22:41:15 +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 setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
telemetry.ex add observability: LiveDashboard in prod, error tracking, JSON logging 2026-02-08 17:02:21 +00:00
theme_hook.ex add setup foundations: site gate, registration lockdown, coming soon page 2026-02-11 22:58:58 +00:00
user_auth.ex mix phx.gen.auth Accounts User users 2025-12-30 12:26:46 +00:00