Parsed project fields
[Importance:] Main
[Duration:] 3 Days
{P1}
Summary
Implement dynamic user profile functionality including avatar upload, dynamic profile fields (level, XP, achievements), and the frontend structure for game statistics and match history using mock data. This prepares the user profile system for integration with the game server later.
Description
- Add avatar upload (with preview as a bonus), validation, and default fallback.
- Make profile page fully dynamic (username, level, XP, achievements).
- Integrate BFF stats endpoints for user statistics.
- Build match history UI using mock data, structured for easy future API integration.
- Ensure the profile page loads data dynamically for any user ID.
Intended area
Backend
Problem / goal
Dynamic User Profile, Avatar Upload & Game Stats UI
Scope
- Stats_Service
- frontend/home
- frontend/profile
- bff
Acceptance criteria
Acceptance Criteria
- Profile page loads dynamic data from BFF.
- Avatar upload works and updates immediately.
- Default avatar shown if none exists.
- Stats section displays dynamic stats + derived stats.
- Match history component exists and renders mock data.
- Component is ready for real API integration.
Technical notes
Technical Notes
- Use existing BFF StatsService endpoints.
- Use Zod schemas for validation.
- Mock match history data in a separate file.
- Write frontend component structure for stats
Test plan
Checklist
Parsed project fields
[Importance:] Main
[Duration:] 3 Days
{P1}
Summary
Implement dynamic user profile functionality including avatar upload, dynamic profile fields (level, XP, achievements), and the frontend structure for game statistics and match history using mock data. This prepares the user profile system for integration with the game server later.
Description
Intended area
Backend
Problem / goal
Dynamic User Profile, Avatar Upload & Game Stats UI
Scope
Acceptance criteria
Acceptance Criteria
Technical notes
Technical Notes
Test plan
Checklist