Add a 'days with events' preference (default 3, range 1-7) that drives the upcoming events widget, and extend the fetch window to 8 days so the largest window can populate. Add a Calendar settings pane (moved under Integrations) that lists the connected CalDAV/ICS sources in a two-column grid with add/edit/remove, and remove calendars from Manage Integrations. Turn the modal service into a stack so add/edit forms open on top of the settings dialog, with one dialog per level, per-entry title ids, and a softened stacked backdrop. Move CALENDAR_ACTOR into its own config module to break the calendar/caldav/ics import cycle.
7 lines
375 B
JavaScript
7 lines
375 B
JavaScript
// The Sockethub actor used for calendar sessions. It must stay stable across
|
|
// the credentials, fetch, and query messages so they share one session.
|
|
//
|
|
// Kept in its own module so `caldav.js`/`ics.js` can import it without creating
|
|
// a cycle with `calendar.js` (which imports their type constants).
|
|
export const CALENDAR_ACTOR = { id: 'caldav:dashtab', type: 'person' };
|