[#1055] Redesign airdrop chart as horizontal milestone progression#1056
Merged
realproject7 merged 1 commit intomainfrom May 6, 2026
Merged
[#1055] Redesign airdrop chart as horizontal milestone progression#1056realproject7 merged 1 commit intomainfrom
realproject7 merged 1 commit intomainfrom
Conversation
Drop the time-series approach (vertical milestone lines on a Y-banded log axis with separate historical line + dashed projection) and replace with a 1D horizontal milestone progression chart per user feedback. - X-axis = MCap, banded so each milestone gets equal 25% of width. Reuses the same piecewise-linear-banded log interpolation from #1051, rotated to the X-axis. - 4 vertical dashed milestone markers at 25/50/75/100%. - Top-of-vertical labels (desktop): $X / unlocks Y% / (≈ #Z). - Mobile: 4-column grid below chart with tier name + value + pct. - Single horizontal line is the "MCap path"; thick portion = floor → current, dim portion = current → diamond. Heartbeat dot on the line at current MCap. - No date axis, no projection line, no historical area fill, no daily-prices fetch. - Chart is now 110px tall (vs 200px) — a thin band, not an area. Reviewer: block if any time-axis or projection element returns. Fixes #1055 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 was referenced May 6, 2026
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 #1055
Summary
Replaces the time-series chart from #1052 with a 1D horizontal milestone progression chart per user feedback. The previous design conflated three separate pieces of information (current MCap, historical line, projected trajectory) on a 2D canvas; the new design shows one thing — where current MCap sits on the path from $0 to $100M — with milestones as vertical waypoints along the way.
Changes
Bronze / Silver / Gold / Diamondtier names plus\$XandY%. CMC ranks omitted on mobile.\$50floor artifact, alternating band stripes,useQueryfor/api/airdrop/daily-prices. (The route itself is left intact — just unused by this component.)Files
src/components/airdrop/CampaignHero.tsx—MCapChartrewritten end-to-end. Net-144lines.package.json— version 1.6.3 → 1.7.0 (2nd digit, design overhaul of an existing component).Verification
npm run typecheckpassesnpm run lintpasses (no new warnings onCampaignHero.tsx)Test plan