Skip to content

fix(app): fix for stale sidebar sessions when switching projects#12220

Closed
cosmiclasagnadev wants to merge 2 commits intoanomalyco:devfrom
cosmiclasagnadev:switching-sessions-state
Closed

fix(app): fix for stale sidebar sessions when switching projects#12220
cosmiclasagnadev wants to merge 2 commits intoanomalyco:devfrom
cosmiclasagnadev:switching-sessions-state

Conversation

@cosmiclasagnadev
Copy link

What does this PR do?

Made it so that the sessions store resubscribes when props.project.worktree changes. Should solve the staleness problem when switching between projects. Fixes #12215

How did you verify your code works?

Tested manually in the UI to see if I achieved expected behavior

After
https://github.com/user-attachments/assets/753c4b56-f3a6-4c85-a946-065f5f6a7f13.mov

Before
https://github.com/user-attachments/assets/e1d8875d-dbe9-4be4-adc7-94d12d0b305e.mov

@github-actions
Copy link
Contributor

github-actions bot commented Feb 5, 2026

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

Potential Duplicate Found:

@cosmiclasagnadev
Copy link
Author

Fixed on #12189

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.

Sessions state in the desktop app doesn't seem to list the actual sessions from the currently selected project/folder WHEN the toggle sidebar is on.

1 participant