feat(teamsbot): show credentials received status in auth test UI

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
ValueOn AG 2026-02-16 23:55:07 +01:00
parent 2f9de759eb
commit 4e41801c63
2 changed files with 10 additions and 0 deletions

View file

@ -139,6 +139,7 @@ export interface AuthTestResults {
timestamp: string;
variants: AuthTestResult[];
recommendation: string;
credentialsReceived?: { hasEmail: boolean; hasPassword: boolean };
}
// SSE Event Types

View file

@ -343,6 +343,15 @@ export const TeamsbotSettingsView: React.FC = () => {
</tbody>
</table>
{testResults.credentialsReceived && (
<div className={styles.testRecommendation} style={{ marginBottom: '0.5rem' }}>
<strong>Credentials:</strong>{' '}
Email: {testResults.credentialsReceived.hasEmail ? <span className={styles.testCheckmark}>&#10003;</span> : <span className={styles.testCross}>&#10007; FEHLT</span>}
{' | '}
Passwort: {testResults.credentialsReceived.hasPassword ? <span className={styles.testCheckmark}>&#10003;</span> : <span className={styles.testCross}>&#10007; FEHLT</span>}
</div>
)}
{testResults.recommendation && (
<div className={styles.testRecommendation}>
<strong>Empfehlung:</strong> {testResults.recommendation}