Bug: Bounty payout display is misleading when payment_coin is set
Description
When a bounty is created with payout_usd: 1, payment_coin: 'SOL', the display reads:
$1.00 USD (paid in SOL)
This is technically correct, but readers (including me) easily misread it as "1 SOL" instead of "$1 USD paid in SOL".
Real-world example
A bounty with payout_usd: 1, payment_coin: 'SOL' was created for "I will pay for every bug fix found and PR submitted that fixes it" (max 50 submissions).
When the creator told a contributor "5 PRs × $1 USD = $5 USD", the contributor responded asking if it was really 5 SOL (~$1000), because the display format led to that interpretation.
Why it's confusing
The format ($1.00 USD) (paid in SOL) has the USD value front-loaded, which the eye reads as the primary amount. A user unfamiliar with the convention may assume the parenthetical clarifies a coin-denominated bounty (e.g. "1 SOL worth $X USD").
Suggested fix
Make the display unambiguous. Options:
Option A: Show both currencies explicitly when payment_coin is set
$1.00 USD (≈ 0.005 SOL at current rate)
Option B: Lead with the actual payment unit
Pay 0.005 SOL per submission ($1.00 USD)
Option C: Add a tooltip/aria-label that clarifies
<span title="USD value: $1.00. Paid in SOL equivalent at submission time.">
0.005 SOL
</span>
Files to change
src/lib/bounties.ts — formatBountyPayout function (line 9-16)
- All 4 call sites in
src/app/bounties/page.tsx, src/app/bounties/[id]/page.tsx, src/app/dashboard/bounties/page.tsx
Priority
Low — display-only bug, but it materially affects user expectations about payment amounts.
Bug: Bounty payout display is misleading when payment_coin is set
Description
When a bounty is created with
payout_usd: 1, payment_coin: 'SOL', the display reads:This is technically correct, but readers (including me) easily misread it as "1 SOL" instead of "$1 USD paid in SOL".
Real-world example
A bounty with
payout_usd: 1, payment_coin: 'SOL'was created for "I will pay for every bug fix found and PR submitted that fixes it" (max 50 submissions).When the creator told a contributor "5 PRs × $1 USD = $5 USD", the contributor responded asking if it was really 5 SOL (~$1000), because the display format led to that interpretation.
Why it's confusing
The format
($1.00 USD) (paid in SOL)has the USD value front-loaded, which the eye reads as the primary amount. A user unfamiliar with the convention may assume the parenthetical clarifies a coin-denominated bounty (e.g. "1 SOL worth $X USD").Suggested fix
Make the display unambiguous. Options:
Option A: Show both currencies explicitly when
payment_coinis setOption B: Lead with the actual payment unit
Option C: Add a tooltip/aria-label that clarifies
Files to change
src/lib/bounties.ts—formatBountyPayoutfunction (line 9-16)src/app/bounties/page.tsx,src/app/bounties/[id]/page.tsx,src/app/dashboard/bounties/page.tsxPriority
Low — display-only bug, but it materially affects user expectations about payment amounts.