Files
marketplaces/docs/NEXT_PHASE.md
sdarbinyan 48bcffa22c
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
feat: close stub-page gaps - profile login/logout, admin Reports/Settings, Help/Docs links
Sprint A: storefront header profile control (login/logout only, no menu),
wired to existing customer Telegram auth (AuthService).

Sprint B: backoffice/reports page, reuses AdminAnalyticsFacade (Sales,
Top Products, Marketplace Health cards + CSV export).

Sprint C: backoffice/settings page, admin UI density preference
(comfortable/compact), localStorage-persisted, applied to app-table
across all admin list pages.

Sprint D: admin bottom-nav Help -> mailto using existing supportEmail,
Documentation -> external link via new TenantConfig.documentationUrl.
AdminNavLink gains externalHref for non-routerLink nav entries.

Docs: docs/GLOBAL-SPRINT-PLAN.md tracks the full sprint breakdown.
docs/COMING-SOON-AUDIT.md removed, folded into docs/KNOWN-ISSUES.md.
docs/BACKEND.md updated with the new documentationUrl bootstrap field.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-05 17:48:50 +04:00

2.2 KiB

Next Phase — Roadmap

The one roadmap. Everything after this point assumes the previous phase is done — don't start Phase 2 work before Phase 1 lands.

Phase 1 — Backend integration

Implement the backend per BACKEND.md, then swap every frontend mock gateway for a real one behind its DI token, in the dependency order BACKEND.md §8 specifies (auth/tenant/bootstrap first, then read-heavy catalog, then write-heavy customer domains, then admin, then builder/CMS). Wire the currently-dormant Ed25519 admin-auth interceptor/guard once the backend can issue/verify challenges. Enforce the admin role model in route guards once real roles exist server-side.

Phase 2 — Production testing

Add the automated test suite that doesn't exist yet: facade-level integration tests against real endpoints (not mocks), and E2E coverage for the critical flows — storefront checkout, admin product/category CRUD, builder draft → publish → live storefront reflects the change, admin auth once Ed25519 is live.

Phase 3 — Performance

Re-profile under real backend latency (mock responses are instant today, real ones won't be) — loading states, skeleton timing. Revisit the two known large lazy chunks (project-editor, catalog-container) with real data before committing to a bundle-splitting approach.

Phase 4 — Monitoring

Wire real error tracking/APM and a real event source for the admin Monitoring page (currently mock activity data). Implement the maintenance-mode frontend UI gaps BACKEND.md §10 flags as not existing yet (full-page takeover, per-module banners, scheduled-maintenance countdown), once the backend maintenance contract is live.

Phase 5 — Version 2 ideas

Everything in docs/PRODUCT_BACKLOG.md (dark mode, brand-color contrast decision, advanced analytics, additional payment providers, Contacts page content) and docs/FUTURE_FEATURES.md (Angular 22 upgrade, cart-modal composition cleanup) — none of it scheduled, all of it deliberately deferred past initial launch. The former stub-page/dead-toggle inventory (profile menu, admin Reports, admin Settings, Documentation/Help) is closed — see docs/GLOBAL-SPRINT-PLAN.md and docs/KNOWN-ISSUES.md "Fixed (this cycle)".