feat: add edit and refresh functionality for MCP servers in settings tab (#680)

* feat: add edit and refresh functionality for MCP servers in settings tab

* feat: fix lint error and enhance MCP server dialog with validation and error handling

* fix: add missing newline at the end of en.json file

* feat: only refreshing specific servers

* feat: add validation messages for MCP server configuration and improve server update logic
This commit is contained in:
Qiyuan Jiao
2025-11-06 10:38:45 +08:00
committed by GitHub
parent fea585ae3d
commit a38c8584d7
4 changed files with 351 additions and 12 deletions

View File

@@ -52,8 +52,15 @@
"learnMore": "learn more about MCP.",
"enableDisable": "Enable/disable server",
"deleteServer": "Delete server",
"editServer": "Edit server",
"refreshServer": "Refresh server",
"editServerDescription": "Edit the MCP server configuration",
"editServerNote": "Update the server configuration in JSON format",
"disabled": "Disabled",
"new": "New"
"new": "New",
"invalidJson": "Invalid JSON format",
"validationFailed": "Validation failed",
"missingServerName": "Missing server name"
},
"about": {
"title": "About"
@@ -81,9 +88,9 @@
},
"chat": {
"page": {
"loading": "Loading DeerFlow...",
"welcomeUser": "Welcome, {username}",
"starOnGitHub": "Star DeerFlow on GitHub"
"loading": "Loading DeerFlow...",
"welcomeUser": "Welcome, {username}",
"starOnGitHub": "Star DeerFlow on GitHub"
},
"welcome": {
"greeting": "👋 Hello, there!",
@@ -231,4 +238,4 @@
"contributeNow": "Contribute Now"
}
}
}
}