Some checks are pending
E2E / Playwright e2e (push) Waiting to run
- Added SessionGuard component to manage session expiration and online status. - Updated AuthProvider to streamline session fetching and handling. - Introduced IdentityProvidersSection for managing OAuth, SAML, and LDAP identity providers. - Implemented identity provider guides for easier configuration. - Enhanced mail settings with infinite scroll option for improved user experience. - Updated global styles and layout components for better consistency across the application.
22 lines
807 B
TypeScript
22 lines
807 B
TypeScript
"use client"
|
|
|
|
import { useMailSettings } from "@/lib/api/hooks/use-mail-settings"
|
|
import { MailSettingsFields } from "@/components/gmail/mail-settings-fields"
|
|
import { SettingsSectionHeader } from "@/components/gmail/settings/settings-section-header"
|
|
import { SettingsSyncBanner } from "@/components/gmail/settings/settings-sync-banner"
|
|
|
|
export function DisplaySettingsSection() {
|
|
const { isFetching, isError, refetch } = useMailSettings()
|
|
|
|
return (
|
|
<>
|
|
<SettingsSectionHeader
|
|
title="Réglages d'affichage"
|
|
description="Densité, thème, type de boîte de réception, volet de lecture et défilement de la liste."
|
|
/>
|
|
<SettingsSyncBanner isFetching={isFetching} isError={isError} onRetry={() => refetch()} />
|
|
<MailSettingsFields variant="page" />
|
|
</>
|
|
)
|
|
}
|