Skip to content

Repay modal layout and copy hierarchy improvements #40

@greatest0fallt1me

Description

@greatest0fallt1me

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

npm test

Example commit message

chore(design): improve repay modal layout and copy hierarchy

Guidelines

  • Timeframe: 96 hours.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions