Skip to content

[BUG]: Discovered favicon not shown in sidebar #18746

@ysm-dev

Description

@ysm-dev

Description

When OPENCODE_EXPERIMENTAL_ICON_DISCOVERY=true is set, Project.discover() finds the favicon and saves it to icon.url, but the sidebar avatar in sidebar-items.tsx only reads icon.override. So the discovered icon is never actually displayed — you just get the default letter fallback.

OpenCode version

1.3.0

Steps to reproduce

  1. Set OPENCODE_EXPERIMENTAL_ICON_DISCOVERY=true
  2. Place a favicon.png in a project root
  3. Open the project in the web UI
  4. Sidebar still shows the letter fallback, not the favicon

Operating System

macOS

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions