MCPToggleModal - Add button to open config (#2743)

* make ServerRow not optionally not expandable

* changeset

* factor out servers toggle list

* changeset

* add servers modal

* changest

* Reduce padding in modal

* separate fetch useEffect for more efficient rendering

* add button to open installed servers config

* changeset

* add mcptab type

* change codicon

* modify button display

---------

Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com>
This commit is contained in:
EvanandSaoud Rizwan authored and GitHub committed 2025-04-10 16:25:08 -07:00
1 parent fb037a05c1
commit 47aecdfc75
8 files changed
+38 -9

No files matched your search

+2
View File
@@ -5,6 +5,7 @@ import { ChatSettings } from "./ChatSettings"
import { UserInfo } from "./UserInfo"
import { ChatContent } from "./ChatContent"
import { TelemetrySetting } from "./TelemetrySetting"
import { McpViewTab } from "./mcp"
export interface WebviewMessage {
type:
@@ -93,6 +94,7 @@ export interface WebviewMessage {
chatContent?: ChatContent
mcpId?: string
timeout?: number
tab?: McpViewTab
// For toggleToolAutoApprove
serverName?: string
serverUrl?: string