Skip to content

fix: accessibility, escrow labels, tab persistence, and formatting deduplication - #346

Merged
chonilius merged 4 commits into
MergeFi:mainfrom
Levi-Ojukwu:fix/accessibility-and-ui-improvements
Aug 30, 2026
Merged

fix: accessibility, escrow labels, tab persistence, and formatting deduplication#346
chonilius merged 4 commits into
MergeFi:mainfrom
Levi-Ojukwu:fix/accessibility-and-ui-improvements

Conversation

@Levi-Ojukwu

Copy link
Copy Markdown
Contributor

PR Description:
Closes #258
Closes #259
Closes #260
Closes #261

What changed

…bally

Addresses MergeFi#258. Users who set their OS/browser preference to reduce motion
now get a reduced-motion experience: all transitions and animations are
effectively disabled via a @media (prefers-reduced-motion: reduce) block.
…eDetailPage

Addresses MergeFi#259. The escrow status card previously used a binary ternary
that labeled every non-open status as 'Funds locked', even for paid,
refunded, and expired bounties where funds have already left escrow.
Now maps each BountyStatus to its accurate label: 'Awaiting funding' (open),
'Funds locked' (funded/claimed/in_review/merged), 'Paid out' (paid),
'Refunded to sponsor' (refunded), 'Expired, unclaimed' (expired).
Also aligns the BountyStatus type with the actual statuses used in code.
Addresses MergeFi#260. The Active/Completed tab state is now persisted to the URL
as a ?tab=completed search param via shallow router.replace, so the selected
tab survives page refreshes and can be shared via link. Wrapped the client
component in Suspense as required by Next.js useSearchParams.
…plicating logic

Addresses MergeFi#261. StatCard's currency formatting now calls formatCurrency from
utils.ts directly instead of reimplementing the same toLocaleString logic.
Eliminates the drift-prone pattern of maintaining identical formatting rules
in two independent locations.
@vercel

vercel Bot commented Aug 30, 2026

Copy link
Copy Markdown

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

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Aug 30, 2026

Copy link
Copy Markdown

@Levi-Ojukwu Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@chonilius
chonilius merged commit 965eab4 into MergeFi:main Aug 30, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment