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:
@@ -186,6 +186,15 @@ export async function launchChrome({ width = 1440, height = 900, chromePath } =
|
||||
|
||||
const api = {
|
||||
targetId,
|
||||
/** Resize the emulated viewport at the driver's fixed device scale. */
|
||||
async resize(width, height) {
|
||||
await session("Emulation.setDeviceMetricsOverride", {
|
||||
width,
|
||||
height,
|
||||
deviceScaleFactor: 1,
|
||||
mobile: false,
|
||||
});
|
||||
},
|
||||
async evaluate(expression) {
|
||||
const result = await session("Runtime.evaluate", {
|
||||
expression,
|
||||
|
||||
Reference in New Issue
Block a user