Repository navigation
fix: polish provider settings and label Codex connections by email - #193
Merged
Merged
Conversation
Settings > Providers (and the MCP and Integrations pages that share it): - Remove asks for confirmation; the row menu is dense, sized to its content, without separators. - Connect, Sign In and Close share one outlined toggle with an accessible name; segmented pickers are radio groups; panel errors are alerts. - Closing a panel hands focus back to its opener, or to the row menu when the opener is gone; a panel opened near the bottom scrolls into view and focuses its first field once open, using the shared Collapse. - One search field for all connector lists, with its own clear button. - Consistent ids, "1 connected" in the catalog, Default only with more than one connection, an env var hint, quieter header controls, Refresh feedback, and copy that names the page's kind. Codex connections: - aikit keeps the id_token from sign-in and refresh, and reads the account email from it: its email claim, then the profile claim. - The host labels Codex connections with that email; a refresh without an id_token keeps the label, and the account id stands in without an email. Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
A design review of Settings > Providers turned up an instant Remove, controls screen readers couldn't use, lost focus and a raw account id shown as the Codex account. This fixes those, and labels Codex connections with the account's email.
Desktop UI (
apps/web)These changes apply to Providers and to the MCP Connectors and Integrations pages, which share the same code.
aria-expanded. The button-style pickers are radio groups, and panel errors are announced as alerts.Collapsefor its motion. It still unmounts once closed, so a typed key is never left in a hidden panel.⋯and shuffle buttons are 44px to tap.Codex account label (
packages/aikit,packages/codework)id_tokenfrom sign-in and refresh.getOpenAICodexAccountEmailreads the account email from it: the email claim first, then the profile claim. The CLI's own login strips the id_token before writingauth.json.Surfaces:
codework connectlists it.Testing
vp run verifypasses.vp checkand the@codeworksh/webtypecheck pass for the app files.vp test test/oauth.codex.test.tsin aikit: 21 passed. The new cases cover which email claim wins, an id_token without an email, and refresh with and without an id_token.vp test test/server.test.ts -t "OpenAI Codex"in codework: 3 passed.Connected · OAuth · <account email>instead of the account id.scrollIntoViewworks once the panel has settled.Model and harness: Claude Opus 5.5 in Claude Code.
🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.