# TODO

Checklist of everything documented as open/remaining across the docs, verified against current repo state on 2026-07-25. Source: `docs/KNOWN-ISSUES.md`, `docs/FRONTEND-ROADMAP.md`, `docs/BACKEND_API_REMAINING_WORK.md`, `docs/ANGULAR22_PLAN.md`.

## Critical

- [ ] `pages/category`, `pages/search`, `pages/item-detail`, `pages/info/**`, `pages/legal/**` (40+ files) — unrouted dead code, `cmsContentRoutes` in `app.routes.ts` is a literal empty array (verified still empty). Needs wire-up-or-delete decision — deliberately not resolved, out of "mechanical fix" scope.
- [x] No `canDeactivate` guard on `admin/products/:id/edit` — fixed 2026-07-25 (`adminProductDirtyGuard`, mirrors categories).

## Backend — skipped, doing together

- [ ] `bootstrap.json` real content (branding/theme/nav/seo) — default stubs.
- [ ] Builder bootstrap draft/publish/validate — no backend, editor saves nowhere real.
- [ ] Backoffice Products CRUD — mock only.
- [ ] Media upload/delete/replace pipeline — mock only.
- [ ] Backoffice Orders CRUD + status transitions — mock only.
- [ ] Backoffice Transactions — mock only.
- [ ] Backoffice Users/roles/invitations — mock only.
- [ ] Backoffice Moderation (reviews/reports) — mock only.
- [ ] Analytics traffic/funnels/heatmaps — no data source at all (FUTURE).
- [ ] Backend Ready sprint — no real API contract exists yet.

## i18n

- [ ] ~178 missing `adminXxx.*` translation keys across admin backoffice.

## UX/design decisions deferred

- [ ] Cart payment modal — has focus-trap now, but still not `app-dialog` (composition change deferred 3x).
- [ ] Cart `clearCart()` uses native `confirm()` — no styled dialog exists yet.
- [ ] Brand-color contrast failures (`--border-color`, `--success/warning/error/info-color`) — fails WCAG AA, needs theme-owner sign-off.
- [ ] `stars.component` + legacy hex in category/search — no token match, needs token-extension decision.
- [ ] Footer "Contacts" link — no static-page content exists at all.
- [ ] Builder static-page body editor — hidden under mislabeled "Advanced" section.
- [ ] Theme Mode (dark/system) selector — no runtime CSS effect, real feature project needed.
- [ ] `dynamic-renderer/` pipeline — built, never wired, needs finish-or-delete call.
- [x] `HeaderConfig.showProfile` toggle — was already removed from the header-section editor template (verified 2026-07-25, this TODO entry was stale). Model field/i18n keys remain unused but harmless, not touched.
- [ ] Homepage hero-to-categories dead-space gap — mock config artifact, needs real-tenant repro.

## Tooling/infra

- [x] `primeng`/`primeicons` in `package.json` — fixed 2026-07-25: bumped `barry-cache` `^0.1.0`→`^0.9.3` (unblocked npm), then `npm uninstall primeng primeicons`.
- [ ] 2 large lazy chunks (`project-editor` 320kB, `catalog-container` 126kB) — no split found yet.
- [ ] Angular 22 upgrade — researched, not executed. Plan: ~2-3.5 days, needs barry-cache fix + Node bump first.
- [ ] `git push` of local B2B commits to origin (verified: still 31 commits ahead, not pushed) — pending your go-ahead.

## Done this cycle (for reference, not re-tracked here)

Storefront polish (RC-Visual-02, RC-Premium-01, RC STORE-01), performance audit (RC PERF-01, bundle −24%), WCAG 2.1 AA accessibility audit (RC A11Y-01), release-candidate walkthrough (2 P0s fixed), dead-code cleanup, documentation consolidation. Full detail: `docs/FRONTEND-ROADMAP.md`.
