@@ -51,6 +51,55 @@ Business responsibility clarification:
|
||||
|
||||
This architectural reference builds on those business concepts but does not replace the more detailed terminology guide in `context/business-domain-overview.md`.
|
||||
|
||||
## CRM Display Infrastructure Status (2026-07-01)
|
||||
|
||||
### Stream status
|
||||
|
||||
**CRM Display Infrastructure: COMPLETE**
|
||||
|
||||
### Shared helper introduced
|
||||
|
||||
- `lib/i18n/crmDisplay/resolveCrmDisplayValue.js`
|
||||
|
||||
### Helper contract
|
||||
|
||||
The shared CRM display resolver should be understood as handling the standard CRM formatted/display-value translation concern only.
|
||||
|
||||
Current contract:
|
||||
|
||||
- missing CRM display value -> return `fallbackValue`
|
||||
- English -> return CRM display value
|
||||
- Welsh -> return translated value when available
|
||||
- Welsh without translation -> return CRM display value
|
||||
|
||||
### Architectural responsibility
|
||||
|
||||
This helper centralises the standard CRM formatted/display-value translation pattern used across portal presentation surfaces.
|
||||
|
||||
It should be treated as the shared compatibility seam for:
|
||||
|
||||
- CRM formatted values
|
||||
- CRM display values
|
||||
- standard EN/CY display translation lookup
|
||||
- existing consumer-specific absent-value fallback handling
|
||||
|
||||
### Boundary exclusions
|
||||
|
||||
The helper boundary intentionally excludes the following concerns:
|
||||
|
||||
- keyed lookup translation
|
||||
- project-type list translation
|
||||
- hyperlink / website rendering
|
||||
- mixed presentation rows
|
||||
- lifecycle interpretation
|
||||
- status interpretation
|
||||
- post-decision interpretation
|
||||
- other presentation-specific derived values
|
||||
|
||||
These are separate architectural concerns and should not be folded into `resolveCrmDisplayValue(...)`.
|
||||
|
||||
If future work is needed in those areas, it should introduce a separate abstraction rather than broadening the helper.
|
||||
|
||||
## Portal API Platform Assessment Status (2026-06-20)
|
||||
|
||||
### Stream status
|
||||
|
||||
Reference in New Issue
Block a user