Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Comments

Close side panel

fix(app): sidebar not updating on project change#12167

Closed
Yusuf007R wants to merge 2 commits intoanomalyco:devanomalyco/opencode:devfrom
Yusuf007R:fix/web-sessions-not-updatingYusuf007R/opencode:fix/web-sessions-not-updatingCopy head branch name to clipboard
Closed

fix(app): sidebar not updating on project change#12167
Yusuf007R wants to merge 2 commits intoanomalyco:devanomalyco/opencode:devfrom
Yusuf007R:fix/web-sessions-not-updatingYusuf007R/opencode:fix/web-sessions-not-updatingCopy head branch name to clipboard

Conversation

@Yusuf007R
Copy link

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 4, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@Yusuf007R
Copy link
Author

closed in #12189

@Yusuf007R Yusuf007R closed this Feb 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: Desktop: Sessions don't update on project change.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.