9 Commits
Author SHA1 Message Date
raucao d846735b1e Crossfade the wallpaper only on intentional changes
Use a new bundled image for both the welcome screen and the dashboard
fallback, and crossfade into the first feed photo only when arriving from
the welcome screen or when the wallpaper changes after the first paint (a
live rotation or a manual pick). A plain open shows the resolved photo
outright, with no transition.

- wallpaper.gjs: three layers (bundled base, last settled photo, current
  photo). The current photo fades in on load and the previous one stays
  beneath for a crossfade; the photo layer renders only from the cached
  displayUrl, so a change fades instead of flashing the bundled base.
  Reduced motion settles instantly.
- photos.js: keep the last-known-good wallpaper on a cache miss or fetch
  error; add a one-shot timer that rotates at the day/week boundary while
  the dashboard stays open; expose animateEntry for the welcome entry.
- routes/index.js: set photos.animateEntry from the transition origin. A
  strict-mode route template's `this` is not the controller, so a
  controller property never reached the component.
- config/nostr.js: alias the welcome and fallback URLs to one image.

Tests and docs updated.
2026-11-10 15:18:13 +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 ec2eab2e3d Add a Sockethub client patch for the extension CSP
The bundled @sockethub/client compiles schemas with Ajv's new Function, which a Manifest V3 extension CSP blocks. Patch both Ajv instances to no-ops so the client loads; the Sockethub server still validates every message. Upstream issue #1336 / PR #1338 track a real fix.
2026-10-28 00:02:12 +04:00
raucao ce5102cf39 Document the Sockethub client and calendar integrations 2026-10-27 18:22:43 +04:00
raucao e8a8adf846 Update docs 2026-10-08 18:32:16 +02:00
raucao 5643de9915 Support extension auth via launchWebAuthFlow and package app as extension page 2026-10-03 19:08:22 +02:00
raucao 4c06efc90d Formatting 2026-08-22 16:41:24 -06:00
raucao 0a3164cf84 Add Tailwind Elements, modal component
Adds Tailwind UI/Pro Elements (WebComponents), as well as a flexible
modal dialog component where we can swap out child components within the
dialog
2025-10-31 16:25:30 +01:00