profiler icon indicating copy to clipboard operation
profiler copied to clipboard

[WIP]: Fixing filter button in marker hover panel

Open KaranPradhan266 opened this issue 1 month ago • 0 comments

Closes: #5704

Tooltip Filter Button Default Behavior

Changes

  • The tooltip filter button now defaults to visible by setting showFilterButton = true in
    src/components/tooltip/Marker.tsx.
  • Timeline tooltips explicitly opt out of the filter button by passing
    showFilterButton={false} in:
    • src/components/timeline/Markers.tsx
    • src/components/timeline/TrackNetwork.tsx
    • src/components/timeline/TrackCustomMarkerGraph.tsx
  • Marker charts continue to display the filter button via the existing prop in
    src/components/marker-chart/Canvas.tsx.

Tests

  • Updated Jest snapshots to reflect the new tooltip behavior and minor download-size text changes:
    • src/test/components/__snapshots__/TrackCustomMarker.test.tsx.snap
    • src/test/components/__snapshots__/TrackNetwork.test.tsx.snap
    • src/test/components/__snapshots__/MenuButtons.test.tsx.snap

KaranPradhan266 avatar Dec 13 '25 22:12 KaranPradhan266