feat: the search bar opens a link when you type its name

A link whose name, or a word of it, starts with what was typed is
highlighted and Enter opens it. Arrow up from the first row leaves no row
highlighted, so Enter searches the web for the same word.
This commit is contained in:
Niklas Haiden
2026-11-21 19:17:24 +01:00
parent c3225a7b91
commit 56ed40e8b0
4 changed files with 86 additions and 24 deletions
+5 -2
View File
@@ -70,8 +70,11 @@ Build it yourself: `docker build -t dahoam .`
[dashboard-icons](https://github.com/homarr-labs/dashboard-icons), then from the
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`, `/add dashboard` and `/sign out` run commands.
- **Search**: `/` focuses the bar. `!w cats` uses DuckDuckGo bangs. `/settings`, `/add link`,
`/add card`, `/add dashboard` and `/sign out` run commands.
- **Open a link from the search bar**: type the start of its name (`jel` for Jellyfin). The
link is highlighted and Enter opens it. To search the web for the same word, press the up
arrow first, so that no row is highlighted. `/jel` shows only your links and 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.
Each dashboard has its own: the pencil opens the one of the dashboard you are on, and