Skip to content

feat: add bounty countdown timer component (Bounty #826)#1287

Closed
zp6 wants to merge 1 commit into
SolFoundry:mainfrom
zp6:feat/bounty-countdown
Closed

feat: add bounty countdown timer component (Bounty #826)#1287
zp6 wants to merge 1 commit into
SolFoundry:mainfrom
zp6:feat/bounty-countdown

Conversation

@zp6
Copy link
Copy Markdown

@zp6 zp6 commented May 15, 2026

Bounty Countdown Timer Component

Closes #826

Implementation

  • Shows days, hours, minutes, seconds remaining
  • Updates in real-time (every second)
  • Color changes: green (normal) → yellow (< 24h warning) → red + pulse (< 1h urgent)
  • Shows "Expired" when deadline passes
  • Compact mode for bounty cards, full mode for detail page

Usage

// Full mode
<BountyCountdown deadline={bounty.deadline} />

// Compact (for cards)
<BountyCountdown deadline={bounty.deadline} compact />

Acceptance Criteria

  • Timer displays on bounty cards and detail page
  • Updates without page refresh
  • Visual urgency indicators (color + animation)

Wallet: zp6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

missing-wallet PR is missing a Solana wallet for bounty payout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🏭 Bounty T1: Bounty Countdown Timer Component

1 participant