[Feature]: ELUSoC_2026 — Leaderboard page has no search or filter — users cannot find themselves in large communities
Problem
The LeaderboardPage fetches up to 50 entries and displays them in a table, but provides no search box or filter controls. In communities with more than ~20 members, users cannot quickly locate a specific player or filter by role.
Current Behavior
- The leaderboard renders a flat table with no way to search or filter.
- Users must visually scan all 50 rows to find a specific username.
- The "Your rank" pill at the top only appears when the logged-in user is in the top 50 — no way to search for others outside the list.
Why This Improvement Is Needed
- Large communities (50+ members) need search to find specific participants.
- Admins/Moderators often want to filter the leaderboard by role (e.g., "show all Members").
- This is a standard UX feature expected in any ranking system.
- The data is already fetched client-side, so no additional API calls are needed.
Proposed Solution
Add a search box and role filter pills above the leaderboard table:
- A text input that filters entries by username (case-insensitive substring match).
- Role pills (All / Admin / Organisation / Moderator / Event Staff / Member).
- A result count label shown when a filter is active.
- The top-3 podium is hidden when a filter is active (rankings would be misleading).
- An empty state is shown when no players match the current filter.
All filtering is client-side with useMemo — no new API endpoints required.
Expected Outcome
- Users can type a username to instantly locate a player in the leaderboard.
- Admins can click a role pill to view only Members or only Moderators.
- The UX is consistent with the existing Shop page's search + category filter pattern.
Additional Notes
- No backend changes required.
- The podium correctly reappears when filters are cleared.
Thank you for raising this issue!
We'll review it as soon as possible. We truly appreciate your contributions! ✨
Meanwhile make sure you've visited the README.md, CONTRIBUTING.md, and CODE_OF_CONDUCT.md before creating a PR for this. Also, please do NOT create a PR until this issue has been assigned to you. 😊
Hi, I'd like to work on this issue. I'll add a client-side search box and role filter pills to LeaderboardPage with useMemo-based filtering, result count label, and empty state, as outlined above. Could you please assign it to me?
/assign /claim
Hi,could you assign this issue to me?