TASK22028: update memory-bank for myportal and i18n follow-up

This commit is contained in:
2026-03-13 17:57:25 +00:00
parent d32d7d016e
commit c2e14cab31
4 changed files with 77 additions and 0 deletions
+30
View File
@@ -1082,3 +1082,33 @@ Validation:
Follow-ups:
- Keep allow-list expansion path-scoped and driven by concrete browser-call requirements only.
---
### CL-030: Follow-up fix — myportal delete caseRef alignment + i18n namespace
date: 2026-03-13
author: Cline
scope: `components/myportal/{viewall,topthree_reps}.js`, `i18n.js`, `memory-bank/*`
type: change
rationale: Align representation delete calls to stable case reference identifier and resolve missing locale namespace mapping for new-appeal route context.
impact: Prevents delete-call identifier mismatches in myportal representation flows and restores expected translation namespace availability for `/newappeal/[appealtypes]`.
status: completed
Summary:
- Updated delete-representation callers to pass `caseRef` instead of display/ticket values in:
- `components/myportal/topthree_reps.js`
- `components/myportal/viewall.js`
- Included related view-all styling/class tidy updates and watched-case list refresh filtering adjustment.
- Added missing `myportal` namespace for route key:
- `i18n.js` -> `/newappeal/[appealtypes]`
Validation:
- `node tests/phase7/service-behaviour.test.cjs` -> pass (12/12)
- `npm run lint` -> warnings only (pre-existing)
Follow-ups:
- Keep delete calls consistently keyed on case reference across portal/view-all/top-three variants.