Add a global search, and stop the sidebar logo squeezing
Docs / docs (push) Successful in 22s
Playwright Tests / test-playwright (1, 2) (push) Successful in 3m14s
Playwright Tests / test-playwright (2, 2) (push) Successful in 1m53s
pre-commit / pre-commit (push) Failing after 2m13s
Test Backend / test-backend (push) Successful in 2m38s
Compose Smoke Test / test-compose (push) Successful in 38s
Playwright Tests / merge-reports (push) Successful in 1m8s

`GET /api/v1/search/` hands the client one flat index of everything worth
jumping to — flows and the nodes inside them, dashboards and the widgets on
them, panels, secrets, modules, workers and alert channels — and cmdk matches
it in the browser, so results narrow while typing without a round trip per
keystroke. A node hit is the one thing no list endpoint could answer: it opens
its flow with that node in focus.

The panel is reached from **Search** above Documentation in the sidebar, or
⌘K anywhere. The flow canvas palette moves to ⌘P, being the narrower of the two.

The panels dialog gains an address (`/dashboards?panels`) so a panel hit has
somewhere to land, and the sidebar logo gets `shrink-0`: the rail's width
animates while the logo is already back, and a flex item short of room is
squeezed rather than clipped.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vGH7jqcXxWKP9wZFPyVdU
This commit is contained in:
2026-08-28 22:19:08 +02:00
co-authored by Claude Opus 5
parent 971bd430c7
commit 4215e057d1
17 changed files with 642 additions and 39 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ Two things to know about this:
make dev-frontend # Vite on :5173
```
Restart the backend and your node type appears in the add-node palette (⌘K),
Restart the backend and your node type appears in the add-node palette (⌘P),
labelled with the package it came from.
## Write the node
+1 -1
View File
@@ -134,7 +134,7 @@ safe, fan-in is free, and two flows can share a value by naming it.
### Read a sensor
Press **Add node** (or ⌘K / Ctrl-K, which opens the command palette) and pick
Press **Add node** (or ⌘P / Ctrl-P, which opens the command palette) and pick
**MQTT**. In its panel on the right:
- **Broker host** — your broker's hostname, `mosquitto` if you are using the
+2 -2
View File
@@ -29,7 +29,7 @@ banner tells you when it is not.
## Adding a node
**Add node** on the dock, or ⌘K / Ctrl-K for the command palette, which also
**Add node** on the dock, or ⌘P / Ctrl-P for the command palette, which also
jumps between flows and offers your shared nodes. Pick a type and it appears on
the canvas with its panel open.
@@ -122,7 +122,7 @@ the edges, then publish.
| Chord | Action |
|---|---|
| ⌘K / Ctrl-K | command palette |
| ⌘P / Ctrl-P | command palette |
| ⌘S / Ctrl-S | publish the flow — or, with focus in the code editor, apply the code |
| ⌘Z / ⌘⇧Z | undo / redo (the flow; the code editor has its own) |
| ⌘C / ⌘V | copy and paste nodes, including between flows |
+12
View File
@@ -22,8 +22,20 @@ phone the sidebar collapses to a sheet.
| **Modules** | the Python packages your node code may import |
| **Alerts** | where failures get sent |
| **Admin** | users (superusers only) |
| **Search** | anything in this installation, by name |
| **Settings** | your account, appearance, and remote access |
### Search
**Search** at the foot of the sidebar, or ⌘K / Ctrl-K from anywhere, opens a
panel that finds things by name as you type: flows and the nodes inside them,
dashboards and the widgets on them, panels, secrets, modules, workers and alert
channels. Picking a node opens its flow with that node in focus; picking a
widget opens its dashboard.
It searches this installation. Reached through a portal, other installations
are behind **All installations** at the top of the sidebar.
## Home
The one screen you leave open. Four things share it.