From 4e41801c630ca7ed5deb8f027668ca318cf77d81 Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Mon, 16 Feb 2026 23:55:07 +0100 Subject: [PATCH] feat(teamsbot): show credentials received status in auth test UI Co-authored-by: Cursor --- src/api/teamsbotApi.ts | 1 + src/pages/views/teamsbot/TeamsbotSettingsView.tsx | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/src/api/teamsbotApi.ts b/src/api/teamsbotApi.ts index 0aa036d..4178ae7 100644 --- a/src/api/teamsbotApi.ts +++ b/src/api/teamsbotApi.ts @@ -139,6 +139,7 @@ export interface AuthTestResults { timestamp: string; variants: AuthTestResult[]; recommendation: string; + credentialsReceived?: { hasEmail: boolean; hasPassword: boolean }; } // SSE Event Types diff --git a/src/pages/views/teamsbot/TeamsbotSettingsView.tsx b/src/pages/views/teamsbot/TeamsbotSettingsView.tsx index 1234616..1ed66d3 100644 --- a/src/pages/views/teamsbot/TeamsbotSettingsView.tsx +++ b/src/pages/views/teamsbot/TeamsbotSettingsView.tsx @@ -343,6 +343,15 @@ export const TeamsbotSettingsView: React.FC = () => { + {testResults.credentialsReceived && ( +
+ Credentials:{' '} + Email: {testResults.credentialsReceived.hasEmail ? : ✗ FEHLT} + {' | '} + Passwort: {testResults.credentialsReceived.hasPassword ? : ✗ FEHLT} +
+ )} + {testResults.recommendation && (
Empfehlung: {testResults.recommendation}