feat(teamsbot): show credentials received status in auth test UI
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
2f9de759eb
commit
4e41801c63
2 changed files with 10 additions and 0 deletions
|
|
@ -139,6 +139,7 @@ export interface AuthTestResults {
|
||||||
timestamp: string;
|
timestamp: string;
|
||||||
variants: AuthTestResult[];
|
variants: AuthTestResult[];
|
||||||
recommendation: string;
|
recommendation: string;
|
||||||
|
credentialsReceived?: { hasEmail: boolean; hasPassword: boolean };
|
||||||
}
|
}
|
||||||
|
|
||||||
// SSE Event Types
|
// SSE Event Types
|
||||||
|
|
|
||||||
|
|
@ -343,6 +343,15 @@ export const TeamsbotSettingsView: React.FC = () => {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
{testResults.credentialsReceived && (
|
||||||
|
<div className={styles.testRecommendation} style={{ marginBottom: '0.5rem' }}>
|
||||||
|
<strong>Credentials:</strong>{' '}
|
||||||
|
Email: {testResults.credentialsReceived.hasEmail ? <span className={styles.testCheckmark}>✓</span> : <span className={styles.testCross}>✗ FEHLT</span>}
|
||||||
|
{' | '}
|
||||||
|
Passwort: {testResults.credentialsReceived.hasPassword ? <span className={styles.testCheckmark}>✓</span> : <span className={styles.testCross}>✗ FEHLT</span>}
|
||||||
|
</div>
|
||||||
|
)}
|
||||||
|
|
||||||
{testResults.recommendation && (
|
{testResults.recommendation && (
|
||||||
<div className={styles.testRecommendation}>
|
<div className={styles.testRecommendation}>
|
||||||
<strong>Empfehlung:</strong> {testResults.recommendation}
|
<strong>Empfehlung:</strong> {testResults.recommendation}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue