Skip to content

fix: /bridge unified table with provider logos + success rate fix - #1548

Merged
Flotapponnier merged 2 commits into
devfrom
fix/bridge-hub-table
Jul 27, 2026
Merged

fix: /bridge unified table with provider logos + success rate fix#1548
Flotapponnier merged 2 commits into
devfrom
fix/bridge-hub-table

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Summary

  • Merges 2 tables (cost + quote speed) into 1 unified leaderboard sorted by fee p50
  • Adds ProviderLogo (logo + initials fallback) to each provider row, linked to /products/<slug>
  • Fixes success rate display: was v * 100 where v is already 0-100 → showed 10000% instead of 100%
  • Sub-header groups "all-in fee · $300 USDC" and "quote latency" for column context
  • drop journal framing #1 row gets indigo highlight + circled rank badge
  • Success rate turns amber when below 80%
  • Across shows in quote columns (not in bridge-quote-latency bench)

Test plan

  • Success rate shows correct values (100%, 99.x%, not 10000%)
  • Provider logos render for all 6 providers (fallback chip for any missing)
  • Provider names link to /products/slug
  • Quote columns show for Across

…1545)

The share-section UI (client) mirrors the whole live dimension filter
set into the share-card URL (chain / region / venue / kind), but the
route.tsx handler was only reading `?chain=` and ignoring the other
three. A reader on /benchmarks/foo?region=us-east&venue=polymarket
clicked Export and got a cross-region + cross-venue aggregate PNG that
did not match what they were staring at on the dashboard.

Fix: validate every declared dimension against the spec option list
(same guard as chain), pass the full filter set to getBenchmark(), and
concatenate the pill label with ' , ' so a Solana + US-East pin renders
as 'Solana , US-East' on the card watermark. Applies to all 5 templates
(ranking, leaderboard, snapshot, headline, compare) since they share
this route.
@Flotapponnier
Flotapponnier merged commit 1af6a09 into dev Jul 27, 2026
1 check failed
@Flotapponnier
Flotapponnier deleted the fix/bridge-hub-table branch July 27, 2026 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant