Skip to content

fix(dashboard): unify custom provider icon fallbacks#1829

Open
ricatix wants to merge 3 commits into
decolua:masterfrom
ricatix:fix/custom-provider-icon-fallbacks
Open

fix(dashboard): unify custom provider icon fallbacks#1829
ricatix wants to merge 3 commits into
decolua:masterfrom
ricatix:fix/custom-provider-icon-fallbacks

Conversation

@ricatix

@ricatix ricatix commented Jun 15, 2026

Copy link
Copy Markdown

Summary

  • Add a shared resolveProviderIconInfo helper for provider fallback text/color.
  • Use display-name initials for compatible provider fallbacks across Providers, Usage topology, Combo edit, and Add Model modal.
  • Cover built-in, OpenAI-compatible, Anthropic-compatible, empty-name, null-name, and unknown-provider cases with unit tests.

Linked issue

Follow-up

Validation

  • cd tests && NODE_PATH=/tmp/node_modules /tmp/node_modules/.bin/vitest run --reporter=verbose unit/provider-icon-info.test.js
  • bun run build
  • Full suite checked during implementation; existing unrelated failures remained pre-existing/no regression.

ricatix and others added 3 commits June 15, 2026 14:31
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
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.

Unify custom provider fallback icons across dashboard

1 participant