Description
On-chain rejections need an error illustration that is calm, informative, and non-blaming. Design an illustration paired with a plain-language error copy template and a "Retry with adjusted gas" primary CTA.
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/components/StatusTimeline
- Illustration must be tokenized for both themes
Suggested execution
- Fork the repo and create a branch
git checkout -b uiux/onchain-rejection-illustration
- Implement changes
- Design a calm error illustration with brand accents
- Draft copy templates for common rejection reasons
- Specify CTA states (retry, adjust, cancel)
- Validate accessibility and responsive assumptions
Test and commit
- Run checks
npm run lint and component/visual tests
- Cover edge cases
- Unknown reasons, retry-then-succeed, dark mode contrast
- Include screenshots/before-after and accessibility (axe) notes
Example commit message
design: onchain rejection illustration
Guidelines
- Minimum 95 percent test coverage
- Clear documentation
- Timeframe: 96 hours
Description
On-chain rejections need an error illustration that is calm, informative, and non-blaming. Design an illustration paired with a plain-language error copy template and a "Retry with adjusted gas" primary CTA.
Requirements and context
src/components/StatusTimelineSuggested execution
git checkout -b uiux/onchain-rejection-illustrationTest and commit
npm run lintand component/visual testsExample commit message
design: onchain rejection illustrationGuidelines