Repository navigation
web: rail Sign-in stays in the 280px box; viewport is a CAD modeling well - #32
Merged
Merged
Conversation
The compact providers header (title + Show configuration) and egress host/timestamp rows sized past --rail-width (measured 319 vs 279), hiding Sign-in behind a horizontal scrollbar. Flex children now shrink, the header wraps, and the rail scrolls vertically only. The viewport well is no longer the near-black void. Clear colour is --p-slate-050 (#eef1f6) with a dark steel part, visible grid on by default — a Fusion/Onshape-style modeling grid. App chrome stays dark. Co-authored-by: Vel <Code4me2@users.noreply.github.com>
no-palette-token refuses a copied hex (or a --p-* name) outside tokens.css. The design-system spec now probes --viewport-ground as RGB and checks luminance: the well is light, the chrome canvas stays the dark void, and the corner pixel still matches the clear colour. Co-authored-by: Vel <Code4me2@users.noreply.github.com>
The well invert left the axis triad's SVG <text> at --ink-base on --viewport-ground (1.36:1). Chrome ink stays on dark plates; the no-plate triad spends --viewport-edge. Absence copy sits on overlay. Co-authored-by: Vel <Code4me2@users.noreply.github.com>
Code4me2
marked this pull request as ready for review
August 31, 2026 18:43
This was referenced Aug 31, 2026
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.
Velvet measured the live operator at 1280×800 on
heph serve --web/ shelf-assembly after #26+#27.1. Rail Sign-in horizontal clip
Measured (before):
nav._railclientWidth 279 vs scrollWidth 319. Sign-in sat at x 244–311, 31px past the 280px rail. The only in-rail scrollbar was a horizontal bar at the floor. Compact providers was the #27 intent; leftover overflow made Sign-in unreachable without sideways scroll.Cause: same class of leak as #26's stream min-width. A nowrap header pair (
Model providers+Show configuration) and/or an ACKNOWLEDGED OUTBOUND HOSTS host/timestamp row set a flex child's min-content above--rail-width..rail > *defaulted tomin-width: auto.Fix:
.rail > * { min-width: 0 }andoverflow-x: hidden/overflow-y: auto(no horizontal rail scroll)flex: 0 1 auto; min-width: 0)minmax(0, 1fr)withmin-width: 0Test:
operator-chrome.test.tsxfails if rail descendants can force wider than--rail-width.Re-measured on this revision at 1280×800: clientWidth 279, scrollWidth 279, overflow-x hidden. Sign-in at x 207–271 (inside).
Show configurationfully visible (wrapped onto its own row). No overflowing interactive control. Composer Send still on-screen.1280×800 shell after the rail and well fixes
Rail providers: Sign-in and Show configuration inside 280px
2. Viewport is a CAD modeling well, not a black void
The black background did not help the operator see constructed solids. Grid being "on" while invisible on
#080a0dwas the defect.Defaults (named):
--viewport-ground:--p-slate-050#eef1f6(Fusion / Onshape / SolidWorks-style modeling board)--viewport-part:--p-graphite-500#30374a(dark steel on the light well, ≥4.5:1)--viewport-edge:--p-graphite-950#080a0d--viewport-grid:--p-slate-400#9aa5b6(visible on the well)--viewport-grid-axis:--p-slate-600#6b7484true→false→true)--surface-canvasremains#080a0dfor NoToken and the section plateNo new geometry kernel. No client-side tessellation. Appearance only: clear colour, grid contrast, existing three.js authorship.
Corner sample on the live canvas is
rgb(238, 241, 246)— the well token byte for byte, not the previous void.Viewport well: light modeling board, grid default on, chrome overlays unchanged
INTERFACE.md tension (follow Velvet): §3.5 / §3.11 draft that the viewport ground "must be darker than the part." That clause produced the void. This PR keeps §3.11's non-chrome contract (client-authored material, silhouette + feature edges, grid readout, ≥4.5:1 part-vs-ground) and inverts the well so a gusset reads as a part sitting on a grid. G4.5 method is unchanged (self-referential before/after delta inside a decoded mask); thresholds are not loosened.
The finite ground pad still only builds once a part is framed (
engine.ts: no part, no floor). This VM'sGET /artifacts/{ref}/gltf500s on missing EGL, so the loaded-solid-on-grid picture is asserted at the token / clear-colour / default-grid layer rather than as a minted GLB screenshot.CI — what actually failed (job 99584414509)
render goldens (pinned image)last step ispnpm --dir web test:e2e, not G1 Mesa goldens.pytest tests/render) passed. Not rebaselined.test_g4_section_golden.pyandviewport.spec.tssection plate) passed. Not rebaselined.archive()attaches screenshots and never asserts them. No viewport archives were rebaselined.The one failure was
e2e/design-system.spec.ts:56— §3.13.1 live ink walk:three times. Those are the axis triad's SVG text letters (
--ink-base#c9d1de) sitting on--viewport-ground#eef1f6with no plate (by design). Chrome--ink-*is authored for the dark surfaces.Fix: triad strokes and letters spend
--viewport-edge(also@permit texton the well). Viewport absence copy sits on--surface-overlayso loading/refused words are not the same pairing. App chrome stays dark. Rail clip and CAD well unchanged.Re-run:
render goldens (pinned image)job 99595397193 on9d88153succeeded. All 18 checks green. Ready for review.Out of scope
#14 engine work, Spark/GLM, Timeline/Export/Sourcing, composer crowding, branch/HEAD, G4/G5 weakening.
pnpm --dir web test469 passed ·typecheckgreen ·lintgreen. Localtest:e2ecannot stand up the G4 harness here (no packaged sidecar / no EGL). The pinned-image job is the e2e gate and is now green.