ultisuite-client/components/gmail/settings/sections/automation-settings-section.tsx
R3D347HR4Y 6ec95262af Add OnlyOffice integration and update project configurations
- Updated .env.example to include configuration for OnlyOffice Document Server.
- Modified the workspace configuration to remove the drive-suite path.
- Adjusted TypeScript environment imports for consistency.
- Enhanced Next.js configuration to disable canvas in Webpack.
- Updated package.json to include new dependencies for OnlyOffice and PDF.js.
- Added global styles for OnlyOffice theme integration in the CSS.
- Created new layout and page components for the Drive feature, including public sharing and editing functionalities.
- Updated metadata handling across various layouts to reflect the new app structure.
2026-06-07 15:49:21 +02:00

46 lines
1.9 KiB
TypeScript

"use client"
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"
import { SettingsSectionHeader } from "@/components/gmail/settings/settings-section-header"
import { AutomationRulesPanel } from "@/components/gmail/settings/automation/automation-rules-panel"
import { WebhooksPanel } from "@/components/gmail/settings/automation/webhooks-panel"
import { LLMProvidersPanel } from "@/components/gmail/settings/automation/llm-providers-panel"
import { SearchProvidersPanel } from "@/components/gmail/settings/automation/search-providers-panel"
import { ApiTokensPanel } from "@/components/gmail/settings/automation/api-tokens-panel"
export function AutomationSettingsSection() {
return (
<>
<SettingsSectionHeader
title="Automatisations"
description="Règles graphiques de tri, webhooks, fonctions réutilisables et variables d'exécution."
/>
<Tabs defaultValue="rules">
<TabsList className="flex h-auto flex-wrap">
<TabsTrigger value="rules">Règles</TabsTrigger>
<TabsTrigger value="webhooks">Webhooks</TabsTrigger>
<TabsTrigger value="llm">Fournisseurs LLM</TabsTrigger>
<TabsTrigger value="search">Fournisseurs de recherche</TabsTrigger>
<TabsTrigger value="tokens">Tokens API</TabsTrigger>
</TabsList>
<TabsContent value="rules" className="mt-4">
<AutomationRulesPanel />
</TabsContent>
<TabsContent value="webhooks" className="mt-4">
<WebhooksPanel />
</TabsContent>
<TabsContent value="llm" className="mt-4">
<LLMProvidersPanel />
</TabsContent>
<TabsContent value="search" className="mt-4">
<SearchProvidersPanel />
</TabsContent>
<TabsContent value="tokens" className="mt-4">
<ApiTokensPanel />
</TabsContent>
</Tabs>
</>
)
}