From 2bef99866fb6a9037e8fad9eb0da1f5f19341ee3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Padez?= Date: Thu, 23 Jul 2026 17:15:19 +0000 Subject: [PATCH] email: hide the Google OAuth connect card (email uses IMAP app password now) Co-Authored-By: Claude Opus 4.8 --- .../Settings/IntegrationsSettings/index.tsx | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/index.tsx b/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/index.tsx index f4690197..aa123bc2 100644 --- a/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/index.tsx +++ b/src/apps/officer-web/Screens/Dashboard/Settings/IntegrationsSettings/index.tsx @@ -8,7 +8,7 @@ import { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { SettingsSidebar, SettingsContent, type SettingsSection } from '../SettingsPanel'; import { GoogleOAuthConfig } from './GoogleOAuthConfig'; -import { GoogleAccount } from './GoogleAccount'; +// import { GoogleAccount } from './GoogleAccount'; // hidden — email uses IMAP app password now import { DiscordBotConfig } from './DiscordBotConfig'; import { DiscordAccount } from './DiscordAccount'; import { TelegramBotConfig } from './TelegramBotConfig'; @@ -68,13 +68,15 @@ const personalSections: SettingsSection[] = [ description: 'Connect email accounts for inbox sync', content: , }, - { - key: 'google-account', - icon: UserCircle, - title: 'Google Account', - description: 'Connect your Google account', - content: , - }, + // Google OAuth is left in place (code + DB) but hidden — email now uses an app password over IMAP, + // so there's no reason to reconnect Google here. Re-enable this section to bring it back. + // { + // key: 'google-account', + // icon: UserCircle, + // title: 'Google Account', + // description: 'Connect your Google account', + // content: , + // }, { key: 'discord-account', icon: MessageCircle,