Skip to content

feat(ecom): interactive mockup page for every app #2

Open

Description

@AloysJehwin

Moved from AloysJehwin/Jeffi_Stores#502, opened on 2026-09-29. GitHub can't transfer issues between accounts, so this is a copy; the original is closed with a link here.

Every app in the ecom "All apps" grid gets its own page with an interactive mockup of its real flow,
matching the product at 80-90%. Built one app at a time.

Acceptance criteria

  • Products & variants (done, pending commit).
  • Remaining 29 apps, in group order: Catalogue, Sales, Fulfilment, Finance, Marketing, B2B, Growth & ops.
Comment from AloysJehwin on the original issue

Agent brief (added for pickup)

What / why. Each app in the ecom "All apps" grid should get its own page with an interactive mockup of its real flow, matching the product at 80-90%. Built one app at a time. Impact today: every app slug renders the SAME generic marketing template, not a per-app interactive mockup. Products & variants is noted "done, pending commit" — verify that before starting.

Where (entry points).

  • App catalogue (source of truth for slugs/groups): src/app/(ecom)/ecom/apps.ts — APP_GROUPS: AppGroup[], each AppItem { slug, name, blurb, icon }. Group order per the issue: Catalogue, Sales, Fulfilment, Finance, Marketing, B2B, Growth & ops. findApp(slug) is the lookup used by the page.
  • Grid: src/app/(ecom)/ecom/_sections/AppsGrid.tsx; list page src/app/(ecom)/ecom/apps/page.tsx; icons src/app/(ecom)/ecom/apps/AppIcon.tsx.
  • Generic per-app page (what everything falls through to today): src/app/(ecom)/ecom/apps/[slug]/page.tsx — a static hero + benefits list, no mockup.
  • The ONE built example to mirror: src/app/(ecom)/ecom/apps/products/page.tsx + src/app/(ecom)/ecom/apps/products/ProductsDemo.tsx (the interactive Products & variants mockup). Pattern to follow: a dedicated route folder apps/<slug>/ with a <Slug>Demo.tsx.
  • Reusable mockup building blocks: src/app/(ecom)/ecom/_demo/ (StorefrontSurface, AdminSurface, AdminViews, theme.ts, ProductArt.tsx). Real reference UI: src/app/(admin)/admin/<app> and src/components/visitor/ for storefront-facing apps.

Repro / how to see it. On an ecom host, open /apps, click any card except Products & variants -> /apps/<slug> renders the generic template. /apps/products shows the real interactive mockup — that is the target quality bar for the rest.

Root cause (if known). Not a bug — incremental feature. [slug]/page.tsx is the catch-all; only products/ has a dedicated route with a demo. Each remaining app (29) needs its own apps/<slug>/page.tsx + <Slug>Demo.tsx.

Constraints / gotchas.

  • Build ONE app per PR/commit (issue says so) — do not batch all 29.
  • A dedicated apps/<slug>/page.tsx wins over [slug]/page.tsx in Next routing; keep the generic page as the fallback for not-yet-built apps.
  • Marketing-only: client-side demo data, no server-only imports, no real mutations. 80-90% fidelity, not pixel-perfect.
  • motion/react + reduced-motion; reuse _demo surfaces and ecom-* tokens; mobile-first; files < 500 lines; minimal comments; no emojis.
  • First action: confirm whether Products & variants is actually committed on main (gh pr list --search products-demo / check apps/products/); if not, that commit is prerequisite step 0.

Acceptance criteria.

  • The targeted app (next in group order after Products & variants) has its own apps/<slug>/page.tsx + interactive <Slug>Demo.tsx matching the real flow at ~80-90%.
  • Grid card links to it; generic fallback remains for the rest.
  • Reduced-motion respected; no server-only imports; no regression to other app pages.
  • Mobile and desktop both correct; tsc clean + targeted tests + full suite green.

Verification. Open /apps/<slug> on mobile and desktop, step through the mockup, compare to the real admin/storefront screen for that app. Confirm untouched slugs still render the fallback. Run ecom apps tests + full suite.

Activity

  1. added
    enhancement
    ecom-portal
    priority: P2
    difficulty: hard
    on Nov 19, 2026
  2. added
    needs-triage
    on Nov 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

difficulty: hardecom-portalenhancementneeds-triagepriority: P2

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions