email: hide the Google OAuth connect card (email uses IMAP app password now)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 17:15:19 +00:00
co-authored by Claude Opus 4.8
parent edb68d396d
commit 2bef99866f
@@ -8,7 +8,7 @@ import { Tabs, TabsList, TabsTrigger } from '@/components/ui/tabs';
import { SettingsSidebar, SettingsContent, type SettingsSection } from '../SettingsPanel'; import { SettingsSidebar, SettingsContent, type SettingsSection } from '../SettingsPanel';
import { GoogleOAuthConfig } from './GoogleOAuthConfig'; import { GoogleOAuthConfig } from './GoogleOAuthConfig';
import { GoogleAccount } from './GoogleAccount'; // import { GoogleAccount } from './GoogleAccount'; // hidden — email uses IMAP app password now
import { DiscordBotConfig } from './DiscordBotConfig'; import { DiscordBotConfig } from './DiscordBotConfig';
import { DiscordAccount } from './DiscordAccount'; import { DiscordAccount } from './DiscordAccount';
import { TelegramBotConfig } from './TelegramBotConfig'; import { TelegramBotConfig } from './TelegramBotConfig';
@@ -68,13 +68,15 @@ const personalSections: SettingsSection[] = [
description: 'Connect email accounts for inbox sync', description: 'Connect email accounts for inbox sync',
content: <EmailAccounts />, content: <EmailAccounts />,
}, },
{ // Google OAuth is left in place (code + DB) but hidden — email now uses an app password over IMAP,
key: 'google-account', // so there's no reason to reconnect Google here. Re-enable this section to bring it back.
icon: UserCircle, // {
title: 'Google Account', // key: 'google-account',
description: 'Connect your Google account', // icon: UserCircle,
content: <GoogleAccount />, // title: 'Google Account',
}, // description: 'Connect your Google account',
// content: <GoogleAccount />,
// },
{ {
key: 'discord-account', key: 'discord-account',
icon: MessageCircle, icon: MessageCircle,