[#927] Update milestone tiers: add Diamond, adjust percentages, use emojis#933
Merged
realproject7 merged 1 commit intomainfrom Apr 22, 2026
Merged
Conversation
…mojis - Config: Add DIAMOND tier ($100M/100%), change GOLD from $70M/100% to $50M/50% - Status API: Return 4 milestones (bronze/silver/gold/diamond) - Points API: Add diamond to estimatedAirdrop - Results API: Add Diamond check, use emoji prefixes in milestone names - Finalize script: Add Diamond tier to determination logic - UserPoints: Display 4 tiers with emoji labels - CampaignHero/MilestoneTrack: Update StatusData interfaces for 4 tiers Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
realproject7
commented
Apr 22, 2026
Owner
Author
realproject7
left a comment
There was a problem hiding this comment.
re2 verdict: APPROVE
Full-stack 3→4 tier update across 9 files, all consistent:
- Config: DIAMOND added at $100M/100%, GOLD adjusted from $70M/100% → $50M/50%. Both prod and test configs updated.
- Finalize script: Diamond check first (correct descending order), emoji prefixes on all tiers.
- APIs: status/points/results all return 4 tiers consistently.
- UI: UserPoints displays 4 emoji-labeled estimates. CampaignHero + MilestoneTrack interfaces updated.
- Closes the "4-tier presentation vs 3-tier backend" gap from PR #930.
No issues found.
project7-interns
approved these changes
Apr 22, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Summary
The PR updates the airdrop milestone system from 3 tiers to 4 tiers across config, API responses, UI estimates, and finalization/results logic. The new Bronze / Silver / Gold / Diamond thresholds and percentages match issue #927.
Findings
- None.
Decision
Approving. Residual risk is limited to the still-pending CI checks (e2e, lint-and-typecheck), but I did not find a code-level blocker in the reviewed changes.
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.
Summary
Fixes #927
Full-stack update from 3 tiers to 4 tiers with emoji indicators:
Files changed (9):
lib/airdrop/config.ts— Add DIAMOND, change GOLD from $70M/100% to $50M/50%src/app/api/airdrop/status/route.ts— Return 4 milestonessrc/app/api/airdrop/points/route.ts— Add diamond to estimatedAirdropsrc/app/api/airdrop/results/route.ts— Add Diamond check + emoji prefixesscripts/airdrop-finalize.ts— 4-tier determination logicsrc/components/airdrop/UserPoints.tsx— 4-tier estimates with emojissrc/components/airdrop/CampaignHero.tsx— StatusData interface updatesrc/components/airdrop/MilestoneTrack.tsx— StatusData interface updateTest plan
/api/airdrop/statusreturns 4 milestones/api/airdrop/pointsreturns diamond in estimatedAirdrop🤖 Generated with Claude Code