Skip to content

Feature/integrate profile api/gh36 - #37

Merged
BenmoussaYounes merged 2 commits into
developmentfrom
feature/integrate-profile-api/gh36
Jun 4, 2026
Merged

Feature/integrate profile api/gh36#37
BenmoussaYounes merged 2 commits into
developmentfrom
feature/integrate-profile-api/gh36

Conversation

@BenmoussaYounes

Copy link
Copy Markdown
Owner

GitHub Issue

Closes #33

BenmoussaYounes and others added 2 commits June 4, 2026 19:04
Wires the profile screen to GET /users/getme. Adds full data layer (DTO, service, repository), a UserProfileModel domain type, and ProfileError/retry state. Simplifies ProfileModel to real API fields (username, email, level, XP, isBattleUnlocked) and updates the header and stats row accordingly.

Also threads isBattleUnlocked from the home API response into UserStatsDomainModel and replaces the hardcoded RANG card in StatsRow with a battles lock/unlock card (matching the profile stats style).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@BenmoussaYounes BenmoussaYounes self-assigned this Jun 4, 2026
@BenmoussaYounes
BenmoussaYounes merged commit 5883ae4 into development Jun 4, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feature/inategrate-categories-api

1 participant