Skip to main content

Interface: SettingsControllerState

Defined in: src/components/Settings/useSettingsController.tsx:58

The derived UI state/props for the Settings modal.

Propertiesโ€‹

applicationSectionPropsโ€‹

readonly applicationSectionProps: { autoStartControl: ReactNode; availableThemes: readonly ThemeName[]; currentThemeName: ThemeName; icon: IconType; isLoading: boolean; minimizeToTrayControl: ReactNode; onThemeChange: (event: ChangeEvent<HTMLSelectElement>) => void; }

Defined in: src/components/Settings/useSettingsController.tsx:59

autoStartControlโ€‹

readonly autoStartControl: ReactNode

availableThemesโ€‹

readonly availableThemes: readonly ThemeName[]

currentThemeNameโ€‹

readonly currentThemeName: ThemeName

iconโ€‹

readonly icon: IconType

isLoadingโ€‹

readonly isLoading: boolean

minimizeToTrayControlโ€‹

readonly minimizeToTrayControl: ReactNode

onThemeChange()โ€‹

readonly onThemeChange: (event: ChangeEvent<HTMLSelectElement>) => void

Parametersโ€‹
eventโ€‹

ChangeEvent<HTMLSelectElement>

Returnsโ€‹

void


clearError()โ€‹

readonly clearError: () => void

Defined in: src/components/Settings/useSettingsController.tsx:68

Returnsโ€‹

void


handleCloseButtonClick()โ€‹

readonly handleCloseButtonClick: () => void

Defined in: src/components/Settings/useSettingsController.tsx:69

Returnsโ€‹

void


headerBackgroundโ€‹

readonly headerBackground: ReactNode

Defined in: src/components/Settings/useSettingsController.tsx:70


headerIconโ€‹

readonly headerIcon: ReactNode

Defined in: src/components/Settings/useSettingsController.tsx:71


isClosingโ€‹

readonly isClosing: boolean

Defined in: src/components/Settings/useSettingsController.tsx:72


isDarkโ€‹

readonly isDark: boolean

Defined in: src/components/Settings/useSettingsController.tsx:73


isLoadingโ€‹

readonly isLoading: boolean

Defined in: src/components/Settings/useSettingsController.tsx:74


lastErrorโ€‹

readonly lastError: string | null

Defined in: src/components/Settings/useSettingsController.tsx:75


maintenanceSectionPropsโ€‹

readonly maintenanceSectionProps: { backupSummary: BackupSummary | null; downloadButtonIcon: ReactNode; icon: IconType; isLoading: boolean; onDownloadBackup: () => void; onRefreshHistory: () => void; onResetData: () => void; onRestoreClick: () => void; onRestoreFileChange: (event: ChangeEvent<HTMLInputElement>) => void; refreshButtonIcon: ReactNode; resetButtonIcon: ReactNode; restoreFileInputRef: RefObject<HTMLInputElement | null>; showButtonLoading: boolean; uploadButtonIcon: ReactNode; }

Defined in: src/components/Settings/useSettingsController.tsx:76

backupSummaryโ€‹

readonly backupSummary: BackupSummary | null

downloadButtonIconโ€‹

readonly downloadButtonIcon: ReactNode

iconโ€‹

readonly icon: IconType

isLoadingโ€‹

readonly isLoading: boolean

onDownloadBackup()โ€‹

readonly onDownloadBackup: () => void

Returnsโ€‹

void

onRefreshHistory()โ€‹

readonly onRefreshHistory: () => void

Returnsโ€‹

void

onResetData()โ€‹

readonly onResetData: () => void

Returnsโ€‹

void

onRestoreClick()โ€‹

readonly onRestoreClick: () => void

Returnsโ€‹

void

onRestoreFileChange()โ€‹

readonly onRestoreFileChange: (event: ChangeEvent<HTMLInputElement>) => void

Parametersโ€‹
eventโ€‹

ChangeEvent<HTMLInputElement>

Returnsโ€‹

void

refreshButtonIconโ€‹

readonly refreshButtonIcon: ReactNode

resetButtonIconโ€‹

readonly resetButtonIcon: ReactNode

restoreFileInputRefโ€‹

readonly restoreFileInputRef: RefObject<HTMLInputElement | null>

showButtonLoadingโ€‹

readonly showButtonLoading: boolean

uploadButtonIconโ€‹

readonly uploadButtonIcon: ReactNode


monitoringSectionPropsโ€‹

readonly monitoringSectionProps: { currentHistoryLimit: number; icon: IconType; isLoading: boolean; onHistoryLimitChange: (event: ChangeEvent<HTMLSelectElement>) => void; }

Defined in: src/components/Settings/useSettingsController.tsx:94

currentHistoryLimitโ€‹

readonly currentHistoryLimit: number

iconโ€‹

readonly icon: IconType

isLoadingโ€‹

readonly isLoading: boolean

onHistoryLimitChange()โ€‹

readonly onHistoryLimitChange: (event: ChangeEvent<HTMLSelectElement>) => void

Parametersโ€‹
eventโ€‹

ChangeEvent<HTMLSelectElement>

Returnsโ€‹

void


notificationSectionPropsโ€‹

readonly notificationSectionProps: { icon: IconType; inAppAlertsControl: ReactNode; inAppAlertSoundControl: ReactNode; inAppAlertVolumeControl: ReactNode; isLoading: boolean; isVolumeControlDisabled: boolean; systemNotificationsControl: ReactNode; systemNotificationSoundControl: ReactNode; }

Defined in: src/components/Settings/useSettingsController.tsx:102

iconโ€‹

readonly icon: IconType

inAppAlertsControlโ€‹

readonly inAppAlertsControl: ReactNode

inAppAlertSoundControlโ€‹

readonly inAppAlertSoundControl: ReactNode

inAppAlertVolumeControlโ€‹

readonly inAppAlertVolumeControl: ReactNode

isLoadingโ€‹

readonly isLoading: boolean

isVolumeControlDisabledโ€‹

readonly isVolumeControlDisabled: boolean

systemNotificationsControlโ€‹

readonly systemNotificationsControl: ReactNode

systemNotificationSoundControlโ€‹

readonly systemNotificationSoundControl: ReactNode


overlayClassNameโ€‹

readonly overlayClassName: string

Defined in: src/components/Settings/useSettingsController.tsx:112


shellClassNameโ€‹

readonly shellClassName: string

Defined in: src/components/Settings/useSettingsController.tsx:113


showSyncSuccessBannerโ€‹

readonly showSyncSuccessBanner: boolean

Defined in: src/components/Settings/useSettingsController.tsx:114


subtitleโ€‹

readonly subtitle: ReactNode

Defined in: src/components/Settings/useSettingsController.tsx:115