4 Commits
Author SHA1 Message Date
raucao 11f8d3f049 WIP: Add calendar settings and a nested modal stack
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.
2026-11-06 15:48:08 +04:00
raucao fd0d29760c WIP: Add Protocol Gateway settings section and tighten the dialog
Introduce a per-section content registry (contentFor) mirroring the integration form registry, and use it for a new Advanced > Protocol Gateway section that explains Sockethub and edits the server URL, with a live connection status.

The URL field loads the stored value via sockethub.loadUrl() so it never prefills the default over a saved URL, and save failures surface inline.

Also narrow the settings dialog (sm:max-w-4xl) and sidebar (sm:w-52) and shorten it (min(80vh,40rem)).
2026-11-06 14:31:40 +04:00
raucao 17e6cbaf89 WIP: Add global settings dialog with nav and placeholder sections
Introduce a data-driven global settings modal opened from a gear button in the bottom-left of the dashboard, with a grouped left menu and a right content pane. Sections are placeholders for now.

- Add a settings size (sm:max-w-6xl) to the modal host
- Add app/config/settings.js describing the section groups
- Add the global settings container, nav, nav item, and section components
- Add the bottom-left settings button and wire it to the dashboard
- Make nav items full-width blocks and give buttons the hand cursor app-wide
- Cover the container and the button with integration tests
2026-11-06 13:34:53 +04:00
raucao abfbabb416 Add integration management with editable settings
Rework the integration UI so Add and Manage are separate surfaces, only
active integrations appear in Manage, and integrations with settings
(e.g. Bitcoin) can be edited via the same form used to add them.

Replace the ModalDialog/initialComponent flow with a modal service and a
single ModalHost that lazily mounts each dialog body, so forms and custom
elements start fresh per open. Move integration components to
settings/integrations, add an integrations service that unifies registry
capabilities with live instances, and fix the select value refresh and
bitcoin config reset.
2026-10-04 15:41:33 +02:00