Skip to content

Studio: keep sidebar sections and favorites made in another window - #15440

Merged
danielhanchen merged 2 commits into
unslothai:mainfrom
NilayYadav:sync-sidebar-stores-windows
Oct 27, 2026
Merged

danielhanchen merged 2 commits into
unslothai:mainfrom
NilayYadav:sync-sidebar-stores-windows

Conversation

@NilayYadav

@NilayYadav NilayYadav commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

With Studio open in two tabs or windows, sidebar sections, favorites and pinned projects made in one were lost as soon as the other one changed anything of the same kind. Creating a section in one tab and a different section in the other left only the second section after a reload, and the chats filed into the first were back in Recents. The same happened to chats or projects starred in the Library and to pinned projects. These only live in the browser, so there was nothing to get them back from.

The sidebar layout, Library favorites and pinned projects now pick up what another window saved as soon as it is written, the same way the browser panel's bookmarks and history already do. The next change in any window builds on it instead of overwriting it, and the other window's sidebar updates live.

Pinned chats are left out on purpose, since #15293 moves them to server settings. A single window behaves exactly as before, and existing saved sections, favorites and pins keep loading as they did.

Before / After

Tab A creates section Work, tab B (opened earlier) creates section Play, then tab A reloads.

Sidebar sections before and after

Tab A stars Alpha chat in the Library, tab B stars Beta chat, then tab A reloads.

Library favorites before and after

Before / After on two clean installs

Base 73560d3 vs this PR's head 7d27066, one Chromium context with two tabs: tab B is opened first, tab A creates section Work, tab B creates section Play, then tab A reloads. Before, only Play is saved (["Play"]) and Work is gone; after, both are saved (["Play", "Work"]) and both are drawn.

Sidebar sections from two tabs, before and after

@NilayYadav NilayYadav self-assigned this Oct 26, 2026
@NilayYadav

Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-27T12:58:57.291338Z
We couldn’t complete this review. Comment @codex review to try again.
198a1e6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

An unknown error occurred
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@danielhanchen

Copy link
Copy Markdown
Member

@codex review

1 similar comment
@danielhanchen

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Something went wrong. Try again later by commenting “@codex review”.

An unknown error occurred
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

danielhanchen pushed a commit to danielhanchen/unsloth-staging-2 that referenced this pull request Oct 27, 2026
@danielhanchen
danielhanchen merged commit 1814733 into unslothai:main Oct 27, 2026
39 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants