From 8669a5916fe1b267f6cd8148f98bcf21c5902d86 Mon Sep 17 00:00:00 2001 From: ValueOn AG Date: Sun, 15 Feb 2026 11:56:05 +0100 Subject: [PATCH] feat(teamsbot): bot account settings UI for dedicated Microsoft account - New "Bot-Account (Microsoft)" section in TeamsbotSettingsView - Email and password fields for dedicated bot account - Hint about MFA requirement - Updated API types: botAccountEmail, botAccountPassword in Config interfaces Co-authored-by: Cursor --- src/api/teamsbotApi.ts | 4 +++ .../views/teamsbot/TeamsbotSettingsView.tsx | 29 +++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/src/api/teamsbotApi.ts b/src/api/teamsbotApi.ts index d582062..2d8d8dc 100644 --- a/src/api/teamsbotApi.ts +++ b/src/api/teamsbotApi.ts @@ -58,6 +58,8 @@ export interface TeamsbotConfig { language: string; voiceId?: string; browserBotUrl?: string; + botAccountEmail?: string; + botAccountPassword?: string; triggerIntervalSeconds: number; triggerCooldownSeconds: number; contextWindowSegments: number; @@ -86,6 +88,8 @@ export interface ConfigUpdateRequest { language?: string; voiceId?: string; browserBotUrl?: string; + botAccountEmail?: string; + botAccountPassword?: string; triggerIntervalSeconds?: number; triggerCooldownSeconds?: number; contextWindowSegments?: number; diff --git a/src/pages/views/teamsbot/TeamsbotSettingsView.tsx b/src/pages/views/teamsbot/TeamsbotSettingsView.tsx index 3710b20..5604abb 100644 --- a/src/pages/views/teamsbot/TeamsbotSettingsView.tsx +++ b/src/pages/views/teamsbot/TeamsbotSettingsView.tsx @@ -268,6 +268,35 @@ export const TeamsbotSettingsView: React.FC = () => { + {/* Bot Account */} +
+

Bot-Account (Microsoft)

+ +
+ + _updateField('botAccountEmail', e.target.value)} + placeholder="bot@ihrefirma.ch" + /> + Dedizierter Microsoft-Account fuer authentifizierten Bot-Zugang. Leer = anonymer Gast. +
+ +
+ + _updateField('botAccountPassword', e.target.value)} + placeholder="••••••••" + /> + MFA muss fuer diesen Account deaktiviert sein. Passwort wird verschluesselt gespeichert. +
+
+ {/* Advanced Settings */}

Erweiterte Einstellungen