Description
Add a share modal to the proof view that lets users generate a public or password-protected link with optional expiry.
Requirements and context
- Must be accessible (WCAG 2.1 AA), responsive, and documented in the design system
- Should be consistent with existing patterns and easy to review
- Relevant code:
src/pages/AttestationDetail.tsx
- Password strength must reuse the shared meter
Suggested execution
- Fork the repo and create a branch
git checkout -b uiux/proof-share-modal
- Implement changes
- Design permissions section (public/password)
- Add expiry picker
- Copy-to-clipboard with confirm
- Validate accessibility and responsive assumptions
Test and commit
- Run checks
npm run lint and component/visual tests
- Cover edge cases
- Breakpoints, states, keyboard/screen-reader, contrast
- Include screenshots/before-after and accessibility (axe) notes
Example commit message
design: proof share modal with link permissions
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Description
Add a share modal to the proof view that lets users generate a public or password-protected link with optional expiry.
Requirements and context
src/pages/AttestationDetail.tsxSuggested execution
git checkout -b uiux/proof-share-modalTest and commit
npm run lintand component/visual testsExample commit message
design: proof share modal with link permissionsGuidelines