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.
This commit is contained in:
sdarbinyan
2026-07-25 23:56:13 +04:00
parent 1163bfd88a
commit a670ca994f
107 changed files with 252 additions and 11159 deletions

View File

@@ -91,10 +91,11 @@ don't fix inline unless asked.
introducing the first one is an architecture decision, not polish.
- Found: 2026-07-23, RC-Premium-01.
8. **`stars.component` rating glyph color and a few legacy hex literals in
`pages/category`/`pages/search` have no exact design-token match.**
Left as literals to avoid an unintended visual shift; needs a deliberate
token-extension decision before normalizing.
8. ~~`stars.component` rating glyph color and a few legacy hex literals in
`pages/category`/`pages/search` have no exact design-token match.`~~
**Resolved 2026-07-25 (RC-02 task 6):** `pages/category`/`pages/search`
deleted as unrouted dead code (see item 13). `stars.component` literals
remain, tracked separately if still relevant.
- Found: 2026-07-23, RC-Premium-01.
9. **Genuine brand-color contrast failures (WCAG AA).** `--border-color`
@@ -125,9 +126,11 @@ don't fix inline unless asked.
most of the remaining bundle-budget overage in one move).
- Found: 2026-07-24, RC PERF-01 (`PERFORMANCE_REPORT.md` (removed, see git history)).
13. **CRITICAL`pages/category/*`, `pages/search/*`, `pages/item-detail/*`,
`pages/info/**`, `pages/legal/**` (40+ files) are entirely unrouted dead
code, not live pages.** Verified directly against `src/app/app.routes.ts`:
13. **RESOLVED 2026-07-25 (RC-02 task 6) — `pages/category/*`, `pages/search/*`,
`pages/item-detail/*`, `pages/info/**`, `pages/legal/**` (40+ files) were
entirely unrouted dead code, not live pages.** Decision: delete (not
wire up) — each had a live replacement already serving its traffic.
Verified directly against `src/app/app.routes.ts`:
`category/:id` and `category/:id/items` `redirectTo: 'catalog/:id'`
(served by `CatalogContainerComponent`); `search` also routes to
`CatalogContainerComponent`; `product/:id` routes to
@@ -321,9 +324,9 @@ don't fix inline unless asked.
hardcoded hex colors, duplicating what `app-skeleton` already provides
and what `catalog-container`/`product-details-container` already use.
- Fixed: 2026-07-23, RC STORE-01 (`STORE_REVIEW.md` (removed, see git history)).
- **Correction (2026-07-25):** these files are unrouted dead code (Open
item 13) — the fix is real and harmless but currently has zero
production effect. Live category/search rendering goes through
- **Superseded 2026-07-25 (RC-02 task 6):** these files were confirmed
unrouted dead code (item 13) and deleted outright, making this fix
moot. Live category/search rendering goes through
`CatalogContainerComponent`, not these files.
8. **Cart's dead `.email-form` markup and CSS removed.** Post-payment