Jpiccoli1691 / 305FitnessCasino

Fitness Casino.
0 stars 0 forks source link

User Story 7: Leaderboard Page #90

Open Mcpmatt opened 3 weeks ago

Mcpmatt commented 3 weeks ago

User Story

As a fitness app user, I want to view the top 5 users across different categories (most steps, most tokens, and most bets placed) so that I can see how I compare to other users and stay motivated to increase my activity and engagement.

Acceptance Criteria

View Categories on the Leaderboard Page:

The Leaderboard page displays three categories:

Top 5 Users with the Most Steps Top 5 Users with the Most Tokens Top 5 Users with the Most Bets Placed

Daily, Weekly, and Monthly Leaderboards:

A user can toggle between daily, weekly, and monthly leaderboards for each category.

The data should refresh to display the top users for the selected timeframe.

Simple Navigation and Page Layout:

The leaderboard page is accessible from the main menu.

Each category has a clear label, and users can view rankings without additional scrolling.

Display User Details:

For each leaderboard entry, show the username and the value for each category (e.g., step count, token count, or number of bets).

Real-Time Data Sync:

The leaderboard page should pull updated data every time the user opens the page to ensure rankings are current.