mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat(web): refactor MCP servers as sidebar entities and improve sidebar footer
- Refactor MCP servers to be managed as collapsible sidebar sub-items with ?id= detail routing and inline form (matching bots/pipelines pattern) - Add MCPDetailContent with create/edit modes, enable toggle, and danger zone - Extract MCPForm as standalone inline form from MCPFormDialog - Move API Integration to standalone sidebar footer button - Add GitHub star CTA with live star count badge in user dropdown menu - Add MCP server status dot indicators in sidebar (green/gray for enabled/disabled) - Add i18n keys for MCP detail page and GitHub star CTA in all 4 locales
This commit is contained in:
@@ -28,6 +28,7 @@ const zhHant = {
|
||||
language: '語言',
|
||||
helpDocs: '輔助說明',
|
||||
featureRequest: '需求建議',
|
||||
starOnGitHub: '在 GitHub 上 Star',
|
||||
create: '建立',
|
||||
edit: '編輯',
|
||||
delete: '刪除',
|
||||
@@ -577,6 +578,11 @@ const zhHant = {
|
||||
sseTimeoutNonNegative: 'SSE逾時時間不能為負數',
|
||||
updateSuccess: '更新成功',
|
||||
updateFailed: '更新失敗:',
|
||||
selectFromSidebar: '從側邊欄選擇一個 MCP 伺服器',
|
||||
dangerZone: '危險區域',
|
||||
dangerZoneDescription: '此 MCP 伺服器的不可逆操作。',
|
||||
deleteMCPAction: '刪除此 MCP 伺服器',
|
||||
deleteMCPHint: '刪除後,此 MCP 伺服器設定將無法恢復。',
|
||||
},
|
||||
pipelines: {
|
||||
title: '流程線',
|
||||
|
||||
Reference in New Issue
Block a user