User Story #945
openEPIC #930: CS Trust Score
Feature #944: Trust Leaderboard
Frontend User Story – Trust Leaderboard
0%
Description
As a ConnectSouq member, I want to view the Trust Leaderboard so that I can identify the most trusted members in the community and benchmark my own contributions against others.
Business Background¶
The Trust Leaderboard promotes transparency and healthy competition by showcasing members with the highest Trust Scores. Rankings are based on verified Trust Scores and help members identify trusted business professionals within the ConnectSouq ecosystem. The Phase 1 scope explicitly includes leaderboards as part of the CSI reputation feature.
Functional Requirements¶
The member shall be able to:
- View Top Trusted Members.
- View member ranking.
- View member Trust Score.
- View Trust Level.
- View Trust Badge.
- Search members.
- Filter leaderboard by Country.
- Filter leaderboard by Business Sector.
- View own ranking even if not in the Top 100.
- Navigate to public member profile.
UI Components¶
- Leaderboard Table
- Rank Number
- Member Name
- Profile Photo
- Trust Badge
- Trust Level
- Trust Score
- Country Filter
- Sector Filter
- Search Bar
- Pagination
- My Ranking Card
Acceptance Criteria¶
Scenario 1 – View Leaderboard¶
Given
Member is logged in.
When
Member opens the Leaderboard.
Then
- Members are displayed in descending Trust Score order.
- Rank numbers are displayed.
- Trust Score is visible.
- Trust Level is visible.
- Trust Badge is displayed.
Scenario 2 – Search Member¶
Given
Leaderboard contains members.
When
Member searches for another member.
Then
Matching members are displayed.
Scenario 3 – Filter Leaderboard¶
Given
Leaderboard contains multiple countries and sectors.
When
Member selects filters.
Then
Only matching members are displayed.
Scenario 4 – My Ranking¶
Given
Logged-in member is outside Top 100.
When
Leaderboard loads.
Then
"My Ranking" section displays current rank and Trust Score.
Validation Rules¶
- Only active members appear.
- Suspended members are excluded.
- Rankings are based on latest Trust Score.
- Leaderboard is read-only.
Button Actions¶
| Button | Action |
|---|---|
| Search | Search members |
| Apply Filter | Apply filters |
| Clear Filter | Reset filters |
| View Profile | Open public member profile |
| Refresh | Reload leaderboard |
Error Messages¶
| Scenario | Message |
|---|---|
| Unable to load leaderboard | Please try again later. |
| No members found | No matching members found. |
| Network error | Unable to connect to server. |
In Scope (MVP)¶
- Global leaderboard
- Trust Score ranking
- Trust Level display
- Badge display
- Country filter
- Sector filter
- Search
- My Ranking card
Out of Scope¶
- Weekly leaderboard
- Monthly leaderboard
- Team leaderboard
- Franchise leaderboard
- Achievement leaderboard
- AI recommendations
- Reward distribution
Dependencies¶
- Authentication
- Trust Score Engine
- Member Directory
- Member Profile
Definition of Done¶
- Leaderboard page completed.
- Search and filters implemented.
- Responsive design completed.
- Backend integration successful.
- QA approved.