Skip to content

Studio: name the open connection, lead the provider menu with Custom, new OpenRouter logo - #13964

Merged
shimmyshimmer merged 2 commits into
mainfrom
studio-connections-editor-polish
Oct 16, 2026
Merged

shimmyshimmer merged 2 commits into
mainfrom
studio-connections-editor-polish

Conversation

@shimmyshimmer

@shimmyshimmer shimmyshimmer commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Studio: Connections editor title, provider menu order, new OpenRouter logo

What changed

Breadcrumb title. The editor header always read Connections • New for a draft and Connections • Edit for a saved connection, and nothing in between. Picking a provider with a curated model list (for example ChatGPT / 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:

  • unsaved draft: New <provider> (for example New ChatGPT / Codex subscription)
  • saved connection: the connection's name (for example OpenAI or 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 from New ChatGPT / Codex subscription to the saved name at that point.

Provider menu. Custom is 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 old openrouter.svg would 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 build in studio/frontend.
  • npm run biome:check: no new diagnostics in the touched files (the counts per file match main).
  • Isolated Studio on this branch, driven with Playwright: new connection and saved connection breadcrumbs, provider menu order and initial fold, no scroll arrows before or after pressing End, Models panel with no nested bordered boxes, OpenRouter logo in light and dark themes.

Not tested here

  • Completing a real subscription sign-in (no account on the test host); the title switch after sign-in follows from the existing setEditingProviderId(created.id) on that path.

@shimmyshimmer

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 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 ✅ Completed 2026-10-16T06:02:46.982255Z 61c9e30 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: Didn't find any major issues. 🎉

Reviewed commit: 61c9e303e5

ℹ️ 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".

@shimmyshimmer
shimmyshimmer merged commit 75e2ea2 into main Oct 16, 2026
@shimmyshimmer
shimmyshimmer deleted the studio-connections-editor-polish branch October 16, 2026 06:10
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`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant