Repository navigation
Studio: name the open connection, lead the provider menu with Custom, new OpenRouter logo - #13964
Merged
Merged
Conversation
… new OpenRouter logo
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. 🎉 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". |
This was referenced Oct 16, 2026
danielhanchen
added a commit
that referenced
this pull request
Oct 16, 2026
…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.
shimmyshimmer
added a commit
that referenced
this pull request
Oct 16, 2026
…ark under a new file name (#13974) ## Studio: a flatter connection Models panel, and the OpenRouter mark under a new file name Follow-up to #13964. ### What changed **Models panel.** The model picker in the Connections editor no longer stacks a bordered box inside a bordered box inside the section card. The toolbar (count, search, Select all, Clear) sits directly in the section, and the model rows are part of the Models card itself: they run edge to edge across the card with a thin line between rows, the same way the card separates its header, with no box or fill of their own. The list grows with its rows and only scrolls once there are more than 10 models, showing 10 rows; before, it scrolled at about 6. Curated and fetched model lists get the same treatment. **OpenRouter logo file name.** #13964 replaced the artwork in place at `public/provider-logos/openrouter.svg`. Studio serves that folder without cache headers, so a browser or Desktop webview that already cached the old file can keep showing the old mark after an update. The mark now ships as `openrouter-mark.svg`, which no cache holds. **Footer spacing.** Save connection / Cancel now sit 12 px below the last card and 12 px above the bottom of the settings pane. The form now keeps its content height instead of `min-h-0`, so the pane's bottom padding always applies, and the buttons trim it to match the gap above. ### Verification - `npm run typecheck`, `npm test`, `npm run build` in `studio/frontend`; `npm run biome:check` shows no new diagnostics in the touched file. - Isolated Studio on this branch, driven with Playwright in dark and light themes: no bordered boxes nested inside the Models section; 9 suggestions render without a scrollbar; a saved connection with 37 models scrolls with a 10-row height; the gap below Save connection / Cancel equals the 12 px gap above them at 1024x700, 1280x900, 1440x800 and 1700x1000; the provider menu loads `openrouter-mark.svg`.
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.
Studio: Connections editor title, provider menu order, new OpenRouter logo
What changed
Breadcrumb title. The editor header always read
Connections • Newfor a draft andConnections • Editfor a saved connection, and nothing in between. Picking a provider with a curated model list (for exampleChatGPT / Codex subscription) pre-fills its suggested models, so a fresh draft already looks configured while the header still says "New". The header now names what is open:New <provider>(for exampleNew ChatGPT / Codex subscription)OpenAIor a custom connection's own name)A subscription draft (
ChatGPT / Codex subscription) is saved as soon as the browser or device-code sign-in completes, so the title switches fromNew ChatGPT / Codex subscriptionto the saved name at that point.Provider menu.
Customis now the first item, followed by llama.cpp, vLLM, Ollama, the separator, then the hosted providers. The decision-only connections (TypeSafe, Liquid AI) are kept last and the menu opens with its height ending just above them, so they are reached by scrolling. The menu draws no scroll arrows; the list scrolls with the wheel, trackpad and keyboard (arrow keys, Home, End). Nothing is removed: existing TypeSafe and Liquid AI connections load and display as before.Models panel. The model picker no longer stacks a bordered box inside a bordered box inside the section card. The toolbar (count, search, Select all, Clear) sits directly in the section and the list is one soft, borderless surface with rounded hover rows instead of ruled rows. Same change for curated and fetched model lists.
OpenRouter logo. Replaced with OpenRouter's new lime mark, redrawn as a single SVG path. It ships under a new file name (
public/provider-logos/openrouter-mark.svg) because Studio serves that folder without cache headers, so a browser or Desktop webview that already cached the oldopenrouter.svgwould keep showing it after an update. Same loader as before, so the connections list, the chat model picker and the provider menu all pick it up). The mark no longer inverts in dark mode; on light surfaces it gets a hairline edge so the pale lime still reads at 16 px.Verification
npm run typecheck,npm test,npm run buildinstudio/frontend.npm run biome:check: no new diagnostics in the touched files (the counts per file matchmain).Not tested here
setEditingProviderId(created.id)on that path.