-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time-aligned panels should track mouse position in the timeline-axis #222
Comments
I'm editing your title a bit to reflect that we should annotate the time better. The timeline view should have vertical markers showing the timing information, and then should also include information about the current time. |
@hotsphink With the addition of the tooltips in the flame chart is this still needed? |
Something is still needed. With the tooltips, I'm no longer sure it's a good idea to have a vertical bar when you're mousing over the timeline view; seems like it might be too noisy. But the underlying request is to better correlate your ephemeral position (the one from a mouseover) between the timeline view and the... why can't I ever remember what you call the upper views? So, let me modify the request: When mousing over the upper pane, I would like a vertical bar to show the matching position in the timeline. When mousing over the timeline (flame graph), I would like the vertical bar to appear in the upper pane. Note that I do not expect these vertical bars to line up, eg if you have a portion of the upper pane selected so that the timeline is only showing that selection. But that's kind of the point -- there are two regions displaying time-based information. When my mouse is in one, I want to see the corresponding position displayed somehow in the other one. The vertical bar is the most obvious (to me) way to do it, given its current use when your mouse is within the upper pane. |
Changing this to polish, as it's a relatively simple request. |
The work here would be to put the "mouse time position" in the redux state, and draw vertical lines out of this state in our various time-based panels (top timeline, stack chart, marker chart, network chart). |
Here's an idea of how this can be implemented: main...gregtatum:track-mouse-ideas It shows where the various files are. For a contributor, this would need to be done in multiple PRs outlined below. This would be a good task for someone who has done a few good first issues and wants something a bit bigger. PR 1:
PR 2:
PR 3:
PR 4:
|
@gregtatum I'd like to get assigned to this one. If it's not urgent then assign me as I'd take a couple of days to go through the requirements here and also some resources about testing. I'll keep you posted on matrix about this, or if I need to know anything. Thanks! |
@CipherGirl Sure thing, I've marked you as assigned. Let me know if you have any questions or decide to drop this issue and work on something else. |
…art or stack chart, fixes firefox-devtools#222.
…art or stack chart, fixes firefox-devtools#222.
edit from Greg: This is an older issue, but see the comment below for the work that needs to happen here.
When I mouse around, a vertical bar is shown in the upper views. I would like that on the Timeline view as well.
The text was updated successfully, but these errors were encountered: