Skip to content

Bring back visual-change markers in the waterfall#4755

Merged
soulgalore merged 1 commit into
mainfrom
waterfall-tools-hover
May 20, 2026
Merged

Bring back visual-change markers in the waterfall#4755
soulgalore merged 1 commit into
mainfrom
waterfall-tools-hover

Conversation

@soulgalore
Copy link
Copy Markdown
Member

The waterfall-tools renderer that replaced PerfCascade in #4614 only
draws vertical lines for a fixed set of page-event names. Browsertime
still emits _firstVisualChange / _lastVisualChange / _visualComplete85
on the HAR, but those don't match any of the renderer's known names,
so the visual-change markers that have been part of the waterfall
since 2016 silently disappeared with the renderer swap.

Bump the waterfall-tools pin to pick up its new hover-on-metric-line
callbacks, hoist the three visual-change values into the HAR's
user-timing-marks bag so they ride the rendering path that does draw
vertical lines, default the marks toggle on (and rename it to "Marks
& visual metrics" so users see why their visual-change lines depend
on it), and extend our onHover so the new tooltip identifies which
metric or user mark the cursor is on instead of only ever showing
request URLs.

Co-authored-by: Claude noreply@anthropic.com

  The waterfall-tools renderer that replaced PerfCascade in #4614 only
  draws vertical lines for a fixed set of page-event names. Browsertime
  still emits _firstVisualChange / _lastVisualChange / _visualComplete85
  on the HAR, but those don't match any of the renderer's known names,
  so the visual-change markers that have been part of the waterfall
  since 2016 silently disappeared with the renderer swap.

  Bump the waterfall-tools pin to pick up its new hover-on-metric-line
  callbacks, hoist the three visual-change values into the HAR's
  user-timing-marks bag so they ride the rendering path that does draw
  vertical lines, default the marks toggle on (and rename it to "Marks
  & visual metrics" so users see why their visual-change lines depend
  on it), and extend our onHover so the new tooltip identifies which
  metric or user mark the cursor is on instead of only ever showing
  request URLs.

  Co-authored-by: Claude noreply@anthropic.com
@soulgalore soulgalore merged commit 90b6c46 into main May 20, 2026
15 checks passed
@soulgalore soulgalore deleted the waterfall-tools-hover branch May 20, 2026 16:38
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.

1 participant