Repository navigation
fix(mobile): show correct provider icons for Grok, Cursor, and OpenCode - #4586
Conversation
Mobile ProviderIcon only special-cased Claude and fell back to the Codex mark for every other driver. Port the web SVG paths so Grok, Cursor, and OpenCode render their own icons on Android/iOS.
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commented
Jul 26, 2026
ApprovabilityVerdict: Approved Adds static SVG icons for three providers in a UI component. The changes are purely presentational with no runtime behavior impact - just mapping provider strings to corresponding SVG elements. You can customize Macroscope's approvability policy. Learn more. |
What Changed
Mobile
ProviderIcononly special-cased Claude and used the Codex mark for every other provider. Ported the web SVG paths so Grok, Cursor, and OpenCode use their own icons on Android/iOS. Codex stays the default for unknown drivers.Why
Grok (and other non-Claude providers) showed the Codex icon on mobile, which is wrong branding and inconsistent with web.
UI Changes
Provider icons in the model picker / thread chrome now match web for Grok, Cursor, and OpenCode. App launcher icon unchanged.
Before:

After:

Checklist
Note
Low Risk
Presentation-only change in a single mobile component; no auth, data, or business-logic impact.
Overview
Mobile
ProviderIconnow renders distinct SVGs forgrok,cursor, andopencode(dark-mode-aware fills), aligned with web. Those providers previously used the default Codex mark.The default branch still serves Codex and unknown drivers; its fill now uses a shared
monocolor variable instead of inline hex values.Reviewed by Cursor Bugbot for commit ff90fe6. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
[!NOTE]
Show correct provider icons for Grok, Cursor, and OpenCode in mobile
ProviderIconAdds explicit branches in ProviderIcon.tsx for
grok,cursor, andopencodeproviders, each rendering a distinct SVG with dark-mode-aware fill colors. Previously these providers fell back to the default icon.Macroscope summarized ff90fe6.