fix(ui): show official opencode logo in the Apps tab - #185
Merged
Conversation
A connected opencode client wasn't recognized by resolveKnownClientKey, so the Apps (Clients) page fell back to its self-reported logo_uri — an outdated mark. Recognize "opencode" and render our bundled official, theme-aware logo via ClientBrandIcon, overriding the stale remote logo. Test: resolveKnownClientKey maps "opencode" / "opencode (mcpmux)" to opencode. Claude-Session: https://claude.ai/code/session_01Baan9JmzR43uxxRUh7CAMF Signed-off-by: Mohammod Al Amin Ashik <maa.ashik00@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Follow-up to #184.
Problem
A connected opencode client showed an outdated logo in the Apps (Clients) tab.
resolveKnownClientKeydidn't recognize "opencode", so the client card fell back to the client's self-reportedlogo_uri(a stale mark) instead of our bundled official logo.Fix
opencode(andopencode (…)) inresolveKnownClientKey.ClientBrandIcon, overriding any self-reportedlogo_uri.The official opencode assets +
ClientBrandIconlanded in #184 (now on main), so this is a small, self-contained follow-up.Tests
resolveKnownClientKeymapsopencode/opencode (mcpmux)→opencode.