Replace the separate Market Ticker and OpenRouter Stats settings sections
with a single Tickers & Stats section. It lists every active ticker/stat
with its settings and remove actions, and offers one Add integration button
that opens the generic integration list filtered to tickers and stats.
The add button is hidden once every single-instance integration is
connected, matching the old sections' behavior.
Add a per-user OpenRouter usage integration that reads the management key
and displays a single spend total next to the Bitcoin ticker.
The total is configurable to Today, This week or This month, defaulting to
Today. Analytics queries are widened to the previous UTC hour boundary and
then filtered locally so buckets in non-whole-hour timezones are not
clipped.
Add a Market Ticker section (Lucide chart-no-axes-combined icon) under Integrations that manages market ticker integrations. Bitcoin shows in the shared grid with settings/remove when enabled, and an 'Add Bitcoin Price Ticker' button otherwise.
Remove the dashboard Add/Manage Integrations buttons and the Manage Integrations dialog now that every integration is managed from Settings.
Shorten the Bitcoin description to 'Live BTC price'.
Remove Clock, Connected Apps and Notifications from the settings menu and move Site Links under Integrations.
Extract a shared integration grid (two-column cards with settings/reconnect/remove icon buttons) used by both Calendar and Site Links, and add a Site Links section that lists the dashboard quick-link integrations alphabetically.
Manage Integrations now excludes calendars and site links, which are managed from their settings sections.
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.
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)).
Swap the settings nav and button icons to Feather equivalents (settings, clock, link, bell, calendar, info, x). The paint brush and puzzle piece stay Heroicons because Feather has no match. The settings button now uses Feather's sliders glyph.
Icons are stored as arrays of SVG paths so multi-element Feather shapes can render, and the nav renders one path per entry.
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