Repository navigation
Serve the paired-results fixture's media and mark the comparison chooser as generated - #2461
Merged
Merged
Conversation
Keep two qualified defect/control pairs as separate leaf-dev diagnostics. Document the exception: recurring CI diagnosis has become costly enough to justify retaining this small internal set. Provide isolated native model runs, no-tools and controlled-browser evidence, frozen provenance, and manual grading. Leave the ambiguous grouped-navigation probe in exploratory evidence. Validated cold prepare-only recognition and discovery runs, fixture/control measurements, eval tests, and focused pre-commit checks.
Supply complete reconstructed fixture source as a separate tool-free condition. Freeze source hashes and audit exact native or SDK inputs without images. Keep source inference distinct from observed rendering and preserve incomplete-source pilot limits.
Runtime, render-gate and shared test changes from the held checkpoint are dropped in favour of main; the playwright package keeps the checkpoint's state for rework. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Replace Vis Timeline's centered, stacked boxes with Leaf's own lanes: every mark's left edge is its recorded time, calls are bars from start to end, and labels only annotate. The playhead is a time; the shown capture is the latest at or before it. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…history The recording viewer no longer uses Vis. The eval that reconstructs the old viewer reads the exact bundle bytes from the commit its provenance names. The comparison workspace is a flow root, so its first paint keeps its box. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…d Lit templates Adopts #2346's Lit ownership of controls, moments and saved evidence, around the new timeline module. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…e scale Following a thread to an image that is still on screen cancels a replacement that would retire it. A changed time scale redraws the timeline rather than carrying its marks, and its name column has a fixed width, so a font cannot move the scale. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Restoring a saved place no longer reopens a disclosure or view the user concealed; explicit navigation reveals destinations. Saved elements closes and stays closed while recording frames change. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…one time Browser tests read each mark's staff against its recorded time, one row per lane, native panning and pinch zoom, and the playhead's shared coordinate. Moments at one time share a flag that lists them; labels at the end of the scale point back from their staff. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Each name in a shared label selects its own mark, and a count zooms to the marks it stands for. Input bars draw their call as an open window with a notch at the Action checkpoint, so none reads as a held key. The image badge states its own capture time and how it relates to the input. Playback waits for each image before moving on. Moment flags on the timeline no longer scroll the page. Shift+arrows step by input or moment and Space plays on the timeline. Ticks with an image are the strong ones. The unused compare attribute is gone; pairing lives in lf-trace-compare. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
A checkpoint with an image now stands where that image was captured, so the image on screen is never newer than the playhead. Playback draws each capture over the Viewer at once and keeps 1x pace, waiting only when the image would trail by more than 150 ms. Overlapping calls keep their rows across redraws. Touch taps keep the mark they landed on; a press beside a thin mark picks it; a count zooms until its marks stand a label apart; the selected name is the one highlighted; the Input lane carries a visible legend and no second line beside its notch. Key down and key up read as such. Zoom stays within Chrome's layout limit and its buttons follow pinch zoom. The comparison workspace spaces its parts itself. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
The playback image stands inside the Viewer's canvas, so a comment aimed during playback names the image on screen. A tap acts on the element under the finger, not the one Chrome adjusts toward. The notch keeps the Action snapshot's time. Pausing drops pending playback images, a resize re-places the playback image, and a gesture on the Viewer hands the picture back to it. A count zooms no further than shows all its marks. Zoom stays within layout limits after a widening, and zoom availability repaints only on zoom. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Play and Pause share one width, so the readout beside them never moves when playback ends. The playback image follows the Viewer's pan and zoom and is hidden from assistive tech, since the canvas names the part. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Main's focus-ring unification (#2375) moved package rings from `:focus-visible` to the runtime's `[data-lf-focus]` marker; the new timeline, pace select and canvas rings now use it too, so a pointer-focused timeline shows its ring. Measured lengths the comparison writes go through `layoutPx`, as main's other widgets do. Reading-place restoration keeps the branch's rule that a concealed landmark is not reopened, on main's `resolveAnchor` without an explicit page text. Main's capture-extent trace test changes merged cleanly; its Vis tooltip assertions are gone with Vis. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Main (#2425) taught the Vis rail to run right to left in RTL text and its arrows to follow it. The new time scale instead runs left to right in every text direction, as a chart's time axis does (`direction: ltr` on the timeline), and its step keys, plain and Shift, read their arrows from the scale with `rowArrows`, so they follow it if that changes. The RTL test now protects that: recording zero stands at the left in an RTL page, and → steps later. It fails without the pin. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Between stops, the latest checkpoint stayed selected, so an input's After
checkpoint kept its badge ("after Click") while the playhead stood in the gap
before the next call, where no input applies. The checkpoint's input now
applies only while the playhead is on that checkpoint; elsewhere the badge
follows the input call the playhead is inside, if any. The frames test seeks
into that gap in the gallery recording and expects no badge; it fails on the
previous rule.
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
CI's shift watch caught the selection beside the time readout moving 5 px during playback: in a font without tabular figures, each new time changed the readout's width, and its max-content column pushed the selection. The readout now reserves the recording's longest time label in `ch`, which bounds any label of that length. With proportional digits forced, the play-press test reproduces the shift on the previous code and passes with this. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
From the gallery's initial selection (3.003 s of 3.368 s), real-time playback ended about 365 ms after Play, so on a loaded CI runner the next click found no Pause. Starting from the beginning gives the warm-up the whole recording. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
…on chooser as generated The paired-results fixture added in #2429 names example media, but a page under tests/fixtures/ has no layer of its own, so preparation looked for a media/ directory beside it and served 404s. A page in this checkout without a layer now shares the example catalog's media, as it already shares its packages; a page outside the checkout still keeps only its own. The comparison test that hand-built that media drops it. With the images served, the same render check found lf-trace-compare's chooser row standing among the page's lf-trace children. The row is the widget's own apparatus, so it carries data-lf-gen as lf-trace's generated view does. The play-press test now holds the recording clock before its first Play/Pause, so a loaded runner can no longer reach Pause after the 3.4 s recording ends. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
leaf-agent
approved these changes
Oct 12, 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.
Main is red on
test_page_fixture_renders[playwright-paired-results], a fixture #2429 added. This makes it pass and fixes the second defect the 404s were hiding.playwright-paired-results.data.jsonnames example media (/media/298268218fde4619.png, …), but a page undertests/fixtures/pages/has nolayer.json, somedia_sourcereturned amedia/directory beside it that doesn't exist, and the images 404'd. A page inside this checkout with no layer of its own now takes the example catalog's media, assource_packagesalready gives it the catalog's packages. A page outside the checkout still keeps only its ownmedia/(test_an_unrelated_ancestor_layer_does_not_change_an_external_source).test_trace_comparison_prepaint_shows_only_its_opening_recordinghad worked around the gap by building that media by hand; it no longer does.lf-trace-compare's chooser row standing among the page'slf-tracechildren. The row is the widget's own, so it now carriesdata-lf-gen, aslf-trace's generated view does.test_trace_play_press_belongs_to_its_pointer_clicknow holds the recording clock before its first Play/Pause, so on a loaded runner Pause can no longer arrive after the 3.4 s recording has ended (the timingleaf-agentflagged on Draw the recording timeline on one time scale and remove Vis Timeline #2429's last head).Locally,
tests/test_render_playwright_trace.py,tests/test_interact_preview.pyandtests/test_render_gate.pypass on main75515cd81. After merging mainde2df875d, everytest_page_fixture_renderscase, the two trace tests above andtest_trace_page_scrolling_preserves_playbackpass too, as do the pre-commit hooks on the changed files.