Skip to content
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

Closed
hotsphink opened this issue Mar 23, 2017 · 8 comments · Fixed by #2917, #3000 or #4742
Closed

Time-aligned panels should track mouse position in the timeline-axis #222

hotsphink opened this issue Mar 23, 2017 · 8 comments · Fixed by #2917, #3000 or #4742
Assignees
Labels
assigned A developer has requested to work on this issue. help wanted Things ready to be worked on by anyone. Issues must include instructions on how to complete the task polish Small features or changes that do not require planning to work on. These help out our end users. quantum flow Issues important to the Quantum Flow team ready Issue has defined requirements. It can be grabbed and worked on stack chart Issues related to the stack chart panel timeline Issues related to the header timeline view

Comments

@hotsphink
Copy link
Contributor

hotsphink commented Mar 23, 2017

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.

@gregtatum gregtatum changed the title Timeline view should show current time Timeline view should be annonated with timing information Mar 23, 2017
@gregtatum
Copy link
Member

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.

@gregtatum gregtatum added feature Work that is user facing, and typically should be planned through https://airtable.com/shrRydo6UXheb stack chart Issues related to the stack chart panel timeline Issues related to the header timeline view labels Mar 23, 2017
@hotsphink hotsphink changed the title Timeline view should be annonated with timing information Timeline view should be annotated with timing information Mar 23, 2017
@clarkbw clarkbw added the quantum flow Issues important to the Quantum Flow team label Jun 30, 2017
@clarkbw
Copy link
Contributor

clarkbw commented Jun 30, 2017

@hotsphink With the addition of the tooltips in the flame chart is this still needed?

@clarkbw clarkbw added this to Low Priority in Triage 2017 Jun 30, 2017
@hotsphink
Copy link
Contributor Author

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.

@gregtatum gregtatum added polish Small features or changes that do not require planning to work on. These help out our end users. and removed feature Work that is user facing, and typically should be planned through https://airtable.com/shrRydo6UXheb labels Jan 19, 2018
@gregtatum
Copy link
Member

Changing this to polish, as it's a relatively simple request.

@julienw
Copy link
Contributor

julienw commented Mar 7, 2019

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).

@gregtatum gregtatum added the ready Issue has defined requirements. It can be grabbed and worked on label Mar 8, 2019
@fqueze fqueze added this to Usability backlog in Usability Mar 14, 2019
@digitarald digitarald changed the title Timeline view should be annotated with timing information Time-aligned panels should track mouse position in the timeline-axis Mar 14, 2019
@gregtatum
Copy link
Member

gregtatum commented Sep 30, 2020

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:

  • Add a changeMouseTimePosition and getMouseTimePosition
  • Write a test for this action, reducer, selector combo.

PR 2:

  • Update the src/components/timeline/Selection.js to use this mouseTimePosition, and correctly offset it to draw the vertical line. This is a matter of utilizing the hoverLocation.
  • Write a src/test/components/Timeline.test.js test to assert these changes.

PR 3:

  • Update the marker chart to dispatch the changeMouseTimePosition based on the mouse position and the current preview selection.
  • Add a test for the marker chart.

PR 4:

  • Update the stack chart to dispatch the changeMouseTimePosition based on the mouse position and the current preview selection.
  • Add a test for the stack chart.

@gregtatum gregtatum added the help wanted Things ready to be worked on by anyone. Issues must include instructions on how to complete the task label Sep 30, 2020
@CipherGirl
Copy link
Contributor

CipherGirl commented Oct 3, 2020

@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!

@gregtatum
Copy link
Member

@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.

@julienw julienw added the assigned A developer has requested to work on this issue. label Oct 13, 2020
julienw added a commit that referenced this issue Oct 21, 2020
…er, selector and test (Merge PR #2917)

This is part 1 of issue #222.
Usability automation moved this from Usability backlog to Done 2019Q2 Jan 10, 2023
fqueze added a commit to fqueze/profiler that referenced this issue Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned A developer has requested to work on this issue. help wanted Things ready to be worked on by anyone. Issues must include instructions on how to complete the task polish Small features or changes that do not require planning to work on. These help out our end users. quantum flow Issues important to the Quantum Flow team ready Issue has defined requirements. It can be grabbed and worked on stack chart Issues related to the stack chart panel timeline Issues related to the header timeline view
Projects
Usability
  
Done 2019Q2
Triage 2017
Low Priority
5 participants