Repository navigation
Studio: reorder the chat + menu, with Deep research and Browser use - #13679
Conversation
…ch and Browser use as menu items
|
@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: 92fdddd549
ℹ️ 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".
| // Compare runs no research, so the item has nothing to offer here. | ||
| deepResearch: null, |
There was a problem hiding this comment.
Exclude unavailable items when sizing the overflow
When Deep research is unpinned while using the compare composer, it remains in overflowPlusItems even though its node is always null; the same occurs in regular chat when research is unavailable. If every renderable item is pinned, the More submenu therefore renders only an unnecessary separator before Settings because overflowPlusItems.length is still nonzero. Filter unavailable nodes before splitting or base the separator on the renderable overflow entries.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Cosmetic: a separator above Settings when the only unpinned item renders nothing. No item is lost or misordered.
|
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". |
|
The contract test pins the |
…omize # Conflicts: # studio/frontend/src/features/settings/tabs/chat-tab.tsx
|
@codex review |
|
Codex Review: Didn't find any major issues. 🎉 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". |
The row could slide over the fixed rows and the heading and fly back on release, and every swap wrote the persisted order, re-rendering both + menus behind the dialog mid-drag.
|
@codex review |
|
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". |
#13679 builds the chat + menu from a keyed list, so the one-shot gate is now deepResearch: researchAvailable ? ( ... ) : null.
…earch contract, zoo 2026.10.5 scan baseline (#13701) * Studio i18n: move the Italian rewind filesNotRestored string into rewind #13676 added it under settings.data.library, so the overlay parity check in Frontend CI fails with an overlay key missing from en. * Tests: lift arrow-function consts like functions in the node harness resolver #13687 added const skillsForTools = () => ..., which reads the zustand Skills switch store. The resolver treated it as an eagerly evaluated const and dropped it because the store cannot be lifted, so the token count parity harness failed with ReferenceError: skillsForTools is not defined. An arrow or function expression reads its references only when called. The parity harness also gets a stand-in Skills switch store. * Baseline the unsloth-zoo 2026.10.5 findings after review Five pinned zoo sites moved digest in 2026.10.5. Four have the same matched code; speculative.py adds two mx.eval calls (MLX array evaluation). The rest of each file's 2026.10.4 to 2026.10.5 diff adds no network, exec or process code. * Studio i18n: translate skills.turnOff in every overlay #13687 added the Skills switch's Turn off skills label in en only, so the strict overlay check in Frontend CI fails with it missing from all 13. * Tests: follow the keyed + menu in the deep research contract #13679 builds the chat + menu from a keyed list, so the one-shot gate is now deepResearch: researchAvailable ? ( ... ) : null. * Tests: shorten the deep research contract comment
What changed
Settings > Chat > Chat menu is now a reorderable list, and Deep research and Browser use are items in it.
normalizePlusMenuOrderdrops unknown ids and slots ids added later after their default neighbour, so a saved order stays valid across releases. Existing installs get the default order.motionReorderdrag with the lifted row, and HugeIcons drag handle. The menu's fixed items (Add photos & files, Web search, Tools above; More below) show as muted rows so the final layout is clear. The handle also moves a row with the arrow keys. No new dependency.Verification
tests/chat-menu-order.test.ts: defaults, order normalisation, pinned / More split, migration from pins-only saved state, reset, and that both "+" menus render from the saved order.npm run typecheck,npm run build,npm test(12074 pass).