11 Commits
Author SHA1 Message Date
raucao 7cad948c17 Unify market tickers and usage stats into one settings panel
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.
2026-11-13 15:40:03 +04:00
raucao 73b34a3ead Add OpenRouter usage stats widget
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.
2026-11-13 14:51:38 +04:00
raucao 2cb54813b9 Add weekly and daily wallpaper rotation
Rotate through photos from enabled feeds with a persisted shuffle-bag queue. Weekly changes at local Monday midnight and daily at local midnight; Off keeps the selected photo. Legacy configs migrate to the weekly default, and Rotation now sits above Feeds in the Photos settings.
2026-11-08 22:25:59 +04:00
raucao 6750c61d87 Add Nostr photo feeds and wallpaper selection
Read the curated photo feeds from wss://nostr.kosmos.org, verify events, cache originals and thumbnails, and let users pick a wallpaper from the Photos section. Nature is the default feed; City Nights is opt-in. Adds the manual publishing scripts, real event fixtures, protocol documentation, and tests with stubbed network connections.
2026-11-08 21:51:23 +04:00
raucao 6578c2d3f3 WIP: Add a Market Ticker settings section and drop the dashboard integration buttons
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'.
2026-11-06 17:22:15 +04:00
raucao f485093ab0 WIP: Add site links from the Site Links settings section
Add an 'Add site link' button at the bottom of the Site Links pane that opens the Add Integration menu scoped to the still-available site integrations.

The menu accepts an optional type filter and now lists its items alphabetically by integration name.
2026-11-06 17:01:33 +04:00
raucao b2ae4f090f Wording 2026-11-06 16:49:46 +04:00
raucao 55b5bfeedb WIP: Move site links into a Site Links settings section
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.
2026-11-06 16:21:29 +04:00
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 23e5aeb6ca Wording 2026-11-06 14:38:45 +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