Skip to content

[UI/UX Design] Design a refund tracking UI with multi-stage progress and ETA #629

Description

@thlpkee20-wq

Summary

[UI/UX Design] Design a refund tracking UI with multi-stage progress and ETA

Why this matters

Refunds flow through stages (requested, approved, broadcast, settled) and buyers need transparency. Build a RefundTracker with stage chips, ETA, and a copyable transaction hash.

Scope

Implement the requested behavior across src/components/dashboard/booking-progress.tsx. The solution must preserve existing compatibility, authorization, and production safeguards.

Priority

High

Acceptance criteria

  • The requested behavior is implemented across src/components/dashboard/booking-progress.tsx with a clear, reviewable contract.
  • Security, authorization, validation, and data-integrity requirements in the repository context are enforced and covered by tests.
  • Failure, retry, timeout, concurrency, and boundary behavior is explicit and produces safe, diagnosable outcomes where applicable.
  • Regression coverage includes empty, invalid, duplicate, and boundary inputs relevant to this flow.
  • Existing API, storage, and deployment compatibility is preserved unless a migration is explicitly documented.

Validation

Include focused tests for:

  • happy paths;
  • invalid input and authorization boundaries;
  • concurrency, retries, or failure recovery;
  • backward compatibility;
  • relevant integration or contract behavior.

The implementation must pass the repository’s existing build, lint, test, and formatting checks (use npm run lint where applicable).

Non-goals

  • Typo-only, formatting-only, or documentation-only changes.
  • Unrelated refactors or dependency upgrades.
  • Weakening security, authorization, CI, or production safeguards.
  • Changing public behavior outside this issue’s scope.

Contributor application

Before implementation, comment with:

  1. relevant experience;
  2. a concise implementation approach;
  3. expected files or modules affected;
  4. an estimate for opening the first PR.

Wait for maintainer assignment before coding.

PR requirements

Use a feature branch and include Closes #.

The PR must:

  • address every acceptance criterion;
  • link each criterion to code and tests;
  • explain security and failure-mode handling;
  • include meaningful regression coverage;
  • document compatibility or migration considerations;
  • pass the repository checks.

Reward-readiness

This is a substantive quality issue. Merge status does not guarantee reward eligibility; final evaluation is determined separately.

Implementation context

Description

Refunds flow through stages (requested, approved, broadcast, settled) and buyers need transparency. Build a RefundTracker with stage chips, ETA, and a copyable transaction hash.

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/dashboard/booking-progress.tsx
  • The transaction hash row must include a copy button with success toast

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b uiux/refund-tracker
  • Implement changes
    • Add a RefundTracker component with four stage chips
    • Add ETA microcopy and "View on explorer" link
    • Add a copy-to-clipboard control for the tx hash
  • Validate accessibility and responsive assumptions

Test and commit

  • Run checks
    • npm run lint and component/visual tests
  • Cover edge cases
    • Responsive breakpoints, empty/loading/error states, keyboard/screen-reader, contrast, dark mode
  • Include screenshots/before-after and accessibility (axe) notes

Example commit message

design: add refund tracker with stage chips and ETA

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Stellar WaveStellar Wave issue batch

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions