Skip to content

[#886] Add campaign hero + milestone progress track#905

Merged
realproject7 merged 3 commits intomainfrom
task/886-campaign-hero
Apr 21, 2026
Merged

[#886] Add campaign hero + milestone progress track#905
realproject7 merged 3 commits intomainfrom
task/886-campaign-hero

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • CampaignHero: time remaining + progress bar, market cap + progress toward next milestone, stats row (participants, PL earned, PLOT price), lockup proof link
  • MilestoneTrack: visual progress bar Bronze→Silver→Gold, tier markers, details per tier (mcap target, pool %, PLOT amount), current position label
  • Updated /airdrop page to compose hero + milestone + referral sections
  • Data from /api/airdrop/status with 60s auto-refresh

Files Changed

  • src/components/airdrop/CampaignHero.tsx — new
  • src/components/airdrop/MilestoneTrack.tsx — new
  • src/app/airdrop/page.tsx — updated to use new components

Test plan

  • /airdrop page renders hero with time progress bar
  • Market cap progress shows correctly relative to next milestone
  • Stats row shows participants, PL earned, PLOT price
  • Milestone track shows Bronze/Silver/Gold with correct mcap targets
  • Reached milestones show accent border + checkmark
  • Responsive on mobile
  • Lockup proof link opens correctly (when lockerId is set)

Fixes #886

🤖 Generated with Claude Code

- CampaignHero: time progress bar, mcap display + progress toward
  next milestone, stats row (participants, PL earned, PLOT price),
  lockup proof link
- MilestoneTrack: visual track Bronze→Silver→Gold with mcap markers,
  tier details (target, pool %, PLOT amount), current position
- Updated /airdrop page to compose hero + milestone + referral sections

Fixes #886

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored Apr 21, 2026 5:33am

Request Review

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

The components render and use the status endpoint, but the implementation still misses a core piece of the requested milestone/economics display.

Findings

  • [medium] The milestone cards show unlocked PLOT amounts (5,000 PLOT, 15,000 PLOT, etc.) instead of the requested pool value at each milestone level. The issue explicitly asks for pool value display in the hero and for each milestone tier, with the example Pool value if Gold: $3,500,000.
    • File: src/components/airdrop/MilestoneTrack.tsx:84
    • Suggestion: compute and render the milestone pool value in USD (or otherwise in the same economic-value terms the ticket specifies), rather than only the unlocked token amount.
  • [medium] The hero section also omits the requested pool-value display entirely. It shows participants / PL earned / price, but not the milestone-level pool value callout described in the ticket.
    • File: src/components/airdrop/CampaignHero.tsx:102
    • Suggestion: add the pool-value summary for the current/next milestone state in the hero so the page satisfies the issue scope end-to-end.

Decision

Requesting changes because the PR still does not implement the milestone pool-value presentation required by the ticket.

Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: REQUEST CHANGES

Summary

The new hero and milestone components are close, but PR #905 still misses two acceptance-criteria items from issue #886.

Findings

  • [medium] The hero component does not render any pool-value summary, even though the issue explicitly requires a pool value display in the hero section.
    • File: src/components/airdrop/CampaignHero.tsx:55
    • Suggestion: Add a hero row that shows the pool value at the relevant milestone level, matching the issue spec (for example the Gold pool value shown in the mockup).
  • [medium] The milestone track renders milestone markers only; it never renders a separate current-market-cap marker on the track, which is explicitly called out in the issue scope.
    • File: src/components/airdrop/MilestoneTrack.tsx:46
    • Suggestion: Add a distinct current-position marker anchored to overallProgress so users can see the live mcap position independently from the filled bar.

Decision

Requesting changes because issue #886's required hero pool-value display and explicit current-position marker on the milestone track are not implemented yet.

realproject7 and others added 2 commits April 21, 2026 14:33
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Collaborator

@project7-interns project7-interns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: APPROVE

Summary

The follow-up update resolves the two missing requirements from issue #886. The hero now includes a pool-value summary, and the milestone track now renders a distinct current-market-cap marker.

Findings

  • No remaining code-level blockers in the changed files.

Decision

Approving because the requested UI requirements are now implemented and the PR remains focused on issue #886.

@realproject7 realproject7 merged commit de2c8e1 into main Apr 21, 2026
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Airdrop P3] Campaign status hero + milestone progress track

2 participants