fix: use consistent OpenClaw icon in sidebar settings#13354
Merged
DeJeune merged 1 commit intoCherryHQ:mainfrom Mar 10, 2026
Merged
fix: use consistent OpenClaw icon in sidebar settings#13354DeJeune merged 1 commit intoCherryHQ:mainfrom
DeJeune merged 1 commit intoCherryHQ:mainfrom
Conversation
Replace the generic Bot icon (lucide-react) with OpenClawSidebarIcon in SidebarIconsManager to match the icon used in the main sidebar. Signed-off-by: younggglcy <[email protected]>
GeorgeDong32
approved these changes
Mar 10, 2026
Collaborator
GeorgeDong32
left a comment
There was a problem hiding this comment.
LGTM! 代码质量良好,变更正确。这是一个简单的 UI 一致性修复:将 OpenClaw 图标从通用的 Bot 图标替换为自定义的 OpenClawSidebarIcon 组件,与主侧边栏保持一致。代码修改干净,无安全风险,可以合并。
DeJeune
approved these changes
Mar 10, 2026
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.
What this PR does
Before this PR:
The OpenClaw icon in Display Settings > Sidebar Settings used a generic
Boticon from lucide-react, which was different from the actual OpenClaw icon shown in the left sidebar.After this PR:
The OpenClaw icon in Sidebar Settings now uses
OpenClawSidebarIcon(the same custom SVG icon used in the main sidebar), making both icons consistent.Why we need it and why it was done in this way
The sidebar settings panel should display the same icons as the actual sidebar so users can easily identify which item they are configuring. The fix simply replaces the incorrect
Boticon import with the existingOpenClawSidebarIconcomponent that is already used inSidebar.tsx.The following tradeoffs were made: None — this is a straightforward icon replacement.
The following alternatives were considered: None — using the same icon component is the obvious correct approach.
Breaking changes
None.
Special notes for your reviewer
Single-file change. Only the icon mapping in
SidebarIconsManager.tsxwas modified.Checklist
Release note