Files
marketplaces/docs/TODO.md
sdarbinyan a670ca994f chore(cleanup): delete unrouted legacy pages, update docs
pages/category, pages/search, pages/item-detail, pages/info/**,
pages/legal/** (40+ files) were entirely unrouted dead code:
- category/:id, category/:id/items, search all redirect/route to
  CatalogContainerComponent
- product/:id routes to ProductDetailsContainerComponent, not item-detail
- cmsContentRoutes (meant to route info/legal) is a literal empty array;
  static/legal content is served by the CMS-driven :staticPath ->
  StaticPageComponent route instead

dynamic-renderer/ is unrelated and stays - confirmed active, it's the
live homepage rendering pipeline (HomeComponent -> WebsiteRuntimeFacade
-> PageRendererService/PageResolverService -> DynamicPageLayoutComponent).

Updated docs/TODO.md, docs/KNOWN-ISSUES.md, docs/FRONTEND-ROADMAP.md,
docs/PROJECT_INDEX.md to reflect the resolution.
2026-07-25 23:56:13 +04:00

4.8 KiB
Raw Blame History

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. Resolved 2026-07-25 (RC-02 task 6): deleted, decision was delete (routes already served by catalog-container/product-details-container; info/legal superseded by CMS-driven static-page component).
  • 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 — fixed 2026-07-25 (RC-01 Phase 6): un-hidden from "Advanced", relabeled "Page Content"/"Содержимое страницы"/"Էջի բովանդակություն".
  • Theme Mode (dark/system) selector — no runtime CSS effect, real feature project needed.
  • dynamic-renderer/ pipeline — built, never wired, needs finish-or-delete call.
  • 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.

Found during RC-01 (2026-07-25), not yet fixed

  • "Featured Products" homepage carousel heading is hardcoded English on an otherwise fully-localized Russian page — found in Phase 12 final walkthrough, not fixed this pass.
  • Dashboard shows red "Проблема" (Problem) status for Products/Categories on a fresh store with 0 items — conflates "empty/not started" with "broken", needs a distinct neutral state (pre-existing, carried from an earlier archived audit, never fixed).
  • Backoffice Monitoring's security/audit event log and webhook delivery table show raw developer text ("GET /api/products responded 200 in 84ms") and raw event codes (order.created) — same category of fix as the Phase 7 wording pass, just deferred due to scope (7+ message templates, webhook taxonomy).
  • Category card images 404 (/images/*.webp) — missing mock image assets, a data/content gap not a code defect.

Tooling/infra

  • 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, RC-01 final polish (12 phases: icon bug in search suggestions, homepage carousel overflow collapsing the whole page, every CMS static page rendering with a blank body, compare color swatch, builder editor relabel + publish/remove-language confirms, raw English/enum strings leaking into ru/hy admin pages, infinite-spinner bugs in Users/Monitoring/Analytics/Reports facades). Full detail: docs/FRONTEND-ROADMAP.md, commits 7b639ca..e153a67.