Move participant count from hero to Leaderboard (#1036)#1039
Merged
realproject7 merged 1 commit intomainfrom May 4, 2026
Merged
Move participant count from hero to Leaderboard (#1036)#1039realproject7 merged 1 commit intomainfrom
realproject7 merged 1 commit intomainfrom
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
realproject7
commented
May 4, 2026
Owner
Author
realproject7
left a comment
There was a problem hiding this comment.
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.lengthrather thantotalParticipantsfrom the status API. Fine if leaderboard isn't paginated; worth revisiting if pagination is added later.
Decision
Approve. LGTM.
project7-interns
approved these changes
May 4, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
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
- File:
- [ok] Leaderboard now shows
X participant(s)below the section title with singular/plural handling.- File:
src/components/airdrop/Leaderboard.tsx
- File:
- [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.
2 tasks
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
Closes #1036
Test plan
🤖 Generated with Claude Code