Open nickdesaulniers opened 5 years ago
+1 to this.
It seems like a hotkey to put the currently selected event in the vertical center of the screen would be the most general way to solve this (given that the mouse scroll is the most painful part of this)? Although that might not be the most discoverable option. One alternative is putting a button near the arrows for search that does this.
I think it could automatically zoom+scroll directly to the event when finding. Can you think of any reason not to do that?
I think you can dispatch an event from the FindControl to the timeline-view, which can call a new method on the timeline-track-view to update its displayTransform_:
https://github.com/catapult-project/catapult/blob/master/tracing/tracing/ui/timeline_track_view.html https://github.com/catapult-project/catapult/blob/master/tracing/tracing/ui/timeline_view.html https://github.com/catapult-project/catapult/blob/master/tracing/tracing/ui/find_control.html
My current workflow looks like: / to search, m to highlight, f to zoom, then mouse wheel to scroll.
It would be nice to have a single hotkey that maybe did all of the above?