inspector/clients/web/src/components/groups
Repository files (latest commit first)
Filename Latest commit message Latest commit date
cliffhall 771a67ee20 Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types
ServerCard: Replace flat scalar props (name, version, transport, status,
error) with grouped objects (config: MCPServerConfig, info?: Implementation,
connection: ConnectionState). Remove auto-connect useEffect — dumb
components must not self-dispatch side effects. Derive transport and
command/url from config.

ServerInfoContent: Replace flat props with initializeResult: InitializeResult
and clientCapabilities: ClientCapabilities from MCP SDK. Derive capability
lists by iterating the ServerCapabilities record.

ServerSettingsForm: Collapse flat setting props (connectionMode, headers,
metadata, timeouts, oauth*) into settings: InspectorServerSettings. Add
InspectorServerSettings type to core/mcp/types.ts.

ImportServerJsonPanel: Replace scattered scalar props (jsonContent,
selectedPackageIndex, serverName) with draft: InspectorServerJsonDraft.

ViewHeader: Replace serverName: string with serverInfo: Implementation.
Use ConnectionStatus from core types.

ConnectedView: Update to pass serverInfo: Implementation instead of
serverName. Use ConnectionStatus type.

Update all stories for ServerCard, ServerInfoContent, ServerSettingsForm,
ImportServerJsonPanel, ViewHeader, ServerListScreen, ConnectedView, and
UnconnectedView.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-21 15:22:08 -04:00
..
ElicitationFormPanel Phase 2: Refactor Roots/Schema/Experimental cluster to MCP SDK types 2026-04-21 12:05:55 -04:00
ElicitationUrlPanel Phase 2: Refactor Sampling/Elicitation cluster to MCP SDK types 2026-04-20 19:57:58 -04:00
ExperimentalFeaturesPanel Address PR #1220 code review feedback 2026-04-21 12:58:24 -04:00
HistoryControls Phase 2: Refactor History cluster to use MessageEntry 2026-04-20 16:55:23 -04:00
HistoryEntry Address PR #1218 code review feedback 2026-04-20 17:23:49 -04:00
HistoryListPanel Address PR #1218 code review feedback 2026-04-20 17:23:49 -04:00
ImportServerJsonPanel Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types 2026-04-21 15:22:08 -04:00
InlineElicitationRequest Phase 2: Refactor Roots/Schema/Experimental cluster to MCP SDK types 2026-04-21 12:05:55 -04:00
InlineSamplingRequest Phase 2: Refactor Sampling/Elicitation cluster to MCP SDK types 2026-04-20 19:57:58 -04:00
LogControls Add type-safe guard before LoggingLevel cast in LogControls 2026-04-18 19:47:03 -04:00
LogStreamPanel Phase 2: Refactor Logs cluster to MCP SDK types 2026-04-18 19:39:19 -04:00
PendingClientRequests Phase 2: Refactor Sampling/Elicitation cluster to MCP SDK types 2026-04-20 19:57:58 -04:00
PromptArgumentsForm Hide Arguments header when prompt has no arguments 2026-04-18 17:57:57 -04:00
PromptControls Phase 2: Refactor Prompts cluster to MCP SDK types 2026-04-18 17:49:27 -04:00
PromptListItem Phase 2: Refactor Prompts cluster to MCP SDK types 2026-04-18 17:49:27 -04:00
PromptMessagesDisplay Phase 2: Refactor Prompts cluster to MCP SDK types 2026-04-18 17:49:27 -04:00
ResourceControls Address PR #1214 review nits 2026-04-18 19:13:22 -04:00
ResourceListItem Phase 2: Refactor Resources cluster to MCP SDK types 2026-04-18 18:34:32 -04:00
ResourcePreviewPanel Address PR #1214 code review feedback 2026-04-18 18:54:48 -04:00
ResourceSubscribedItem Phase 2: Refactor Resources cluster to MCP SDK types 2026-04-18 18:34:32 -04:00
ResourceTemplatePanel Address PR #1214 review nits 2026-04-18 19:13:22 -04:00
RootsTable Address PR #1220 code review feedback 2026-04-21 12:58:24 -04:00
SamplingRequestPanel Address PR #1219 minor observations 2026-04-21 10:51:27 -04:00
SchemaForm Phase 2: Refactor Roots/Schema/Experimental cluster to MCP SDK types 2026-04-21 12:05:55 -04:00
ServerAddMenu Add new components, typography, badge contrast, and screen layout refactors 2026-03-28 20:38:04 -04:00
ServerCard Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types 2026-04-21 15:22:08 -04:00
ServerInfoContent Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types 2026-04-21 15:22:08 -04:00
ServerListControls Add new components, typography, badge contrast, and screen layout refactors 2026-03-28 20:38:04 -04:00
ServerSettingsForm Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types 2026-04-21 15:22:08 -04:00
TaskCard Address PR #1217 code review feedback 2026-04-20 15:49:14 -04:00
TaskControls Phase 2: Refactor Tasks cluster to MCP SDK types 2026-04-20 10:28:24 -04:00
TaskListPanel Thread progressByTaskId through TaskListPanel and TasksScreen 2026-04-20 11:07:43 -04:00
ToolControls Address PR #1212 code review feedback 2026-04-18 17:12:02 -04:00
ToolDetailPanel Address PR #1212 code review feedback 2026-04-18 17:12:02 -04:00
ToolListItem Phase 2: Refactor Tools cluster to use MCP SDK types 2026-04-18 16:57:10 -04:00
ToolResultPanel Show tool error message inside the alert box 2026-04-18 17:32:14 -04:00
ViewHeader Phase 2: Refactor Server/Settings/ViewShell cluster to MCP SDK types 2026-04-21 15:22:08 -04:00
historyUtils.ts Address PR #1218 code review feedback 2026-04-20 17:23:49 -04:00