Merged PR 2255: refactor(representations): extract deterministic data-resolution helpers for...
refactor(representations): extract deterministic data-resolution helpers for representation flow (Slice R6, behaviour-preserving) Related work items: #22441
This commit is contained in:
@@ -6,7 +6,7 @@ Base branch: `refactor`
|
||||
|
||||
## Status
|
||||
|
||||
Current slice: Slice R5 — Representation Elements Normalisation
|
||||
Current slice: Slice R6 — Async Data / Service Layer Cleanup
|
||||
Status: COMPLETE
|
||||
|
||||
---
|
||||
@@ -181,6 +181,27 @@ Reduce duplication and coupling in data fetching.
|
||||
- blob/file retrieval
|
||||
- representation detail aggregation
|
||||
|
||||
**Completion notes (this slice):**
|
||||
|
||||
- Implemented on feature branch created from `refactor`: `rep-slice-r6-data-service-cleanup`.
|
||||
- Added deterministic representation-specific data-resolution helpers in:
|
||||
- `components/case/representation/utils/dataResolution.js`
|
||||
- Updated `components/case/representation/index.js` to use extracted helper functions for:
|
||||
- initial case details/results source resolution
|
||||
- details/results lookup by current context (state/edit/ticket/created)
|
||||
- submit-path details source resolution and details lookup
|
||||
- Preserved slice boundary constraints:
|
||||
- no service/API call execution movement
|
||||
- no dispatch sequencing changes
|
||||
- no loader branch redesign
|
||||
- no blob retrieval orchestration changes
|
||||
- no payload contract/Redux/route/query/EN-CY changes
|
||||
- Validation evidence:
|
||||
- `npm run lint` completed (warnings only, no new errors).
|
||||
- `npm run test:reps` completed: **7 passed**.
|
||||
- Manual APP/IP/Agent/LPA checks: **passed**.
|
||||
- Manual EN/CY parity checks: **passed**.
|
||||
|
||||
---
|
||||
|
||||
### Slice R7 — Summary / Case-Type Rendering Simplification (Optional)
|
||||
|
||||
Reference in New Issue
Block a user