Responsive console scaling + operator user guide#1
Merged
Conversation
The console layout was hard-locked to 1600x1000, so any smaller window clipped the right edge behind a horizontal scrollbar. The shell now keeps its 1600x1000 design dimensions but is scaled proportionally via a CSS transform driven by an --app-scale variable, recomputed on load and on every resize from min(innerWidth/1600, innerHeight/1000). The viewport meta is now standard-responsive and the body is a full-viewport centering stage with hidden overflow. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
An operator-focused walkthrough of the live console: the three-column layout, the four transport actions (Play, Train, Compare, Replay), the right-column inspector panels, common workflows, which cells are still cosmetic, and a troubleshooting table. Complements the setup/CLI-focused README and the API-focused frontend/README. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
1600×1000(<meta viewport>,.appmin/max-width,body { overflow-x: auto }), so any window narrower than 1600px clipped the right edge behind a horizontal scrollbar. The shell now keeps its 1600×1000 design dimensions but is scaled proportionally via a CSStransform: scale(var(--app-scale)), recomputed on load and on everyresizefrommin(innerWidth/1600, innerHeight/1000).bodyis now a full-viewport centering stage with hidden overflow. Resize freely — nothing is clipped, just shrunk.USER_GUIDE.md: new operator-focused walkthrough of the live console — the three-column layout, the four transport actions (Play / Train / Compare / Replay), the right-column inspector panels, common workflows, an explicit list of which cells are still cosmetic, and a troubleshooting table. Complements the setup/CLI-focusedREADME.mdand the API-focusedfrontend/README.mdwithout duplicating them.Changes
frontend/index.htmlbodyas a100vw × 100vhcentering grid;.appscaled via--app-scaletransformfrontend/app.jsfitApp()/wireFitApp()— computes the scale factor on load + resize, wired first ininit()USER_GUIDE.mdTest plan
./start.sh, then resize the browser window from full-screen down to a small window — the whole console scales to fit, no horizontal scrollbar, nothing clippedUSER_GUIDE.mdand spot-check that the four ▶ actions and panel numbering match the currentfrontend/index.html🤖 Generated with Claude Code