Skip to content

Lead visual review with evidence and stable case navigation - #2098

Merged
max-sixty merged 22 commits into
mainfrom
codex/visual-review-redux
Oct 9, 2026
Merged

max-sixty merged 22 commits into
mainfrom
codex/visual-review-redux

Conversation

@max-sixty

@max-sixty max-sixty commented Oct 8, 2026 •

Copy link
Copy Markdown
Owner

The visual review now puts the active case and its captures first. Inspection controls fold into one native disclosure; the observed result, verdict and capture provenance follow the images. The case picker keeps every case reachable, while Next unreviewed walks only the remaining decisions.

Previous and Next share a grid allocation, so their widths and positions remain equal through focus, navigation and disabled states. The picker comes first in both visual and keyboard order and ellipsizes within its track. At narrow widths it takes its own row, retaining a readable case identity and 44 px touch targets. Browsing cases from a verdict moves to the corresponding action and reveals it through the shared focus owner; Next unreviewed lands on evidence. Queue, inspector and source refresh preserve their passive focus and reading position. Working-density prose defaults now yield to deliberate widget spacing, and the closed inspector reads as a toolbar rather than another framed prose panel.

Native disclosure labels center within their shared target floor while retaining the browser’s marker and keyboard behavior. On touch, Inspect comparison keeps its 44 px hit area, with balanced room around the text rather than a trailing blank gap. The same rule handles standalone offered disclosures and wrapped labels.

Document-flow reviews retain the full capture height. A standalone workspace sizes readable pairs to its evidence pane and refits when the pane or preceding inspector changes; taller pairs retain readable width and scroll inside the pane. Focused comparisons reserve their declared crop before image decoding, validate it against decoded captures, and report delayed image failures. Expanded Overlay controls wrap without clipping at phone widths.

Source refresh preserves surviving controls, drafts and comparison choices. Passive place retention names the evidence body’s canonical scroller, holding a focused verdict through changed observation text in both the document and bounded workspace. Replaced evidence or a removed case hands focus to the current evidence through the shared focus owner. Margin positions use full-precision custom coordinates, so unchanged layouts produce no style writes and small movements remain visible far down a long document. Capture timestamps belong to each case, and archive-only runs retain pinned revisions without invented Open destinations. The gallery's clean desktop pair was recaptured from its actual pinned references with authored site CSS.

Validation includes the real browser/HTTP review and source-refresh journeys, 320/390 touch and 1440 desktop navigation geometry, Tab/Enter/Space, single-case disabling, reload/undo, print, narrow Overlay controls, predecode allocation and delayed failure. Thirteen focused control, navigation, source-refresh, flow and workspace checks and 275 runtime tests pass; the strengthened full-target visibility journey and fixture ownership guard also pass. The authenticated capture-to-review journey also checks that verdict browsing lands on a fully visible, unobscured keyboard action with a valid focus ring; it passes alongside the remaining-case and passive-refresh journeys. Scoped pre-commit passes. Nineteen final margin and thread expectation checks also pass. Independent native readers completed and revisited all three cases at 320/360/390 touch and desktop widths. Workspace Fit was checked with the inspector both open and closed. Five repeated actual margin layouts retain geometry with zero style mutations at document offsets from 755 to 1,234,567 px.

The fresh 390×844 document-flow capture puts evidence at 317 px, with equal 72×44 px steps. Inspect retains its 44 px target while the label-to-evidence gap falls from 33 to 20 px. The disclosure follow-up passes single-line and wrapped target/keyboard checks, flow and workspace journeys, and independent 320/390 touch and 1440 desktop review. A matched one-case startup comparison against integrated main at d12f1cc88 retains 244 presentation requests (238 code, 236 JavaScript), adding 7,232 code bytes, including 5,191 JavaScript bytes, with no observed initial layout shift or browser error. The full three-case phone capture is byte-identical after the shared focus integration. Eleven thread snapshot checks pass, with one platform skip. All 48 images and geometry records captured from the integrated tree match the current main baseline; that complete capture is accepted and pinned. Catalog previews are regenerated, reviewed and pinned.

The visual design is approved for rollout. Document-flow captures retain their full height, so long evidence requires scrolling to its verdict; explicit navigation reveals the next action. Closing tall metadata after scrolling deep can reach the document's shorter physical scroll limit.

This was written by Codex on behalf of max-sixty

@leaf-agent leaf-agent left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The evidence-first flow reads clearly at desktop and phone widths. After the long capture, the action, observed result, and verdict remain together. I found no actionable issue in the changed path.

The PR description says this proposal remains open for the requested visual review. I’m leaving the verdict as a comment until the author clears that readiness hold.

Base automatically changed from codex/standalone-touch-targets to main October 8, 2026 19:01
Working-density element defaults now yield to component margins and table padding in the same CSS layer. Closed inspection is a toolbar disclosure, retaining its shared touch target while putting phone evidence116px earlier. Overlay opacity controls wrap within narrow layouts.

Allocate declared focus geometry before image decoding through the same evidence layout function, then validate decoded bounds. Load and error share a stable geometry invalidator so delayed media failures remain visible. Browser regressions exercise generic density overrides, held undecoded captures and a late peer failure.
Publish thirteen current example previews after main integration, and retain the reviewed visual-review desktop recapture in the merged media revision. Catalog and README links advance with the exact asset pin.
The browser fixture reads page health before closing every context it lends. Remove the duplicate test-finally closure from the held-image allocation and late-image-failure journeys so that fixture guarantee remains intact. The resource ownership guard and both real HTTP/browser journeys pass.
The case queue owns one shared allocation for Previous and Next rather than dropping button minimums in its narrow rule. Keep the picker shrinkable with an ellipsis, and give it a full row when the native options would otherwise be too narrow to read. Put the picker before the paired steps in both DOM and visual order so keyboard focus follows the same route.

Browser regressions exercise equal widths and retained geometry through case changes, keyboard focus, long labels and disabled single-case runs at phone and desktop widths.
Keep evidence-first reviews and equal navigation in the bounded workspace introduced on main. Refit captures when inspector or case chrome changes the available pane, and hand restored focus through the shared cause-aware owner.

Store margin row positions as full-precision custom coordinates, avoiding CSSOM rounding that restated unchanged positions or hid small moves far down a document. Cover real distant movement and read constrained scroll placement from painted geometry. Refresh and review catalog and merged-tree thread expectations.
Keep native list markers and touch targets while distributing extra hit area around the label. Exercise single-line and wrapped summaries with pointer and keyboard input, and refresh reviewed catalog media.
Case browsing from a verdict now moves to its counterpart through the shared focus owner. Update the authenticated capture-to-review journey to require that native action with full visibility, hit testing and its keyboard ring. Next unreviewed retains its separate evidence-heading destination.
@max-sixty
max-sixty merged commit bef94f3 into main Oct 9, 2026
6 checks passed
@max-sixty
max-sixty deleted the codex/visual-review-redux branch October 9, 2026 09:19
max-sixty added a commit that referenced this pull request Oct 10, 2026
…rked controls

main made the page tab strip sticky in every non-side tab set and kept
its panels' reset landing room, which the derived focus margin does
without, so that line goes. main's visual review (#2098) puts the case
picker on its own row in a narrow review, so the sticky header states
two rows there. The visual review's navigation test opens the inspector,
which now folds into a disclosure, and names Next exactly beside Next
unreviewed. The sticky-header creep test drops the diff's file action:
an inline diff has no file press since #2175 removed review marks, and
the test failed on main for it.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants