Commit completed Torbat Pages admin frontend module, BFF proxy, routes, and validation artifacts for official platform deploy. Co-authored-by: Cursor <cursoragent@cursor.com>
61 lines
2.4 KiB
Markdown
61 lines
2.4 KiB
Markdown
# Phase Handover — Experience Frontend FE-11.5
|
|
|
|
**Product:** Torbat Pages
|
|
**Backend:** experience-service v0.11.10.0 (unchanged business phases)
|
|
**Frontend stop:** FE-11.5 — **do not implement FE-11.6+ without new phase registration**
|
|
|
|
## Delivered
|
|
|
|
### FE-11.0 Framework
|
|
- Module scaffold `frontend/modules/experience/`
|
|
- Hub, PortalShell, AuthGuard, ColorModeProvider toggle, RTL/LTR via design-system theme provider
|
|
- Workspace switcher + localStorage persistence
|
|
- Permissions/capabilities hooks
|
|
- Admin CRUD: locale-profiles, external-providers, render-engines, configurations, settings, audit, health, capabilities
|
|
- Design system module + playground `/experience/design-system`
|
|
|
|
### FE-11.1 Dashboard
|
|
- Executive dashboard with API-driven counts
|
|
- Charts (recharts / ExperienceChart), recent resources, audit activity, quick actions
|
|
|
|
### FE-11.2 Workspace & content
|
|
- CRUD: workspaces, sites, pages, site-domains, templates, template-versions, template-instantiations
|
|
- Publish targets with provisional `publish_id = resource.id`
|
|
|
|
### FE-11.3 Visual builder
|
|
- Page builder: placements, reorder via PATCH, layers/properties, undo/redo, breakpoints, media drawer
|
|
- CRUD: components, themes, layouts, bindings, localizations, media-refs
|
|
- Builder not gated off when `page_builder` false (ADR-002)
|
|
|
|
### FE-11.4 Forms & surveys
|
|
- CRUD forms, form-submissions, surveys, survey-responses
|
|
- Form/survey JSON builders with field validation
|
|
- No appointment booking UI
|
|
|
|
### FE-11.5 Publishing & public
|
|
- publish-releases, domain-edge-bindings, seo-metadata, sitemap/robots/pwa shells
|
|
- Public preview `/experience/preview/[type]/[id]`
|
|
- Analytics dashboard + snapshot refresh
|
|
- Embed preview with provisional publish_id snippet
|
|
- Published actions catalog UI
|
|
|
|
## Infrastructure
|
|
- BFF `frontend/app/api/experience/[...path]/route.ts`
|
|
- Env: `NEXT_PUBLIC_EXPERIENCE_API_URL`, `EXPERIENCE_SERVICE_URL`
|
|
- Apps catalog: `experience` at `/experience/hub`
|
|
- Seed: `backend/services/experience/scripts/seed_experience.py`
|
|
|
|
## Validation
|
|
```bash
|
|
cd frontend
|
|
npm run validate:experience
|
|
npm run typecheck
|
|
```
|
|
|
|
## Explicitly NOT delivered
|
|
- FE-11.6+ registry engines
|
|
- Payment, booking, QR, short links, cards, marketplace, checkout, ticketing, learning UI
|
|
|
|
## Next when scoped
|
|
- `experience-fe-11.6` — Publish Target Registry UI, official publish_id consumption
|