feat: several dashboards with a default, icon search and icon upload
Dashboards are separate sets of cards (Home, Work). Settings manages them and sets the one that opens at sign-in, the header and the search bar switch. Migration 0006 puts the existing cards on a dashboard "Home". The link dialog searches dashboard-icons and uploads custom icons (/api/icon, up to 1 MB, SVG served sandboxed). Wallpaper and icons share the upload checks.
This commit is contained in:
@@ -53,6 +53,10 @@ Build it yourself: `docker build -t dahoam .`
|
||||
|
||||
## Use
|
||||
|
||||
- **Dashboards** are separate sets of cards, for example Home and Work. Settings → Dashboards
|
||||
adds, renames and deletes them and sets the default, the one that opens when you sign in.
|
||||
With more than one, switch at the top of the page or with `/switch to work`. The address
|
||||
of a dashboard (`/?d=…`) can be bookmarked. Wallpaper, clock and search are the same on all.
|
||||
- **Cards** group your links (Apps, Media, Bookmarks, ...). "New card" under the cards adds
|
||||
one. Click a card's name to rename or delete it.
|
||||
- **Links**: **+** at the top or on a card adds a link. Hover a link and click the pencil to
|
||||
@@ -61,9 +65,10 @@ Build it yourself: `docker build -t dahoam .`
|
||||
Keyboard: focus a link, Space picks it up, arrow keys move it, Space puts it down.
|
||||
- **Icons**: leave the field empty and the icon is looked up by name in
|
||||
[dashboard-icons](https://github.com/homarr-labs/dashboard-icons), then from the
|
||||
site's `/favicon.ico`. Or enter an icon name (`home-assistant`) or an image URL.
|
||||
site's `/favicon.ico`. Or type in the field to search that library and click an icon,
|
||||
paste an image URL, or upload your own image (PNG, JPEG, WebP, AVIF or SVG, up to 1 MB).
|
||||
- **Search**: `/` focuses the bar. `!w cats` uses DuckDuckGo bangs. `/plex` jumps to
|
||||
a link, `/settings`, `/add link`, `/add card` and `/sign out` run commands.
|
||||
a link, `/settings`, `/add link`, `/add card`, `/add dashboard` and `/sign out` run commands.
|
||||
- **Wallpaper**: Settings (or the pencil at the bottom right) takes an image URL or an
|
||||
upload (JPEG, PNG, WebP, AVIF, up to 10 MB). A slider sets how much it is darkened.
|
||||
- **Clock**: Settings has five fonts and three styles. Glass shows the wallpaper blurred
|
||||
@@ -75,7 +80,10 @@ Build it yourself: `docker build -t dahoam .`
|
||||
selected engine. The server fetches them, the browser never calls those hosts directly.
|
||||
- SSO does not take over an existing password account with the same email
|
||||
(Better Auth blocks it, because password emails are not verified). Use one or the other per email.
|
||||
- Icon lookups send the link name to the jsDelivr CDN.
|
||||
- Icon lookups send the link name to the jsDelivr CDN. The link dialog also loads the
|
||||
library's list of icons from there.
|
||||
- Uploaded icons are stored in Postgres and only their owner can load them. One that no
|
||||
link uses any more is deleted with that user's next upload.
|
||||
- UI components come from [collabry-components](https://git.nhaiden.io/niklas/collabry-components),
|
||||
copied into `src/vendor/collabry` at a pinned commit. Add or update one with
|
||||
`scripts/sync-collabry.sh` (see `src/vendor/collabry/UPSTREAM.md`). The glass look is
|
||||
|
||||
Reference in New Issue
Block a user