Description
Refine the repay modal to clearly explain amount, resulting utilization, and next steps with consistent error/success visuals.
Requirements and context
- Keep logic intact.
- Modal must be scroll-safe and keyboard accessible.
- Copy must avoid ambiguous phrasing.
Suggested execution
Fork and branch
Fork the repo and create a branch:
git checkout -b design/repay-modal
Implement changes
- Review
src/components/RepayModal.tsx.
- Improve spacing, headings, and CTA alignment.
- Add a clear summary row: amount and new utilized amount.
Test and commit
Open the modal where used and verify consistent visuals across pages.
Run tests
Example commit message
chore(design): improve repay modal layout and copy hierarchy
Guidelines
Description
Refine the repay modal to clearly explain amount, resulting utilization, and next steps with consistent error/success visuals.
Requirements and context
Suggested execution
Fork and branch
Fork the repo and create a branch:
Implement changes
src/components/RepayModal.tsx.Test and commit
Open the modal where used and verify consistent visuals across pages.
Run tests
npm testExample commit message
Guidelines