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:
@@ -122,11 +122,12 @@ function isProtocol(value) {
|
||||
}
|
||||
|
||||
/**
|
||||
* The header's compact connection state badge. It is the page's own indicator
|
||||
* (Android renders the same facts in SettingsScreen.kt's connection card): the
|
||||
* one job it does that ConnectionBanner.kt's banner text does not is name the
|
||||
* retry attempt while disconnected, so "reason + retrying + attempt" are all
|
||||
* visible at a glance. `tone` names the dot colour class (ok/warn/bad/idle).
|
||||
* The compact connection state helper behind the shell's dot+word control and
|
||||
* the Settings status card. It is the page's own indicator (Android renders the
|
||||
* same facts in SettingsScreen.kt's connection card): the one job it does that
|
||||
* ConnectionBanner.kt's banner text does not is name the retry attempt while
|
||||
* disconnected, so "reason + retrying + attempt" are all visible at a glance.
|
||||
* `tone` names the dot colour class (ok/warn/bad/idle).
|
||||
*/
|
||||
export function stateBadge(connection) {
|
||||
const c = connection ?? {};
|
||||
|
||||
Reference in New Issue
Block a user