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

Set keyboard focus on graph/table when selecting an analysis #612

Conversation

hriday-panchasara
Copy link
Contributor

@hriday-panchasara hriday-panchasara commented Dec 23, 2021

This PR has changes for the following features suggested by @PatrickTasse in #311

  • When clicking on an analysis in the Available Analysis list, in the selected trace tab, the analysis is scrolled into view and given keyboard focus. User can click tab to access the tree and chart of the focused graph.
    focus-example-1

  • The trace tab should be scrolled to make that analysis visible, whether it is being opened for the first time or if it was already created previously.
    focus-example-2

  • When clicking on an analysis title in the trace tab, keyboard focus should be the analysis' graph/chart region. This is indicated by a blue focus border, allowing the user to directly use keyboard interactions/shortcuts
    focus-example-3

fixes #414

  • If a View that is already open is selected in the sidebar, the View's title area should pulse to temporarily bring attention to the View panel. Keyboard focus is also given to the analysis' graph/chart region.
    focus-example-4

For some reason the focus outline is not being shown properly in some of the screen recordings. This is the default tab focus styling but we can change the css to make the outline more prominent.

Signed-off-by: hriday-panchasara hriday.panchasara@ericsson.com

Copy link
Contributor

@PatrickTasse PatrickTasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When clicking on an output title, the focus is given to the whole output container. I think it should be given to the output's chart or table:

  • for a timegraph or xy chart, so that we can then use WASD keys to zoom and pan
  • for the event table so that we can use the arrow keys to navigate the table

yarn.lock Show resolved Hide resolved
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch 2 times, most recently from 2ce0635 to 2c26823 Compare January 13, 2022 20:47
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch from c811c74 to e650bb5 Compare January 17, 2022 22:27
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch from 02d7edb to 186193e Compare January 18, 2022 18:48
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch 2 times, most recently from f24404b to 07704c9 Compare January 19, 2022 18:04
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch 2 times, most recently from 683ddba to b76056b Compare January 20, 2022 16:44
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch 2 times, most recently from 6a951bf to 3b5aa41 Compare January 21, 2022 20:44
PatrickTasse
PatrickTasse previously approved these changes Jan 25, 2022
@bhufmann bhufmann requested review from Rodrigoplp-work and removed request for bhufmann February 3, 2022 15:44
@bhufmann
Copy link
Collaborator

bhufmann commented Feb 3, 2022

@hriday-panchasara could you please rebase this PR? Then a final round of review can be done. Thanks

fixes eclipse-cdt-cloud#414

When clicking on an analysis in the Available Analysis list, the analysis
is scrolled into view and given keyboard focus. When clicking on an analysis
title in the trace tab, keyboard focus should be the analysis' graph/chart region.
If a View that is already open is selected in the sidebar, the View's title area
should pulse to temporarily bring attention to the View panel. 

Signed-off-by: hriday-panchasara <hriday.panchasara@ericsson.com>
@hriday-panchasara hriday-panchasara force-pushed the Issue/311-set-keyboard-focus-when-clicking-analysis branch from fa8b6ba to b6b635f Compare February 4, 2022 19:56
@hriday-panchasara
Copy link
Contributor Author

@hriday-panchasara could you please rebase this PR? Then a final round of review can be done. Thanks

@bhufmann Rebased on top of master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pulse view title on click if view is already open
4 participants