Skip to content

fix(escrow): display accurate escrow status labels for terminal states (#259) - #343

Open
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix-escrow-status-labels
Open

fix(escrow): display accurate escrow status labels for terminal states (#259)#343
XueyuanPang-Google wants to merge 1 commit into
MergeFi:mainfrom
XueyuanPang-Google:fix-escrow-status-labels

Conversation

@XueyuanPang-Google

Copy link
Copy Markdown

Summary

Fixes #259 by replacing the binary open/locked escrow check with an accurate status mapping covering all BountyStatus values in IssueDetailPage.

Changes

  • Maps paid to 'Paid out'
  • Maps refunded to 'Refunded to sponsor'
  • Maps expired to 'Expired, unclaimed'
  • Maps open to 'Awaiting funding' and active states (funded, claimed, in_review, merged) to 'Funds locked'

Verification

Correctly renders accurate escrow state for terminal and active bounties without displaying contradictory labels.


Payout Address: 0x4DF12f27bEDC11EDEAfa6154A193C65a329388DE

@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

@XueyuanPang-Google is attempting to deploy a commit to the chonilius' projects Team on Vercel.

A member of the Team first needs to authorize it.

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

Labels

None yet

Projects

None yet

1 participant