Skip to content

[Frontend] — ENHANCEMENT: Dashboard stats and activity are hardcoded mock data #868

@Olowodarey

Description

@Olowodarey

Every value in the Dashboard (dashboard/page.tsx) is hardcoded:

  • Stats: 1,240 reputation, 68 predictions, 73% win rate, 1,125 XLM winnings
  • Active Predictions: two fake market entries
  • Upcoming Resolutions: two fake entries
  • Recent Activity: four fake entries

These give every user the exact same numbers, which is misleading.

Fix Required

Replace hardcoded values with dynamic mock data that varies per user (using wallet address as seed for randomization). This provides a more realistic UI experience until backend integration.

Files to change:

  • frontend/src/app/(authenticated)/dashboard/page.tsx

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions