feat: rename MCP Errors tab to Logs for mixed-level messages (#8894)

- Update McpView.tsx to use "logs" tab ID instead of "errors"
- Rename translation key from tabs.errors to tabs.logs in all locales
- Change empty state message from "No errors found" to "No logs yet"

This better reflects that the tab shows all server messages (info, warnings, errors), not just errors.

Fixes #8893

Co-authored-by: Roo Code <roomote@roocode.com>
This commit is contained in:
roomote[bot] 2025-10-30 22:12:34 -04:00 committed by GitHub
parent b284eddf40
commit bb640bfee7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 40 additions and 41 deletions

View file

@ -371,8 +371,8 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
{server.instructions && (
<VSCodePanelTab id="instructions">{t("mcp:instructions")}</VSCodePanelTab>
)}
<VSCodePanelTab id="errors">
{t("mcp:tabs.errors")} ({server.errorHistory?.length || 0})
<VSCodePanelTab id="logs">
{t("mcp:tabs.logs")} ({server.errorHistory?.length || 0})
</VSCodePanelTab>
<VSCodePanelView id="tools-view">
@ -439,7 +439,7 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
</VSCodePanelView>
)}
<VSCodePanelView id="errors-view">
<VSCodePanelView id="logs-view">
{server.errorHistory && server.errorHistory.length > 0 ? (
<div
style={{
@ -457,7 +457,7 @@ const ServerRow = ({ server, alwaysAllowMcp }: { server: McpServer; alwaysAllowM
) : (
<div
style={{ padding: "10px 0", color: "var(--vscode-descriptionForeground)" }}>
{t("mcp:emptyState.noErrors")}
{t("mcp:emptyState.noLogs")}
</div>
)}
</VSCodePanelView>

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Eines",
"resources": "Recursos",
"errors": "Errors"
"logs": "Registres"
},
"emptyState": {
"noTools": "No s'han trobat eines",
"noResources": "No s'han trobat recursos",
"noErrors": "No s'han trobat errors"
"noLogs": "Encara no hi ha registres"
},
"networkTimeout": {
"label": "Temps d'espera de xarxa",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Tools",
"resources": "Ressourcen",
"errors": "Fehler"
"logs": "Protokolle"
},
"emptyState": {
"noTools": "Keine Tools gefunden",
"noResources": "Keine Ressourcen gefunden",
"noErrors": "Keine Fehler gefunden"
"noLogs": "Noch keine Protokolle"
},
"networkTimeout": {
"label": "Netzwerk-Timeout",

View file

@ -26,12 +26,12 @@
"tabs": {
"tools": "Tools",
"resources": "Resources",
"errors": "Errors"
"logs": "Logs"
},
"emptyState": {
"noTools": "No tools found",
"noResources": "No resources found",
"noErrors": "No errors found"
"noLogs": "No logs yet"
},
"networkTimeout": {
"label": "Network Timeout",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Herramientas",
"resources": "Recursos",
"errors": "Errores"
"logs": "Registros"
},
"emptyState": {
"noTools": "No se encontraron herramientas",
"noResources": "No se encontraron recursos",
"noErrors": "No se encontraron errores"
"noLogs": "Aún no hay registros"
},
"networkTimeout": {
"label": "Tiempo de espera de red",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Outils",
"resources": "Ressources",
"errors": "Erreurs"
"logs": "Journaux"
},
"emptyState": {
"noTools": "Aucun outil trouvé",
"noResources": "Aucune ressource trouvée",
"noErrors": "Aucune erreur trouvée"
"noLogs": "Pas encore de journaux"
},
"networkTimeout": {
"label": "Délai d'attente réseau",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "टूल्स",
"resources": "संसाधन",
"errors": "त्रुटियाँ"
"logs": "लॉग्स"
},
"emptyState": {
"noTools": "कोई टूल नहीं मिला",
"noResources": "कोई संसाधन नहीं मिला",
"noErrors": "कोई त्रुटि नहीं मिली"
"noLogs": "अभी तक कोई लॉग नहीं"
},
"networkTimeout": {
"label": "नेटवर्क टाइमआउट",

View file

@ -26,12 +26,12 @@
"tabs": {
"tools": "Tools",
"resources": "Resources",
"errors": "Error"
"logs": "Log"
},
"emptyState": {
"noTools": "Tidak ada tools ditemukan",
"noResources": "Tidak ada resources ditemukan",
"noErrors": "Tidak ada error ditemukan"
"noLogs": "Belum ada log"
},
"networkTimeout": {
"label": "Network Timeout",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Strumenti",
"resources": "Risorse",
"errors": "Errori"
"logs": "Registri"
},
"emptyState": {
"noTools": "Nessuno strumento trovato",
"noResources": "Nessuna risorsa trovata",
"noErrors": "Nessun errore trovato"
"noLogs": "Ancora nessun registro"
},
"networkTimeout": {
"label": "Timeout di rete",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "ツール",
"resources": "リソース",
"errors": "エラー"
"logs": "ログ"
},
"emptyState": {
"noTools": "ツールが見つかりません",
"noResources": "リソースが見つかりません",
"noErrors": "エラーが見つかりません"
"noLogs": "ログはまだありません"
},
"networkTimeout": {
"label": "ネットワークタイムアウト",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "도구",
"resources": "리소스",
"errors": "오류"
"logs": "로그"
},
"emptyState": {
"noTools": "도구를 찾을 수 없음",
"noResources": "리소스를 찾을 수 없음",
"noErrors": "오류를 찾을 수 없음"
"noLogs": "아직 로그 없음"
},
"networkTimeout": {
"label": "네트워크 타임아웃",

View file

@ -25,13 +25,12 @@
"tabs": {
"tools": "Tools",
"resources": "Bronnen",
"errors": "Fouten"
"logs": "Logboeken"
},
"emptyState": {
"noTools": "Geen tools gevonden",
"noResources": "Geen bronnen gevonden",
"noLogs": "Geen logboeken gevonden",
"noErrors": "Geen fouten gevonden"
"noLogs": "Nog geen logboeken"
},
"networkTimeout": {
"label": "Netwerktime-out",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Narzędzia",
"resources": "Zasoby",
"errors": "Błędy"
"logs": "Logi"
},
"emptyState": {
"noTools": "Nie znaleziono narzędzi",
"noResources": "Nie znaleziono zasobów",
"noErrors": "Nie znaleziono błędów"
"noLogs": "Brak logów"
},
"networkTimeout": {
"label": "Limit czasu sieci",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Ferramentas",
"resources": "Recursos",
"errors": "Erros"
"logs": "Logs"
},
"emptyState": {
"noTools": "Nenhuma ferramenta encontrada",
"noResources": "Nenhum recurso encontrado",
"noErrors": "Nenhum erro encontrado"
"noLogs": "Ainda sem logs"
},
"networkTimeout": {
"label": "Tempo limite de rede",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Инструменты",
"resources": "Ресурсы",
"errors": "Ошибки"
"logs": "Логи"
},
"emptyState": {
"noTools": "Инструменты не найдены",
"noResources": "Ресурсы не найдены",
"noErrors": "Ошибки не найдены"
"noLogs": "Логов пока нет"
},
"networkTimeout": {
"label": "Тайм-аут сети",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Araçlar",
"resources": "Kaynaklar",
"errors": "Hatalar"
"logs": "Günlükler"
},
"emptyState": {
"noTools": "Araç bulunamadı",
"noResources": "Kaynak bulunamadı",
"noErrors": "Hata bulunamadı"
"noLogs": "Henüz günlük yok"
},
"networkTimeout": {
"label": "Ağ Zaman Aşımı",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "Công cụ",
"resources": "Tài nguyên",
"errors": "Lỗi"
"logs": "Nhật ký"
},
"emptyState": {
"noTools": "Không tìm thấy công cụ",
"noResources": "Không tìm thấy tài nguyên",
"noErrors": "Không tìm thấy lỗi"
"noLogs": "Chưa có nhật ký"
},
"networkTimeout": {
"label": "Thời gian chờ mạng",

View file

@ -25,12 +25,12 @@
"tabs": {
"tools": "工具",
"resources": "资源",
"errors": "错误"
"logs": "日志"
},
"emptyState": {
"noTools": "未找到工具",
"noResources": "未找到资源",
"noErrors": "未找到错误"
"noLogs": "暂无日志"
},
"networkTimeout": {
"label": "网络超时",

View file

@ -26,12 +26,12 @@
"tabs": {
"tools": "工具",
"resources": "資源",
"errors": "錯誤"
"logs": "日誌"
},
"emptyState": {
"noTools": "找不到工具",
"noResources": "找不到資源",
"noErrors": "找不到錯誤"
"noLogs": "暫無日誌"
},
"networkTimeout": {
"label": "網路逾時",