Skip to content

Add bounty countdown timer#1283

Open
nikkkkj wants to merge 1 commit into
SolFoundry:mainfrom
nikkkkj:codex/add-countdown-timer
Open

Add bounty countdown timer#1283
nikkkkj wants to merge 1 commit into
SolFoundry:mainfrom
nikkkkj:codex/add-countdown-timer

Conversation

@nikkkkj
Copy link
Copy Markdown

@nikkkkj nikkkkj commented May 14, 2026

Fixes #826.

Summary

  • Add a reusable CountdownTimer component for bounty deadlines
  • Display days/hours/minutes remaining and update every minute without refresh
  • Show warning styling under 24 hours and urgent styling under 1 hour
  • Show Expired once the deadline has passed
  • Render the timer on bounty cards and bounty detail pages
  • Add focused tests for formatting, warning, urgent, and expired states
  • Restore missing frontend lib/animations and lib/utils helpers so existing imports resolve during production build

Verification

  • npm test -- countdown-timer.test.ts
  • npm run build

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