From 5b3f969dfd726f17a712e5b51bb3b5b5c7fea344 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Sat, 25 Jul 2026 20:05:41 +0400 Subject: [PATCH] docs: mark Phase 1 mechanical fixes done in TODO.md canDeactivate guard, primeng/primeicons+barry-cache cleanup checked off. HeaderConfig.showProfile corrected - was already fixed previously, TODO.md was stale on that one. Co-Authored-By: Claude Sonnet 5 --- docs/TODO.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/TODO.md b/docs/TODO.md index 4e0012b..1439d11 100644 --- a/docs/TODO.md +++ b/docs/TODO.md @@ -4,8 +4,8 @@ Checklist of everything documented as open/remaining across the docs, verified a ## 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. -- [ ] No `canDeactivate` guard on `admin/products/:id/edit` (categories has one, products doesn't). +- [ ] `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 @@ -34,12 +34,12 @@ Checklist of everything documented as open/remaining across the docs, verified a - [ ] 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. -- [ ] `HeaderConfig.showProfile` toggle — no profile/account UI exists to show. +- [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 -- [ ] `primeng`/`primeicons` still in `package.json` (verified: still present). Dead code already removed; `npm uninstall` blocked by `barry-cache@^0.1.0` ETARGET (verified: still pinned to `^0.1.0`, real published range is `0.9.3`). +- [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.