Skip to content

[Web] Session list doesn't update when switching projects in sidebar #12165

Closed

Description

@Yusuf007R

Description

When switching projects via the left sidebar, the session list in the right panel doesn't update, it still shows sessions from the previously selected project.

investigating a little bit the LocalWorkspace component binds to globalSync.child() once on mount and doesn't re-bind when the project changes, so it keeps reading from the first project's store.

const [workspaceStore, setWorkspaceStore] = globalSync.child(props.project.worktree)

I have a fix ready (just added keyed to force remount), but it's a really small one-line change. should I submit a PR or is it better to just describe the fix here?

Plugins

No response

OpenCode version

1.1.51

Steps to reproduce

Open the app with at least 2 projects in the sidebar
Click on Project A - session list shows Project A's sessions
Click on Project B in the sidebar
Sessions list will still show Project's A sessions

Screenshot and/or share link

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. github-actions commented on Feb 4, 2026

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  2. Yusuf007R commented on Feb 4, 2026

    @Yusuf007R
    Author

    duplicated issue

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwebRelates to opencode on web / desktopwindows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions