feat(rewards): add VIP tag to referral code input#43527
Open
samir-acle wants to merge 6 commits into
Open
Conversation
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
Author
|
I have read the CLA Document and I hereby sign the CLA |
…oller-init Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Builds ready [d011ec3]
⚡ Performance Benchmarks (Total: 🟢 17 pass · 🟡 8 warn · 🔴 0 fail)
Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
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.
Description
Adds a gold "VIP" tag displayed inside the referral code input field when the entered code belongs to a VIP. The tag renders a gold MetaMask fox icon and "VIP" label with a continuously rotating gold gradient border animation. It appears as the
endAccessoryof the referralTextFieldwhen the code is valid and VIP-flagged.Changelog
CHANGELOG entry: Display a VIP tag when using a VIP referral code.
Related issues
Fixes: RWDS-1389
Manual testing steps
Screenshots/Recordings
Before
Valid referral code shows a plain checkmark icon.

Invalid referral codes show an error message.

This is still the current state for invalid and non-VIP referral codes.
After
VIP referral code shows an animated gold "🦊 VIP" tag inside the input field.

Pre-merge author checklist
Pre-merge reviewer checklist