Skip to content

feat(dashboard): CheaperInference sponsor banner + banner links via the shortener - #11196

Merged
diegosouzapw merged 1 commit into
release/v3.8.50from
feat/cheaperinference-banner
Aug 23, 2026
Merged

diegosouzapw merged 1 commit into
release/v3.8.50from
feat/cheaperinference-banner

Conversation

@diegosouzapw

Copy link
Copy Markdown
Collaborator

⚠️ base-red inherited: #9985

What

Adds a Cheaper Inference sponsor banner to the dashboard home and routes the
partner/extension banner CTAs through our own branded shortener, so clicks land
in our Kutt metrics.

New: CheaperInferenceSponsorBanner

Same size/shape as KimiSponsorBanner, no version gate (durable partnership,
not a time-boxed offer). Uses the cheaperinference ProviderIcon and the brand
green #31f889, with the dark-ink CTA (contrast, per the colors.ts token).
The CTA points at https://link.omniroute.online/cheaper — the branded short
link — which redirects to cheaperinference.com/?utm_source=omniroute.

The description says "dozens of frontier models" rather than a fixed count: the
README says 42, the pricing catalog lists 38 — freezing a number that already
diverges between two sources would just go stale.

Changed: VscodeCopilotBanner

CTA now points at https://link.omniroute.online/vsx instead of the raw
Marketplace URL, for the same metrics reason.

i18n

Strings added in en + pt. en is the namespace-level fallback for the other
41 locales (src/i18n/request.ts), so the coverage gate passes without needing
43 translations.

How verified

  • cheaperInferenceSponsorBanner.test.tsx (new): render, CTA href, dismiss
    persistence — 4 tests.
  • vscodeCopilotBanner.test.tsx: updated to the new CTA URL.
  • Both suites green: 8/8.
  • Banner rendered in a standalone preview to confirm the brand colour, contrast
    and layout (screenshot below).
  • Pre-existing lint error on home/page.tsx (restricted @/lib/localDb import,
    line 3) was left untouched — it exists on the base and is out of scope.

Pre-merge checklist

  • Tests added/updated
  • i18n coverage gate passes (en/pt + fallback)
  • No new lint errors (the one on home/page.tsx is pre-existing)

… links through the shortener

- New CheaperInferenceSponsorBanner on the dashboard home, same size/shape as
  KimiSponsorBanner, no version gate (durable partnership). Uses the
  cheaperinference ProviderIcon and the brand green (#31f889) with the dark
  ink CTA (contrast, per colors.ts token).
- CTA points at https://link.omniroute.online/cheaper — the branded short
  link — so clicks land in our Kutt metrics.
- VscodeCopilotBanner CTA now points at https://link.omniroute.online/vsx
  instead of the raw Marketplace URL, for the same reason.
- i18n strings in en + pt (en is the namespace-level fallback for the other
  41 locales).
- Tests: new cheaperInferenceSponsorBanner.test.tsx (render, CTA href, dismiss
  persistence); vscodeCopilotBanner.test.tsx updated to the new CTA URL.
@diegosouzapw
diegosouzapw merged commit eb57973 into release/v3.8.50 Aug 23, 2026
16 of 22 checks passed
arminanton added a commit to arminanton/OmniRoute that referenced this pull request Aug 23, 2026
…heck, mutation)

The Fast Quality Gates job failed on 4 sub-gates. Three are upstream base-reds
inherited via the merge; one is our codex feature growing a file past its cap.

- secrets (gitleaks): upstream's CheaperInference sponsor banner (cheaper-inference#11196) added a
  DISMISS_STORAGE_KEY localStorage constant matching the generic-api-key rule, but
  only the sibling kimi banner key was allowlisted in .gitleaks.toml. Added the
  cheaperinference variant (same UI-identifier pattern, not a credential). Fails on
  pristine upstream too.

- open-sse-typecheck: upstream's Magnific rename (cheaper-inference#10594) left a dead comparison in
  src/lib/providers/imageValidation.ts:65 — `statusCode === 400` where
  getSafeOutboundFetchErrorStatus only ever returns 503|504|null (TS2367). Replaced
  with the canonical isSecurityBlockError(error) helper (the same predicate
  validation/transport.ts already uses for securityBlocked), which is what the check
  actually intended. Fails on pristine upstream too; gate back to frozen baseline (5).

- mutation-test-coverage: upstream added chat-routing-synced-inventory-11089 (cheaper-inference#11089)
  and security-route-guard-tiers (cheaper-inference#11189) tests but didn't register them in
  stryker.conf.json tap.testFiles. Added both. Fails on pristine upstream too.

- file-size: OUR codex-app-server health check grew src/app/api/providers/[id]/test/
  route.ts to 1334 lines (> frozen cap 1215). Extracted testCodexAppServerConnection
  + makeDiagnosis into a sibling module codexAppServerHealth.ts; route.ts now 1212.
  No behavior change: codex-app-server 26/26, connection-test suite 24/24 green
  in-container; new module import-smoke OK.
@diegosouzapw
diegosouzapw deleted the feat/cheaperinference-banner branch August 23, 2026 21:45
diegosouzapw added a commit that referenced this pull request Aug 24, 2026
…rtener (#11329)

Validated on a 17-PR combined board: TSX parses clean, eslint clean. Adapta tutorial CTA href now points at the branded shortener (link.omniroute.online/adapta) while keeping the visible link text as the real domain. Completes #11196's shortener rollout.
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
… links through the shortener (cheaper-inference#11196)

- New CheaperInferenceSponsorBanner on the dashboard home, same size/shape as
  KimiSponsorBanner, no version gate (durable partnership). Uses the
  cheaperinference ProviderIcon and the brand green (#31f889) with the dark
  ink CTA (contrast, per colors.ts token).
- CTA points at https://link.omniroute.online/cheaper — the branded short
  link — so clicks land in our Kutt metrics.
- VscodeCopilotBanner CTA now points at https://link.omniroute.online/vsx
  instead of the raw Marketplace URL, for the same reason.
- i18n strings in en + pt (en is the namespace-level fallback for the other
  41 locales).
- Tests: new cheaperInferenceSponsorBanner.test.tsx (render, CTA href, dismiss
  persistence); vscodeCopilotBanner.test.tsx updated to the new CTA URL.

Co-authored-by: Xiangzhe <bakryun0718@proton.me>
muhamadgalihsaputra pushed a commit to niyatna/NiyatnaRoute that referenced this pull request Sep 27, 2026
…rtener (cheaper-inference#11329)

Validated on a 17-PR combined board: TSX parses clean, eslint clean. Adapta tutorial CTA href now points at the branded shortener (link.omniroute.online/adapta) while keeping the visible link text as the real domain. Completes cheaper-inference#11196's shortener rollout.
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.

2 participants