Skip to content

share cards: provider filter, loading state, pro design - #18

Merged
Flotapponnier merged 1 commit into
mainfrom
share-pro-pass
May 3, 2026
Merged

share cards: provider filter, loading state, pro design#18
Flotapponnier merged 1 commit into
mainfrom
share-pro-pass

Conversation

@Flotapponnier

Copy link
Copy Markdown
Collaborator

Three improvements stacked into one PR.

Provider filter

  • Snapshot/Headline/Compare templates accept a ?providers=slug1,slug2 filter
  • ShareSection renders toggleable pills above the preview when the active template supports it
  • Headline picks the first selected (best p50), Compare picks the first two, Snapshot includes them all
  • Colors stay stable: every provider keeps its dashboard color even when others are toggled off

Loading state

  • New SharePreview component with a centered spinner + 'Generating preview…' label while the PNG renders
  • Resets on src change (template tab or provider toggle), shows error state if the request fails

Design pass

  • All five templates now share a CardShell with consistent chrome:
    • Logo (32×32) + 'OpenChainBench' wordmark top-left
    • LIVE pill + Category pill + UTC timestamp top-right
    • Dense 2px ink-line footer with site URL · № X · Category on the left, providers/samples count on the right
  • Each template body is rewritten to fit cleaner inside the shell — better hierarchy, tighter spacing, more polish
  • Headline gets a thin top accent stripe in the winner's color
  • Compare has a single bordered container with two color-washed panes flanking a Δ p50 divider
  • Snapshot adds min/max Y-axis annotations
  • Leaderboard tightened to 14px row gap with bigger value typography

@Flotapponnier
Flotapponnier merged commit b02bd48 into main May 3, 2026
@Flotapponnier
Flotapponnier deleted the share-pro-pass branch May 3, 2026 15:34
Flotapponnier added a commit that referenced this pull request May 21, 2026
* bench #27: solana-tx-landing-latency (active probing)

New separate bench page complementing #16 (observational market share). Measures p50/p99 time-to-land in ms and slots, plus landing rate, across 5 services from us-east at 1h cadence.

Querying solana_landing_probe_* metrics emitted by the active prober (mobula-monorepo PR #6396). Methodology pre-registered at docs/methodology/solana-tx-landing-active.md (PR #79, merged).

Cross-linked with #16 via disclaimer + related_benches field.

* benchmarks: add 4 france-cryptos sprint 1 bench pages (018, 022, 025, 026)

- buyback-audit (#18): Hyperliquid AF + Sky SBE on-chain execution ratio
- token-unlocks (#22): conditional impact median bucketed by % supply
- oracle-deviation (#25): 4 oracles × 10 USD pairs deviation bps
- validator-yield (#26): Solana + Hyperliquid net yield comparison

All specs validated against live Prom prod (https://prometheus-production-0859.up.railway.app).
Editorial scope honest: Sky low ratio = batched execution (not failure),
ARB v1 limitation noted, SOL Chainlink lag flagged as real signal,
'Net of MEV' framing rejected in favor of 'Net Yield Comparison'.
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