Skip to content

fix(ui): show the OpenCode icon for the current project ID - #57499

Merged
kitlangton merged 1 commit into
betafrom
project-remote-names
Oct 20, 2026
Merged

kitlangton merged 1 commit into
betafrom
project-remote-names

Conversation

@kitlangton

@kitlangton kitlangton commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Match OpenCode's remote-derived project IDs (anomalyco/opencode and sst/opencode) in getProjectAvatarSource alongside the V1 root-commit ID so the built-in OpenCode icon renders in V2.
  • Check icon.override and icon.color before the built-in OpenCode fallback so user customizations take precedence.
  • Display-only (+9 / -4 code lines, +21 test lines, 0 database writes or migrations).

Stack

  1. PR A (fix(ui): show the OpenCode icon for the current project ID #57499, this PR): show the OpenCode icon for the current project ID (+9 / -4 code, +21 tests)
  2. PR B (feat(core): discover project icons automatically #56698): discover project icons and serve them via GET /api/project/:projectID/icon (+216 / -21 code, +190 / -1 tests, 0 migrations)
  3. PR C (feat(app): add detected icons picker in project settings #57500, draft): "Detected icons" picker in project settings

@kitlangton
kitlangton force-pushed the project-remote-names branch from 763c6dd to abd6f0e Compare October 20, 2026 22:27
@kitlangton kitlangton changed the title feat(core): name git projects from their origin remote and match opencode icon fix(ui): show the OpenCode icon for the current project ID Oct 20, 2026
@kitlangton
kitlangton merged commit 99695ff into beta Oct 20, 2026
11 of 19 checks passed
@kitlangton
kitlangton deleted the project-remote-names branch October 20, 2026 22:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant