Skip to content

[PRODUCT INTEGRITY][DASHBOARD] Remove simulated deposits, withdrawals, and transaction history #195

Description

@Obiajulu-gif

Summary

Authenticated financial widgets display fabricated transactions and mark deposits or withdrawals complete after client-side timers. Users can be shown balances and success states that have no ledger or provider backing.

Repository evidence

  • components/dashboard/funds-management.tsx:49-94 seeds fake transactions and :97-120 simulates a completed deposit.
  • components/dashboard/loan/withdrawal-system.tsx:44-81 renders another hard-coded financial history.

Scope

  • Load transaction history from the authenticated ledger API.
  • Route mutations through real payment/withdrawal state machines and show pending, confirmed, failed, and unavailable states.

Acceptance criteria

  • Production builds contain no fabricated financial records or timer-based success transitions.
  • Every displayed transaction links to an authoritative record.

Tests

  • Cover empty, loading, provider pending, confirmed, failed, reversed, and stale states.

Non-goals

  • Redesigning dashboard visuals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third Campaign

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions