Skip to content

Project edit dialog does not persist name or icon changes #24744

Closed as not planned

Description

@kzekiue

Description

When editing a project from the OpenCode web sidebar, changing the project name or icon does not reliably persist to the sidebar project item after clicking Save.

For local/global projects, the edit dialog saves the updated name/icon metadata, but the sidebar can continue showing the previous fallback initials/name because the saved local project metadata is not merged back into the displayed project list.

There is also a preview issue where the Avatar component can keep showing fallback initials instead of reacting when an uploaded image src is set.

Plugins

None

OpenCode version

v1.14.28

Steps to reproduce

  1. Run opencode web.
  2. Open the web interface.
  3. Right-click a project icon in the left sidebar.
  4. Select Edit.
  5. Change the project name or upload an image in the Icon field.
  6. Click Save.
  7. Observe that the sidebar project item can continue showing the old name/icon or fallback initials.

Screenshot and/or share link

No response

Operating System

Ubuntu 24.04.4 LTS

Terminal

gnome-terminal

Activity

  1. github-actions commented on Apr 28, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If your issue is distinct from the above (e.g. the name change not persisting is a separate bug), please clarify what differs so we can track it separately.

  2. kzekiue commented on Apr 28, 2026

    @kzekiue
    Author

    i went through #24197, #22360, #17801, and also the related #14465 / pr #17807.

    this one lines up closest with #24197, especially the bit about non-git projects falling back to the global project. the issue here is basically in how things are displayed: the edit dialog already saves local/global project metadata, but the sidebar never merges childStore.projectMeta back in when server metadata is missing or global. so after hitting save, it looks like nothing happened for things like name or icon.

    it’s not the same as #22360, which is more about localStorage limits and icons getting evicted when they get too big.

    also different from #17801 / pr #17807. that one fixed backend persistence (icon.override not surviving restarts). this change doesn’t touch backend or schema at all, it’s purely fixing how the frontend sidebar builds and updates the project view, plus making Avatar react properly to src changes.

    so yeah, i wouldn’t call #24744 a duplicate. it’s related to #24197 and might incidentally fix that fallback case, but it also handles project name updates and comes from a different fix path.

  3. removed
    bugSomething isn't working
    webRelates to opencode on web / desktop
    on May 3, 2026
  4. long-1995 commented on May 8, 2026

    @long-1995

    这个问题应该挺简单的,能优先修复一下吗

  5. kvenator2 commented on Jun 3, 2026

    @kvenator2
    Image

    in windows desktop v1.15.13 the edit project save doesn't work. change of name and saving doesn't save the name.

    Also, there's no way to delete the icons in left column (or at least it doesn't work). Tried with icon selected hamburger menu, edit->delete and with session selected in chat window, 3 dots and selected Delete which removed the history but left the icon in the left sidebar area.

  6. github-actions commented on Aug 3, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions