Skip to content

fix(ui): MCP / skill detail as a dialog; delete-from-agent confirm label - #62

Merged
mlboy merged 2 commits into
mainfrom
fix/delete-agent-confirm
Oct 21, 2026
Merged

mlboy merged 2 commits into
mainfrom
fix/delete-agent-confirm

Conversation

@mlboy

@mlboy mlboy commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

What

  • Detail as a dialog: selecting an MCP server or a skill opened its detail below the whole matrix (off-screen with many rows). It now opens in a new DetailDialog (fixed header with title + close, scrolling body, Escape / backdrop close, focus trap, noDragRegion). The inline confirm bar sticks to the top of the dialog body; Escape dismisses it first. The MCP detail hides while the edit form is open (one modal at a time).
  • Copy fix: the delete-from-agent confirm button said "Delete from library"; it now says "Delete from agent" (MCP and Skills).

Verification

  • pnpm test:unit 1443 passed; typecheck; DCO.
  • Headless Chrome (light + dark): dialog opens with focus inside; two-step Escape; confirm bar visible after scrolling to the bottom row; button labels correct.

Not verified

Real macOS look and scroll feel with many agents.

mlboy added 2 commits October 22, 2026 02:23
The second confirmation for removing an agent's copy of an MCP server or a
skill reused the library-delete label; use the delete-from-agent label.

Signed-off-by: mlboy <mlboy@126.com>
Selecting a server or a skill appended its detail after the whole matrix
(and, for MCP, after the gateway panel); with many rows it was off-screen and
hard to act on. It now opens in a DetailDialog (fixed header with the title
and close, scrolling body, Escape / backdrop close, focus trap). The inline
confirm bar sticks to the top of the dialog body; Escape dismisses it first.
The MCP detail hides while the server edit form is open (one modal at a time).

Signed-off-by: mlboy <mlboy@126.com>
@mlboy
mlboy merged commit ed3620e into main Oct 21, 2026
1 check passed
@mlboy
mlboy deleted the fix/delete-agent-confirm branch October 22, 2026 05:33
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