profiler
profiler copied to clipboard
[WIP]: Fixing filter button in marker hover panel
Closes: #5704
Tooltip Filter Button Default Behavior
Changes
- The tooltip filter button now defaults to visible by setting
showFilterButton = truein
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
-