Calendar groups in the drawer (#166)

This commit is contained in:
makiolaj committed 2026-11-30 21:55:53 +01:00
1 parent 851df26c95
commit 04281e79a7
18 files changed
+637 -6

No files matched your search

+5
View File
@@ -422,6 +422,11 @@ events through `instancesWithout(range, calendarsHiddenIn(view, …))`, which dr
the calendars hidden in that one view on top of the repository's filters; reminders, search and widgets read
the repository and never see it. The drawer's "Hide in “<view>” view" entry (#517, #143) edits the same
set for the view on show, and the drawer's per-row "Hidden in “<view>” view" notes read it.
Calendar groups (#166, `CalendarPrefs.calendarGroups`) are named member lists
over that same drawer filter: a group row toggles its members' entries in
`hiddenCalendarIds` exactly like an account header (#143). Members are stored
as `DefaultCalendarRef`s and resolved on read, so a missing calendar silently
drops out and a restore maps them by account and name.
**A channel per calendar (#145).** `ReminderChannels` keeps one notification
channel per calendar, grouped by account (one that syncs no events only gets
+3 -1
View File
@@ -57,7 +57,9 @@ The settings stored under their own on-disk key names, in their stored form,
e.g. `"theme_mode": "DARK"`, `"multi_day_count": 4`,
`"default_reminder_minutes": "10,60"`. Only keys that have been set are
written. `SettingsBackupSchema.plain` lists them: appearance, fonts,
views, the agenda screen, the event form and its default calendar, reminders
views, the agenda screen, the event form and its default calendar, the drawer's
calendar groups (`calendar_groups`, members named by account and display name
like the default calendar, so they resolve on another device), reminders
and the daily summary, automatic backup (switch, interval and whether it runs, layout, retention,
backup on change) and contact special dates (switch, types, title
templates, year).