rename project from SimpleshopTheme to Berrypod

All modules, configs, paths, and references updated.
836 tests pass, zero warnings.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jamey
2026-02-18 21:23:15 +00:00
parent c65e777832
commit 9528700862
300 changed files with 23932 additions and 1349 deletions

View File

@@ -113,7 +113,7 @@ Build the structural pieces first, using existing DaisyUI components. No CSS cha
### 1.1 Admin shell layout
**New file:** `lib/simpleshop_theme_web/components/admin_components.ex`
**New file:** `lib/berrypod_web/components/admin_components.ex`
A shared admin layout component that wraps all admin pages:
@@ -156,7 +156,7 @@ The shell provides:
### 1.2 Admin root layout
**File:** `lib/simpleshop_theme_web/components/layouts/admin_root.html.heex` (new)
**File:** `lib/berrypod_web/components/layouts/admin_root.html.heex` (new)
A dedicated root layout for admin pages that:
- Loads `app.css` (or later `app-admin.css`)
@@ -164,7 +164,7 @@ A dedicated root layout for admin pages that:
- Doesn't include the shop nav/footer chrome
- Replaces the current generic `root.html.heex` for admin routes
**File:** `lib/simpleshop_theme_web/components/layouts/admin.html.heex` (new)
**File:** `lib/berrypod_web/components/layouts/admin.html.heex` (new)
The admin child layout (equivalent of `shop.html.heex`):
- Renders flash messages
@@ -176,7 +176,7 @@ The admin child layout (equivalent of `shop.html.heex`):
### 1.3 Dashboard page
**File:** `lib/simpleshop_theme_web/live/admin_live/dashboard.ex` (new)
**File:** `lib/berrypod_web/live/admin_live/dashboard.ex` (new)
Replace the current `/admin` → redirect-to-theme with a proper dashboard:
@@ -195,7 +195,7 @@ When the shop isn't live yet, the dashboard IS the setup wizard (from [setup-wiz
Currently settings are split across three pages. Consolidate into one settings page with sections:
**File:** `lib/simpleshop_theme_web/live/admin_live/settings.ex` (refactor)
**File:** `lib/berrypod_web/live/admin_live/settings.ex` (refactor)
Sections:
- **Payments** — Stripe API key, webhook config (current `/admin/settings` content)
@@ -209,7 +209,7 @@ Each section is a collapsible card or tab. The existing `/admin/providers` and `
### 1.5 Admin bar on shop pages
**File:** `lib/simpleshop_theme_web/components/shop_components/layout.ex`
**File:** `lib/berrypod_web/components/shop_components/layout.ex`
When the admin is browsing the shop (authenticated), show a thin bar at the top:
@@ -313,12 +313,12 @@ Replaces DaisyUI for admin pages. Structure:
@import "tailwindcss" source(none);
@source "../css";
@source "../js";
@source "../../lib/simpleshop_theme_web/live/admin";
@source "../../lib/simpleshop_theme_web/live/user";
@source "../../lib/simpleshop_theme_web/components/admin_components.ex";
@source "../../lib/simpleshop_theme_web/components/core_components.ex";
@source "../../lib/simpleshop_theme_web/components/layouts/admin_root.html.heex";
@source "../../lib/simpleshop_theme_web/components/layouts/admin.html.heex";
@source "../../lib/berrypod_web/live/admin";
@source "../../lib/berrypod_web/live/user";
@source "../../lib/berrypod_web/components/admin_components.ex";
@source "../../lib/berrypod_web/components/core_components.ex";
@source "../../lib/berrypod_web/components/layouts/admin_root.html.heex";
@source "../../lib/berrypod_web/components/layouts/admin.html.heex";
@plugin "../vendor/heroicons";
@@ -353,7 +353,7 @@ Each is ~5-15 lines of CSS. No need for DaisyUI's full component library.
### 2.3 Migrate core_components.ex
**File:** `lib/simpleshop_theme_web/components/core_components.ex`
**File:** `lib/berrypod_web/components/core_components.ex`
Replace DaisyUI class references with the new admin classes. This is a find-and-replace job:
- `btn btn-primary``admin-btn admin-btn-primary`