feat: add Elite Tier badge for level 3 players - #489
Open
marshalfleet wants to merge 2 commits into
Open
Conversation
marshalfleet
force-pushed
the
feat/elite-tier-badge
branch
from
June 27, 2026 20:10
8f03127 to
98c4f0a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Summary
Implemented an Elite Tier badge system to visually identify Level 3 players across PlayerCard and public player profile views. This provides scouts with a clear indication of players who have reached the highest verifiable status.
Changes Made
Added elite variant support to:
components/ui/Badge.tsx
Added gold/amber styling for the Elite Tier badge variant
Updated:
components/PlayerCard.tsx
Added conditional rendering:
Displays "Elite Tier" badge when player.progressLevel === 3
Hides badge for lower player levels
Updated public player profile:
app/[locale]/player/[id]/page.tsx
Added prominent Elite Tier banner/hero badge for Level 3 players
Added i18n translations for "Elite Tier" across all locale files
Added tests covering badge visibility across all player levels
Acceptance Criteria Covered
Badge includes an elite variant
PlayerCard displays Elite Tier badge for level 3 players
Public player profile displays Elite Tier banner
i18n strings added to all three locale files
Tests verify badge rendering:
Level 3 → badge displayed
Levels 0–2 → badge hidden
Testing
Verified Elite Tier badge renders correctly for Level 3 players
Verified badge does not appear for Levels 0–2
Tested PlayerCard rendering behavior
Tested public profile Elite Tier banner visibility
Confirmed translations load correctly across supported locales
Ran test suite to ensure no regressions
Closes #374
:::