web: app shell — left destination rail, settings-hosted connection, viewport panes
The layout item's work plus the two defects its review found:
- the wide grid sized the list track from its MAX, so at 600-759px the detail pane
was clipped to 40-199px; cap the list below 900px and narrow the rail there
(measured now: detail 232px at 600, 332 at 700, 340 at 900, 880 at 1440);
- the shell said 'Not connected' on a fresh page because the prefilled proxy URL
validated; the status now reflects a SAVED endpoint ('Not configured' until then)
and refreshes as the draft changes.
Includes the rail + bottom dock, connection moved into Settings, viewport-only
scrolling with panes that scroll themselves, tab semantics, skip link, h1 per
route, and the design tokens.
This commit is contained in:
+5
-4
@@ -34,9 +34,10 @@ node serve.mjs --host 0.0.0.0 # reachable from other devices (trusted LAN/VP
|
||||
node serve.mjs --port 8095 --pipelines 127.0.0.1:8080
|
||||
```
|
||||
|
||||
The page prefills its URL field with `ws://<this page's host><port>/connect` — the
|
||||
proxy — so the usual flow is: open the page, press **Connect**. Nothing is baked
|
||||
in.
|
||||
The page's Server URL field (in **Settings → Connection**) prefills with
|
||||
`ws://<this page's host><port>/connect` — the proxy. Press **Connect** there the
|
||||
first time; the endpoint is then remembered and re-opened on later loads. Nothing
|
||||
is baked in.
|
||||
|
||||
On a deployment where ntfy already uses 8090, pick another port for the page
|
||||
(e.g. `--port 8095`). The page is a foreground Node process, not a service.
|
||||
@@ -106,7 +107,7 @@ proxy.
|
||||
|
||||
To open the page from another device, bind `--host 0.0.0.0` and use this
|
||||
machine's LAN or Tailscale address for the page (e.g.
|
||||
`http://100.85.25.33:8095/`), then press Connect. Both hops are plaintext, so
|
||||
`http://100.85.25.33:8095/`), then press Connect in Settings. Both hops are plaintext, so
|
||||
there is no mixed-content block; only do this on a trusted tailnet/VPN.
|
||||
|
||||
## Verification notes
|
||||
|
||||
Reference in New Issue
Block a user