Repository navigation
Studio: a hidden Chat with files panel stays hidden after the first message - #13999
Merged
Merged
Conversation
Member
Author
|
@codex review |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Codex Review: Didn't find any major issues. Swish! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
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
added a commit
that referenced
this pull request
Oct 16, 2026
## Summary `Frontend build + bundle sanity` is red on main again (for example on #13986, based on a1d4daa): `over the startup budget: transfer 1997.6 KB > 1996.8 KB, raw 6641.9 KB > 6639.0 KB`. Measured commit by commit (one machine and build, Node 24, `rm -rf dist` before each build, 95 chunks throughout): | commit | raw B | transfer B | |---|---|---| | 4ebc263~1 | 6,798,138 | 2,044,534 | | 4ebc263 (#13999) | 6,798,175 | 2,044,556 | | bcf7c81 (#13993) | 6,798,217 | 2,044,592 | | d4e005e (#13998) | 6,801,255 | 2,045,592 | Nearly all of it is #13998 (searching a model maker in the Model hub lists Unsloth's uploads of its models): +3,038 B raw / +1,000 B transfer. Its owner-to-uploads search was added to `use-hub-model-search`, a hook the startup screen already loads, so there is no separate module to lazy-load without restructuring that hook. ## Change The budget is raised by the growth (3,117 B raw / 1,058 B transfer), keeping main's margin, with the per-commit numbers recorded beside the limits as in the earlier raises. ## Testing - `npm run build && npm run bundle:check` on main with this change: within budget (0.2 KB transfer, 0.2 KB raw to spare). Without it: over by the amounts above. - `tests/bundle-budget-cli.test.ts` and `tests/bundle-budget-closure.test.ts`: 43 passed. - `prettier --check scripts/check-bundle-budget.ts`: clean.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Follow-up to #13989, whose last commit landed on its branch a moment after it was merged.
When you hide the Chat with files panel in a new chat and then send the first message, the panel now stays hidden. Sending the first message moves the composer from the welcome screen to the chat dock, which remounts the files bar; the reset that shows a hidden panel again ran on every mount, so the panel reappeared in the same chat. The reset now keys on the last chat id kept outside the component, so only a real switch to another chat shows the panel again.
Verification
npm run typecheck,npm run build, fullnpm test(all pass);tests/rag-panel-hide.test.tscovers the keyed reset.