Feat/elite tier badge - #478
Open
marshalfleet wants to merge 2 commits into
Open
Conversation
|
@marshalfleet Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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 visual indicator for Level 3 players to help scouts quickly identify players who have reached the highest verifiable platform status.
Changes Made
Added elite variant support to components/ui/Badge.tsx
Introduced gold/amber styling for Elite Tier badges
Updated components/PlayerCard.tsx
Displays an "Elite Tier" badge when player.progressLevel === 3
Keeps existing badge behavior unchanged for lower levels
Updated public player profile page:
app/[locale]/player/[id]/page.tsx
Added a prominent Elite Tier banner/hero badge for Level 3 players
Added i18n support:
Added "Elite Tier" translation string to all locale files
Added component tests to verify:
Badge renders for Level 3 players
Badge does not render for levels 0–2
Acceptance Criteria Covered
Badge has an elite variant
PlayerCard displays Elite Tier badge for level 3 players
Public player profile displays Elite Tier banner
i18n strings added across all locale files
Tests verify correct rendering behavior across all player levels
Testing
Verified Elite Tier badge styling and visibility
Tested PlayerCard rendering for:
Level 3 players → badge shown
Levels 0–2 players → badge hidden
Verified public profile Elite Tier banner behavior
Confirmed translations load correctly for all supported locales
Ran test suite to ensure no regressions
Closes #374
:::