Repository navigation
Studio: Deep research sits under Tools in the + menu - #13959
Conversation
|
@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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e1724ce27d
ℹ️ 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".
|
|
||
| const FIXED_TOGGLE: PlusMenuItemId = "deepResearch"; | ||
| // The stored order keeps every id; only the draggable ones are shown and moved here. | ||
| const withFixed = (ids: PlusMenuItemId[]): PlusMenuItemId[] => [FIXED_TOGGLE, ...ids.filter((id) => id !== FIXED_TOGGLE)]; |
There was a problem hiding this comment.
Preserve Deep research's saved overflow position
When Deep research is switched off, it is still rendered in the More submenu according to the persisted order. After any drag or arrow-key reorder of another item, this helper silently moves Deep research to index 0, so it unexpectedly jumps to the start of More even though the user did not move it. Reinsert the fixed ID at its existing saved index rather than always prepending it.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in c03340c: a drop or arrow-key move puts Deep research back at its saved index (keepSavedSlot), so it keeps its place in More; regression test added.
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! 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". |
|
@codex review |
1 similar comment
|
@codex review |
|
Codex Review: Didn't find any major issues. Already looking forward to the next diff. 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". |
…13983) ## Summary `Frontend build + bundle sanity` fails on PRs based on current main (for example #13961 and #13963) with `over the startup budget`. Main itself is over: | commit | raw | transfer | |---|---|---| | 5870795 | 6,791,021 B (within) | 2,042,102 B (within) | | 4a8b727 (main) | 6,791,768 B (587 B over) | 2,042,404 B (113 B over) | All numbers are from one machine and build, Node 24, with the chunk count unchanged at 95. Measured commit by commit, no single import did it: - Deep research under Tools in the + menu (#13959) took main over, at +0.2 KB raw. - The connection name and provider menu order (#13964) and the attachment card polish (#13970) add the rest, 0.1 and 0.4 KB raw. All of it lands in the eager chat and settings chunks. ## Change Following the file's own rule ("raise BUDGET in this file ... with the measured numbers"), the budget is raised by that growth, 747 B raw and 302 B transfer, so main keeps the margin it had at 5870795. The measurement is recorded next to the limits like the previous 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.
Studio: Deep research sits under Tools in the + menu
Deep research drives the same tools as Web search and Tools, but it showed up below the divider with the reorderable items (Chat with files, Browser use, Skills). It now sits directly under Tools whenever it is switched on, and Settings shows it there too.
thread.tsx): when Deep research is pinned, it renders right after Tools, above the divider, and is left out of the pinned list below it. Switched off, it stays under More as before.chat-menu-order-list.tsx): Deep research is a row under Tools with its switch and no drag handle, since it has no position to drag to. It never joins the draggable list; a drop or an arrow-key move keeps it in the saved order, so older saved orders still read correctly.The + menu, read back from a live Studio build:
Settings > Chat menu order:
Verification
npm run typecheck,npm run build,npm test(all pass).tests/chat-menu-order.test.ts: Deep research is rendered between Tools and the divider and filtered out of the pinned list; in Settings its row is under Tools with a switch and no drag handle, and drops and arrow keys keep it in the saved order.Not tested here