OpenHands
OpenHands copied to clipboard
fix: conversation tab state sync across browser tabs
Summary of PR
- Fixed bug where switching conversation tabs (editor/browser/terminal) in one browser tab would affect all other browser tabs globally. The issue was caused by shared localStorage keys across conversations.
fix: #11607
Changes:
- Made localStorage keys conversation-specific by appending conversation ID (
conversation-selected-tab-${conversationId}) - Removed global localStorage initialization from conversation store
- Each conversation now maintains independent tab state per browser tab
Checklist
- [x] I have read and reviewed the code and I understand what the code is doing.
- [x] I have tested the code to the best of my ability and ensured it works as expected.
@naaa760 any interest in looking at the feedback here?
@naaa760 any interest in looking at the feedback here?
I will resolve it in few hours.
@amanape please review it! sorry for being a little late. thankss
amanape will be available next week. I'll get him to take a look. Thank you!