Interface: SettingsControllerState
Defined in: src/components/Settings/useSettingsController.tsx:58
The derived UI state/props for the Settings modal.
Propertiesโ
applicationSectionPropsโ
readonlyapplicationSectionProps: {autoStartControl:ReactNode;availableThemes: readonlyThemeName[];currentThemeName:ThemeName;icon:IconType;isLoading:boolean;minimizeToTrayControl:ReactNode;onThemeChange: (event:ChangeEvent<HTMLSelectElement>) =>void; }
Defined in: src/components/Settings/useSettingsController.tsx:59
autoStartControlโ
readonlyautoStartControl:ReactNode
availableThemesโ
readonlyavailableThemes: readonlyThemeName[]
currentThemeNameโ
readonlycurrentThemeName:ThemeName
iconโ
readonlyicon:IconType
isLoadingโ
readonlyisLoading:boolean
minimizeToTrayControlโ
readonlyminimizeToTrayControl:ReactNode
onThemeChange()โ
readonlyonThemeChange: (event:ChangeEvent<HTMLSelectElement>) =>void
Parametersโ
eventโ
ChangeEvent<HTMLSelectElement>
Returnsโ
void
clearError()โ
readonlyclearError: () =>void
Defined in: src/components/Settings/useSettingsController.tsx:68
Returnsโ
void
handleCloseButtonClick()โ
readonlyhandleCloseButtonClick: () =>void
Defined in: src/components/Settings/useSettingsController.tsx:69
Returnsโ
void
headerBackgroundโ
readonlyheaderBackground:ReactNode
Defined in: src/components/Settings/useSettingsController.tsx:70
headerIconโ
readonlyheaderIcon:ReactNode
Defined in: src/components/Settings/useSettingsController.tsx:71
isClosingโ
readonlyisClosing:boolean
Defined in: src/components/Settings/useSettingsController.tsx:72
isDarkโ
readonlyisDark:boolean
Defined in: src/components/Settings/useSettingsController.tsx:73
isLoadingโ
readonlyisLoading:boolean
Defined in: src/components/Settings/useSettingsController.tsx:74
lastErrorโ
readonlylastError:string|null
Defined in: src/components/Settings/useSettingsController.tsx:75
maintenanceSectionPropsโ
readonlymaintenanceSectionProps: {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โ
readonlybackupSummary:BackupSummary|null
downloadButtonIconโ
readonlydownloadButtonIcon:ReactNode
iconโ
readonlyicon:IconType
isLoadingโ
readonlyisLoading:boolean
onDownloadBackup()โ
readonlyonDownloadBackup: () =>void
Returnsโ
void
onRefreshHistory()โ
readonlyonRefreshHistory: () =>void
Returnsโ
void
onResetData()โ
readonlyonResetData: () =>void
Returnsโ
void
onRestoreClick()โ
readonlyonRestoreClick: () =>void
Returnsโ
void
onRestoreFileChange()โ
readonlyonRestoreFileChange: (event:ChangeEvent<HTMLInputElement>) =>void
Parametersโ
eventโ
Returnsโ
void
refreshButtonIconโ
readonlyrefreshButtonIcon:ReactNode
resetButtonIconโ
readonlyresetButtonIcon:ReactNode
restoreFileInputRefโ
readonlyrestoreFileInputRef:RefObject<HTMLInputElement|null>
showButtonLoadingโ
readonlyshowButtonLoading:boolean
uploadButtonIconโ
readonlyuploadButtonIcon:ReactNode
monitoringSectionPropsโ
readonlymonitoringSectionProps: {currentHistoryLimit:number;icon:IconType;isLoading:boolean;onHistoryLimitChange: (event:ChangeEvent<HTMLSelectElement>) =>void; }
Defined in: src/components/Settings/useSettingsController.tsx:94
currentHistoryLimitโ
readonlycurrentHistoryLimit:number
iconโ
readonlyicon:IconType
isLoadingโ
readonlyisLoading:boolean
onHistoryLimitChange()โ
readonlyonHistoryLimitChange: (event:ChangeEvent<HTMLSelectElement>) =>void
Parametersโ
eventโ
ChangeEvent<HTMLSelectElement>
Returnsโ
void
notificationSectionPropsโ
readonlynotificationSectionProps: {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โ
readonlyicon:IconType
inAppAlertsControlโ
readonlyinAppAlertsControl:ReactNode
inAppAlertSoundControlโ
readonlyinAppAlertSoundControl:ReactNode
inAppAlertVolumeControlโ
readonlyinAppAlertVolumeControl:ReactNode
isLoadingโ
readonlyisLoading:boolean
isVolumeControlDisabledโ
readonlyisVolumeControlDisabled:boolean
systemNotificationsControlโ
readonlysystemNotificationsControl:ReactNode
systemNotificationSoundControlโ
readonlysystemNotificationSoundControl:ReactNode
overlayClassNameโ
readonlyoverlayClassName:string
Defined in: src/components/Settings/useSettingsController.tsx:112
shellClassNameโ
readonlyshellClassName:string
Defined in: src/components/Settings/useSettingsController.tsx:113
showSyncSuccessBannerโ
readonlyshowSyncSuccessBanner:boolean
Defined in: src/components/Settings/useSettingsController.tsx:114
subtitleโ
readonlysubtitle:ReactNode
Defined in: src/components/Settings/useSettingsController.tsx:115