feat: add task management features to calendar

This commit is contained in:
Linus Rath
2026-03-21 20:45:22 +01:00
parent 64c3d7e384
commit 30284859c7
20 changed files with 1190 additions and 46 deletions
+24
View File
@@ -19,6 +19,8 @@ export function CalendarSettings() {
calendarNotificationsEnabled,
calendarNotificationSound,
calendarInvitationParsingEnabled,
enableCalendarTasks,
showTasksOnCalendar,
updateSetting,
} = useSettingsStore();
@@ -79,6 +81,28 @@ export function CalendarSettings() {
/>
</SettingItem>
<SettingItem
label={t('enable_tasks')}
description={t('enable_tasks_desc')}
>
<ToggleSwitch
checked={enableCalendarTasks}
onChange={(checked) => updateSetting('enableCalendarTasks', checked)}
/>
</SettingItem>
{enableCalendarTasks && (
<SettingItem
label={t('show_tasks_on_calendar')}
description={t('show_tasks_on_calendar_desc')}
>
<ToggleSwitch
checked={showTasksOnCalendar}
onChange={(checked) => updateSetting('showTasksOnCalendar', checked)}
/>
</SettingItem>
)}
<SettingItem
label={t('notifications_enabled')}
description={t('notifications_enabled_desc')}