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:
Junyan Qin
2026-03-27 19:59:34 +08:00
parent 4902c1d3b2
commit 23fa47b07e
11 changed files with 1359 additions and 100 deletions
+6
View File
@@ -30,6 +30,7 @@
language: '言語',
helpDocs: 'ヘルプドキュメント',
featureRequest: '機能リクエスト',
starOnGitHub: 'GitHubでStarする',
create: '作成',
edit: '編集',
delete: '削除',
@@ -613,6 +614,11 @@
sseTimeoutNonNegative: 'SSEタイムアウトは負の数にできません',
updateSuccess: '更新に成功しました',
updateFailed: '更新に失敗しました:',
selectFromSidebar: 'サイドバーからMCPサーバーを選択してください',
dangerZone: '危険ゾーン',
dangerZoneDescription: 'このMCPサーバーに対する不可逆的な操作です。',
deleteMCPAction: 'このMCPサーバーを削除',
deleteMCPHint: '削除すると、このMCPサーバーの設定は復元できません。',
},
pipelines: {
title: 'パイプライン',