[#1059] Rebuild airdrop chart as area chart with linear-Y $ axis#1060
Merged
realproject7 merged 1 commit intomainfrom May 6, 2026
Merged
[#1059] Rebuild airdrop chart as area chart with linear-Y $ axis#1060realproject7 merged 1 commit intomainfrom
realproject7 merged 1 commit intomainfrom
Conversation
Per user feedback: the thin 1D bar layout from #1056 didn't match the benchmark (ultrasound.money's ETH supply chart). Replace with a tall area chart in the same visual style: - Y-axis: linear, actual \$ amounts (\$0, \$25M, \$50M, \$75M, \$100M tick labels on the left). - X-axis: banded MCap progression. 4 milestone bands of 25% width each. No time. Bottom labels: tier names (bronze/silver/gold/diamond). - Top-of-band labels (desktop): TIER NAME / \$value / unlocks Y% / (≈ #Z), centered above each band column. Tier name now visible on desktop too, satisfying the explicit ask. - Curve: piecewise log-interpolated through the 5 milestone knots (24 sub-samples per band → 97 points total). Heartbeat dot lies exactly on the curve by construction. - Area fill below the curve, accent gradient. - Subtle Y gridlines and band dividers (no grid clutter). - Mobile: 4-column legend below chart preserved from #1056. Chart is now 280px tall (was 110px) — proper area-chart proportions. Fixes #1059 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
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.
Fixes #1059
Summary
Replaces the thin 1D milestone bar from #1056/#1058 with a tall area chart in the ultrasound.money ETH supply visual style, per user feedback:
What changed
TIER NAME(small caps, letter-spaced) /\$1M(bold) /unlocks 10%/(≈ #1900)(dim). Tier name added per user ask.bronze/silver/gold/diamond) as X-axis labels.(mcapToX(currentFdv), currentFdv)— lies on the curve by construction.Removed
Files
src/components/airdrop/CampaignHero.tsx—MCapChartrewritten end-to-end.package.json— 1.7.1 → 1.8.0 (2nd digit, design overhaul of an existing component).Verification
npm run typecheckpassesnpm run lintclean forCampaignHero.tsxTest plan
Reviewer note
Block this PR if it: