Skip to content

fix(ui): add brand icons for all provider auth choices - #127668

Merged
steipete merged 1 commit into
mainfrom
steipete/missing-list-icons-25a771
Aug 21, 2026
Merged

steipete merged 1 commit into
mainfrom
steipete/missing-list-icons-25a771

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

The model-setup provider picker (and every other surface rendering provider brand icons: chat model picker, model-providers settings, session catalogs) fell back to lettered placeholder badges for a large share of providers. The bundled icon set was a one-for-one copy of CodexBar's 52 marks, while the picker enumerates every plugin that declares providerAuthChoices — 63 provider ids. Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Meta, Microsoft Foundry, Novita, NVIDIA, Qianfan, Tencent, Together, Vercel AI Gateway, vLLM, Volcengine, and more all rendered as letters.

Why This Change Was Made

Operator-facing polish on a default path: the provider picker is the first thing a new operator sees during onboarding, and a wall of lettered badges reads as broken. Icons are rendered as CSS masks, so monochrome marks drop in with zero runtime changes.

User Impact

  • 24 new provider brand icons (sourced from @lobehub/icons-static-svg v1.94.0, MIT; metadata-cleaned): arcee, baseten, byteplus, cerebras, cloudflare, cohere, comfy, deepinfra, fal, featherless, fireworks, huggingface, meta, microsoft, novita, nvidia, pixverse, qianfan, runway, tencent, together, vercel, vllm, volcengine.
  • New aliases map variant provider ids onto existing marks instead of duplicating assets: kilocode→kilo, kimi-coding→kimi, xiaomi/xiaomi-token-plan→mimo, copilot-proxy→copilot, ollama-cloud→ollama, minimax-portal→minimax, stepfun-plan→stepfun, qwen-token-plan→alibaba, tencent-tokenhub/tencent-tokenplan→tencent, cloudflare-ai-gateway→cloudflare, microsoft-foundry→microsoft, vercel-ai-gateway→vercel.
  • Attribution and upstream mapping documented in ui/public/provider-icons/ATTRIBUTION.md alongside the existing CodexBar section.
  • Remaining lettered fallbacks are intentional: GMI Cloud, SGLang, and Vydra publish no vector mark anywhere (their sites ship only PNG/ICO favicons); tracing raster favicons would produce muddy mask silhouettes.

Evidence

  • Coverage check: a script diffing every providerAuthChoices provider id across extensions/*/openclaw.plugin.json against the resolved icon set reports only the three no-vector-mark providers missing; every icon name in PROVIDER_ICON_NAMES has a matching asset and vice versa.
  • node scripts/check-changed.mjs -- ui/src/components/provider-icon.ts green (typecheck UI, lint, i18n verify).
  • node scripts/run-vitest.mjs ui/src/pages/model-providers/view.test.ts — 36/36 passed.
  • Autoreview (Codex gpt-5.6-sol, high): clean, no findings.
  • Live before/after screenshots from a dev gateway below.

Before/after screenshots (dev gateway, Model Setup provider picker) are attached in the first PR comment.

The provider picker enumerates every plugin's providerAuthChoices (63
provider ids), but the bundled icon set only covered CodexBar's 52 marks,
so Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless,
Fireworks, Hugging Face, Meta, NVIDIA, Together, and many more rendered
as lettered fallback badges.

Adds 24 monochrome marks from @lobehub/icons-static-svg v1.94.0 (MIT,
metadata-cleaned; mapping documented in ATTRIBUTION.md) and aliases
variant provider ids (kilocode, kimi-coding, xiaomi, ollama-cloud,
tencent-tokenhub, vercel-ai-gateway, ...) onto existing marks. GMI Cloud,
SGLang, and Vydra keep the lettered fallback: no vector mark exists
upstream.
@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Aug 21, 2026
@steipete

Copy link
Copy Markdown
Contributor Author

Before/after proof — live dev gateway (isolated OPENCLAW_STATE_DIR, this branch's build), Model Setup provider picker (64 auth-choice rows).

Before — lettered fallbacks for Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless, Fireworks, Hugging Face, Kilo Gateway, and more:

before

After — every row carries a brand mark (GMI Cloud intentionally keeps the lettered fallback; no vector mark exists upstream):

after 1
after 2
after 3

@steipete
steipete marked this pull request as ready for review August 21, 2026 22:43
@clawsweeper clawsweeper Bot added P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Aug 21, 2026
@clawsweeper

clawsweeper Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 21, 2026, 6:53 PM ET / 22:53 UTC.

ClawSweeper review

What this changes

Adds 24 provider-brand SVG assets, maps provider IDs and aliases to them in the shared Control UI resolver, and records MIT attribution.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open. The patch extends the existing shared provider-icon resolver and static-asset path without introducing a parallel UI flow; no actionable correctness or security defect was found. Exact-head CI is still in progress, and the PR is maintainer-labeled.

Priority: P3
Reviewed head: f5ec9219bc61aa088b1ce415b3d86d14e7f3dddf

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Focused canonical implementation with supplied UI evidence; remaining exact-head checks are the normal merge gate.
Proof confidence 🐚 platinum hermit (4/6) Not applicable: The maintainer-authored PR includes live gateway before/after screenshots; the external-contributor proof gate does not apply.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The maintainer-authored PR includes live gateway before/after screenshots; the external-contributor proof gate does not apply.
Evidence reviewed 7 items Canonical resolver and fallback: The changed resolver normalizes provider IDs, applies aliases, and retains the established letter fallback when no bundled mark exists.
Cross-surface callers: Model Setup uses the shared resolver for authoritative provider brand IDs, while the model picker uses the same renderer for provider options.
Coverage and asset parity: Read-only manifest/resolver inspection found 63 provider-auth IDs; only gmi, sglang, and vydra remain intentionally without marks. All 80 resolver names have an asset and no asset is orphaned.
Findings None None.
Security None None.

Live Verification

Entry: /settings/model-setup

Result: FAIL (partial) — step 2 wait_for .model-setup-provider-select__trigger: locator.waitFor: Timeout 15000ms exceeded.

Steps:

  • PASS goto /settings/model-setup
  • FAIL wait_for .model-setup-provider-select__trigger — locator.waitFor: Timeout 15000ms exceeded.

How this fits together

Gateway-provided provider identities feed Control UI setup and model surfaces, which use one resolver to select a static brand mask or a letter fallback. The result appears in onboarding, model pickers, and provider settings.

flowchart LR
  A[Gateway provider identities] --> B[Control UI setup and model data]
  B --> C[Shared provider icon resolver]
  C --> D{Bundled brand asset?}
  D -->|yes| E[SVG mask icon]
  D -->|no| F[Letter fallback]
  E --> G[Onboarding, picker, and settings]
  F --> G
Loading

Before merge

  • Complete next step (P2) - No concrete automated repair remains; this PR needs ordinary exact-head CI completion and maintainer merge handling.
Agent review details

Security

None.

PR surface

Source +63, Docs +59. Total +122 across 26 files.

View PR surface stats
Area Files Added Removed Net
Source 25 63 0 +63
Tests 0 0 0 0
Docs 1 60 1 +59
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 26 123 1 +122

Review metrics

Metric Value Why it matters
Production versus test LOC production +63, attribution docs +59/-1, tests +0 The production growth is the requested shared mapping and 24 shipped SVG assets; no runtime branch or configuration surface is added.

Stored data model

Persistent data-model change detected: vector/embedding metadata: ui/public/provider-icons/ATTRIBUTION.md. Confirm migration or upgrade compatibility proof before merge.

Technical review

Best possible solution:

Land the complete static-asset and alias set through the existing shared resolver once the remaining exact-head checks are green.

Do we have a high-confidence way to reproduce the issue?

Not applicable: this is a visual polish change to an existing fallback, not a separately reported runtime failure.

Is this the best way to solve the issue?

Yes. Extending the existing shared resolver covers onboarding, model pickers, and settings without duplicating provider-specific rendering logic.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 74c1900e630f.

Labels

Label changes:

  • add P3: This is contained default-path visual polish with no observed delivery, state, auth, security, or availability impact.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored PR includes live gateway before/after screenshots; the external-contributor proof gate does not apply.

Label justifications:

  • P3: This is contained default-path visual polish with no observed delivery, state, auth, security, or availability impact.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🐚 platinum hermit and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The maintainer-authored PR includes live gateway before/after screenshots; the external-contributor proof gate does not apply.

Evidence

What I checked:

  • Canonical resolver and fallback: The changed resolver normalizes provider IDs, applies aliases, and retains the established letter fallback when no bundled mark exists. (ui/src/components/provider-icon.ts:167, f5ec9219bc61)
  • Cross-surface callers: Model Setup uses the shared resolver for authoritative provider brand IDs, while the model picker uses the same renderer for provider options. (ui/src/pages/model-setup/view.ts:45, f5ec9219bc61)
  • Coverage and asset parity: Read-only manifest/resolver inspection found 63 provider-auth IDs; only gmi, sglang, and vydra remain intentionally without marks. All 80 resolver names have an asset and no asset is orphaned. (ui/src/components/provider-icon.ts:9, f5ec9219bc61)
  • Build asset path: Vite serves ui/public as the Control UI public directory, so the added SVG files are available to the resolver’s generated asset URLs. (ui/vite.config.ts:438, f5ec9219bc61)
  • Attribution and SVG safety pass: Attribution identifies the copied LobeHub marks and MIT license; a scan of all 24 added SVGs found no script, foreignObject, image, use, or external-reference element. (ui/public/provider-icons/ATTRIBUTION.md:82, f5ec9219bc61)
  • Current-main provenance: The available current-main blame boundary attributes the pre-existing resolver’s name set and rendering path to Peter Steinberger; this branch modifies that canonical implementation rather than replacing it. (ui/src/components/provider-icon.ts:9, 9de2b230e968)

Likely related people:

  • steipete: The available current-main blame record attributes the existing shared resolver to Peter Steinberger; the current PR preserves and extends that same owner boundary. (role: current-main resolver author; confidence: medium; commits: 9de2b230e968; files: ui/src/components/provider-icon.ts)

Rank-up moves

Optional improvements that raise the rating; they are not merge blockers.

  • Wait for the remaining exact-head CI checks before merge.

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@steipete
steipete merged commit fb95562 into main Aug 21, 2026
205 checks passed
@steipete
steipete deleted the steipete/missing-list-icons-25a771 branch August 21, 2026 23:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 22, 2026
The provider picker enumerates every plugin's providerAuthChoices (63
provider ids), but the bundled icon set only covered CodexBar's 52 marks,
so Arcee, Baseten, BytePlus, Cerebras, Cohere, DeepInfra, Featherless,
Fireworks, Hugging Face, Meta, NVIDIA, Together, and many more rendered
as lettered fallback badges.

Adds 24 monochrome marks from @lobehub/icons-static-svg v1.94.0 (MIT,
metadata-cleaned; mapping documented in ATTRIBUTION.md) and aliases
variant provider ids (kilocode, kimi-coding, xiaomi, ollama-cloud,
tencent-tokenhub, vercel-ai-gateway, ...) onto existing marks. GMI Cloud,
SGLang, and Vydra keep the lettered fallback: no vector mark exists
upstream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant