[PR #12167] fix(app): sidebar not updating on project change #14097

Closed
opened 2026-02-16 18:18:54 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/12167

State: closed
Merged: No


What does this PR do?

Fixes session list not updating when switching projects in the sidebar. The LocalWorkspace component was binding to the project store on mount only, so it kept showing the first project's sessions. Added keyed to force remount when project changes.

How did you verify your code works?

Tested switching between multiple projects and session list now updates correctly.

this closes #11964

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12167 **State:** closed **Merged:** No --- ### What does this PR do? Fixes session list not updating when switching projects in the sidebar. The LocalWorkspace component was binding to the project store on mount only, so it kept showing the first project's sessions. Added keyed to force remount when project changes. How did you verify your code works? Tested switching between multiple projects and session list now updates correctly. this closes #11964
yindo added the pull-request label 2026-02-16 18:18:54 -05:00
yindo closed this issue 2026-02-16 18:18:54 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14097