refactor(calendar): move ical import/export to calendar view #156

Merged
barrettruth merged 1 commit from refactor/ical-to-calendar into main 2026-03-29 05:24:11 +00:00
barrettruth commented 2026-03-29 05:16:57 +00:00

Problem

iCal import/export controls lived in the settings page alongside account settings like passkeys and OAuth. These are calendar operations and belong with the calendar view.

Solution

Extract import/export into an IcalPopover component in the calendar header. A ghost button labeled "ical" opens a popover with export (downloads .ics via GET /api/export/ical) and import (file picker + optional category, same POST /api/import/ical endpoint). Calendar feed token management (generate/copy/revoke) stays in settings since it is an integration concern.

Closes #152

## Problem iCal import/export controls lived in the settings page alongside account settings like passkeys and OAuth. These are calendar operations and belong with the calendar view. ## Solution Extract import/export into an `IcalPopover` component in the calendar header. A ghost button labeled "ical" opens a popover with export (downloads .ics via `GET /api/export/ical`) and import (file picker + optional category, same `POST /api/import/ical` endpoint). Calendar feed token management (generate/copy/revoke) stays in settings since it is an integration concern. Closes #152
Sign in to join this conversation.
No description provided.