Skip to content

Move participant count from hero to Leaderboard (#1036)#1039

Merged
realproject7 merged 1 commit intomainfrom
feat/move-participant-count-1036
May 4, 2026
Merged

Move participant count from hero to Leaderboard (#1036)#1039
realproject7 merged 1 commit intomainfrom
feat/move-participant-count-1036

Conversation

@realproject7
Copy link
Copy Markdown
Owner

Summary

  • Removes participant count ("X participants earning") from CampaignHero
  • Adds participant count as subtitle below Leaderboard section title, format: "X participants"
  • Count derived from leaderboard entries length

Closes #1036

Test plan

  • Participant count no longer appears in hero section
  • Participant count appears below Leaderboard title
  • Correct singular/plural ("1 participant" vs "3 participants")
  • No layout breakage in hero or leaderboard

🤖 Generated with Claude Code

Remove participant count from CampaignHero and add it as a subtitle
below the Leaderboard section title. Format: "X participants".

Bump version: 1.6.0 → 1.6.1

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 4, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
plotlink Ignored Ignored May 4, 2026 4:55am

Request Review

Copy link
Copy Markdown
Owner Author

@realproject7 realproject7 left a comment

Choose a reason for hiding this comment

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

RE2 Verdict: APPROVE

Summary

Clean, minimal implementation of #1036. Participant count removed from hero, added as subtitle below Leaderboard title with correct singular/plural handling.

Findings

  • [ok] Participant count section removed from CampaignHero.tsx (7 lines deleted).
  • [ok] Count added below Leaderboard title as "X participants" with singular/plural handling.
  • [ok] Format matches spec: just "X participants", not "X participants earning".
  • [ok] Version bump 1.6.0 → 1.6.1 correct for this minor move.
  • [ok] Mergeable, lint passes.
  • [note] Count derived from data.entries.length rather than totalParticipants from the status API. Fine if leaderboard isn't paginated; worth revisiting if pagination is added later.

Decision

Approve. LGTM.

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 PR implements issue #1036 cleanly: participant count is removed from the hero and shown as a simple subtitle under the Leaderboard title.

Findings

  • [ok] Hero participant count section was removed, including the "participants earning" copy.
    • File: src/components/airdrop/CampaignHero.tsx
  • [ok] Leaderboard now shows X participant(s) below the section title with singular/plural handling.
    • File: src/components/airdrop/Leaderboard.tsx
  • [ok] Branch is mergeable and checks passed: lint-and-typecheck, e2e, Vercel.
    • File: PR checks

Decision

Approve. The change is focused, matches #1036 acceptance criteria, and passes CI.

@realproject7 realproject7 merged commit f80cf74 into main May 4, 2026
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: move participant count from hero to Leaderboard section

2 participants