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:
@@ -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: <EmailAccounts />,
|
||||
},
|
||||
{
|
||||
key: 'google-account',
|
||||
icon: UserCircle,
|
||||
title: 'Google Account',
|
||||
description: 'Connect your Google account',
|
||||
content: <GoogleAccount />,
|
||||
},
|
||||
// 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: <GoogleAccount />,
|
||||
// },
|
||||
{
|
||||
key: 'discord-account',
|
||||
icon: MessageCircle,
|
||||
|
||||
Reference in New Issue
Block a user