You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 1f9f65d
Browse filesBrowse the repository at this point in the historyBrowse files
improvement(mcp): make the OAuth experience visible and verbally consistent (#5829)
* improvement(mcp): make the OAuth experience visible and verbally consistent
From a full UX-consistency audit of the MCP settings surfaces:
- One name for one action: 'Authorize' / 'Reopen authorization' everywhere
(list chip, row, detail) — was three different labels across surfaces.
- The connecting state is now visible: the row subtitle shows a muted
'Waiting for authorization...' instead of continuing to shout the red
'OAuth authorization required' mid-flow.
- The Authorize affordance is a visible chip on the list row (was buried in
the overflow menu), so a blocked popup's 'retry' has an obvious target.
- Removed the redundant aggregate discovery banner — every failing row
already reports its specific error; two red messages for one failure.
- The header Refresh chip no longer renders an error sentence as its label
(short 'Failed'; the Status field carries the explanation).
- Sentence-case sweep (Unnamed server, Not connected, Server name, Add MCP
server / Edit MCP server, Add server, Test connection, Edit form, Delete
MCP server), 'Search servers...' placeholder, row-subtitle/error text on
the canonical tokens, and a Loading empty state instead of a blank flash.
* fix(mcp): show stale-discovery failures, best-effort popup-close label clear, drop redundant branch
- A failing latest discovery now shows its error even when cached tools exist
(the stale tool count silently hid it).
- Best-effort popup.closed poll clears only the 'Waiting for authorization...'
label share; the flow entry stays registered so a completion that still
arrives over the BroadcastChannel is honored (settleFlow skips the
double-decrement). Under COOP misreport the worst case is an early label
reset, never a dropped completion.
- Remove the OAuth refresh-state branch made redundant by the 'Failed' change,
plus its now-unused authType/error inputs.
Copy file name to clipboardExpand all lines: apps/sim/app/workspace/[workspaceId]/settings/components/mcp/components/mcp-server-form-modal/mcp-server-form-modal.tsx
0 commit comments