Repository navigation
Closed
Description
Context
Build the two presentational group components that the new AppsScreen will compose. See Apps Screen feature spec and the storybook component plan entries 2.3a and 2.5a.
Legacy v1 reference: AppsTab.tsx — see the list rendering (renderItem callback) and the input form panel block ("App Input" container with the "Open App" button).
Mirror the patterns used by ToolListItem (clients/web/src/components/groups/ToolListItem/ToolListItem.tsx) and ToolDetailPanel (clients/web/src/components/groups/ToolDetailPanel/ToolDetailPanel.tsx).
Scope
AppListItem
- Path:
clients/web/src/components/groups/AppListItem/ - Props:
tool: Tool,selected: boolean,onClick: () => void. - Renders
tool.icons(real MCPTool.icons) when present (size sm), name, two-line description, and a trailingIconChevronRightaffordance. - Reuses the same active-state highlight as
ToolListItem.
AppDetailPanel
- Path:
clients/web/src/components/groups/AppDetailPanel/ - Props:
tool: Tool,formValues,isOpening: boolean,onFormChange,onOpenApp. - Layout: icon + title (
tool.title ?? tool.name), description,SchemaFormfortool.inputSchema, full-widthButton"Open App" withIconPlayerPlay. - No annotations group, no progress display, no cancel — execution is delegated to the embedded app.
- Disabled state while
isOpeningor while the form has validation errors.
Stories
AppListItem: Default, Selected, WithIcon, NoDescription, LongName.AppDetailPanel: NoFields, SimpleStringParam, MultipleParams, WithIcon, Opening, ComplexSchema.
Acceptance criteria
- Components are presentation-only (props + callbacks; no store access).
- Use only real MCP types (
Tool) from@modelcontextprotocol/sdk/types.js— no v1.5 wrapper types. - Mantine theme variants where reusable; no inline styles, no raw hex colors.
- Storybook stories cover each meaningful state.
- Tests pass and coverage is ≥ 90%.
Dependencies
- Blocked by: Apps tab — add @modelcontextprotocol/ext-apps dep and isAppTool helper in core (for the
Tool.iconstyping path; can run in parallel if SDK types already includeicons). - Can run in parallel with:
AppRendererissue.
Branch / Base
- Base:
v2/main - Label:
v2
Activity
feat(apps): add AppListItem and AppDetailPanel groups (#1261) (#1273)