feat: every dashboard has its own wallpaper
images / check (push) Successful in 32s
images / image (push) Successful in 15s

The wallpaper and how much it is darkened move from the user to the dashboard.
Migration 0007 copies what each user had to all their dashboards.

Settings open for the dashboard you came from (/settings?d=<id>): its wallpaper
is shown, a switch reaches the others, and "Back to dashboard" returns to it.
This commit is contained in:
2026-11-18 18:03:10 +01:00
parent e85244e820
commit dacd374946
10 changed files with 1100 additions and 54 deletions
+6 -2
View File
@@ -95,6 +95,10 @@ scripts/sync-collabry.sh copies them from upstream at a pinned commit
- [x] 14. Icons: the link dialog searches dashboard-icons (`src/lib/icons.ts` and its test) and
uploads custom icons (table `icon`, `/api/icon`, ≤ 1 MB, SVG allowed because it is served
sandboxed). `src/lib/upload.ts` holds the upload checks that wallpaper and icons share.
- [x] 15. A wallpaper per dashboard: `wallpaperUrl` and `wallpaperDim` move from `settings` to
`dashboard`, the `wallpaper` table is keyed by dashboard (migration `0007_dashboard_wallpaper`
copies what each user had to all their dashboards). `/settings?d=<id>` is the dashboard whose
wallpaper is shown, and where "Back to dashboard" goes.
## Not doing (not asked)
@@ -102,8 +106,8 @@ scripts/sync-collabry.sh copies them from upstream at a pinned commit
- Inline SearXNG result rendering (search opens the engine's result page)
- Reordering the cards themselves (they stay in the order they were made), free placement with
gaps in the grid, per-user SearXNG URL (SSRF risk — it is a server env)
- Per dashboard wallpaper, clock or search engine (they stay per user), moving a card to another
dashboard, reordering dashboards, remembering the last opened dashboard (the default opens)
- Per dashboard clock or search engine (they stay per user), moving a card to another dashboard,
reordering dashboards, remembering the last opened dashboard (the default opens)
- A list of the icons a user uploaded, to use one again for another link
- Email verification / password reset mail (needs an SMTP setup)
- In CI: version tags and releases, a Helm chart, an image vulnerability scan (typst-workspace has all three)