ADORSYS-GIS / ADORSYS-GIS/cloud-wallet-ui
Implement Claim Review and Selective Disclosure Screen
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
### Description
Provide a screen where users can review exactly which claims will be disclosed before approving the presentation. This screen must support selective disclosure for SD-JWT credentials and handle format-specific claim display.
This is a critical privacy screen where users control what personal information is shared.
### Tasks
- [ ] Create `ClaimReviewPage` component
- [ ] Display selected credentials from previous step
- [ ] Display all claims that will be shared, grouped by credential
- [ ] **SD-JWT Selective Disclosure**: Add toggle controls for selectively disclosable claims
- [ ] **MSO MDOC**: Display namespace-qualified claims (e.g., `org.iso.18013-5.1/last_name`)
- [ ] **JWT VC JSON**: Display all claims (no selective disclosure available)
- [ ] Highlight mandatory claims that cannot be withheld
- [ ] Show hidden/non-disclosed claims with count
- [ ] Display claim value constraints from DCQL (e.g., "must equal X")
- [ ] Show claim path pointers in human-readable format
- [ ] Add "Show All Claims" toggle to see complete credential contents
- [ ] Display privacy impact summary (e.g., "Sharing 3 of 8 claims")
- [ ] Add Approve button to proceed to final consent
- [ ] Add Back button to return to credential selection
- [ ] Persist disclosure decisions in `PresentationProvider` state
### Acceptance Criteria
- User can review all claims that will be disclosed
- Selective disclosure toggles work correctly for SD-JWT credentials
- Mandatory claims are clearly marked and non-toggleable
- Namespace-qualified claims display correctly for mso_mdoc
- User understands which information is shared vs withheld
- Approved claims match the presentation request requirements
- UI is consistent with issuance flow design patterns
- Disclosure decisions persist in state
### Backend Dependencies
- None (uses data from Tickets 4-5)
### Related Tickets
- Ticket 5 (Selection) - Previous step
- Ticket 7 (Consent) - Next step
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.