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

Select chart components from a selection in the events table #760

Merged
merged 3 commits into from
Jun 17, 2022

Conversation

bhufmann
Copy link
Collaborator

@bhufmann bhufmann commented Jun 6, 2022

Select corresponding chart components from the events table.

Clicking on a line in the events table will cause a chart like "Thread
Status" to scroll vertically to the row which has the element that
corresponds to the clicked event.

For each line in the timegraph tree, parse the metadata in the
TimeGraphEntry received from the server and try to find matches with the
key / values pairs of the clicked event. It will select the entry which
has the most matches.

When selecting an event using the search capability in the events table
broadcast the event details to other charts to select corresponding
chart component.

When using the keyboard to select an event, broadcast the event details
to other charts to select corresponding chart component.

Add support for arrow up/down key selection of events in the events
table.

Multi-line selection:
When extending the selection, only the first selected event will be
used to broadcast the selection .
Make sure that the properties view is updated with the last event
selection.

This PR requires the following pull requests:
https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193246
eclipse-cdt-cloud/tsp-typescript-client#63
eclipse-cdt-cloud/timeline-chart#204

The corresponding Trace Server Protocol (TSP) update:
eclipse-cdt-cloud/trace-server-protocol#83

Signed-off-by: Rodrigo Pinto rodrigo.pinto@calian.ca
Signed-off-by: Bernd Hufmann bernd.hufmann@ericsson.com

@bhufmann
Copy link
Collaborator Author

bhufmann commented Jun 6, 2022

This PR is based on PR #746 and relevant code is move into this PR.

@bhufmann
Copy link
Collaborator Author

bhufmann commented Jun 6, 2022

select-chart-row-from-event

Rodrigoplp-work and others added 3 commits June 16, 2022 18:30
Select corresponding chart components from the events table.

Clicking on a line in the events table will cause a chart like "Thread
Status" to scroll vertically to the row which has the element that
corresponds to the clicked event.

For each line in the timegraph tree, parse the metadata in the
TimeGraphEntry received from the server and try to find matches with the
key / values pairs of the clicked event. It will select the entry which
has the most matches.

When extending the selection, only the last selected event will be
used to broadcast the selection (multi-line selection).

This PR requires the following pull requests:
https://git.eclipse.org/r/c/tracecompass.incubator/org.eclipse.tracecompass.incubator/+/193246
eclipse-cdt-cloud/tsp-typescript-client#63
eclipse-cdt-cloud/timeline-chart#204

The corresponding Trace Server Protocol (TSP) update:
eclipse-cdt-cloud/trace-server-protocol#83

Signed-off-by: Rodrigo Pinto <rodrigo.pinto@calian.ca>
Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
When selecting an event using the search capability in the events table
broadcast the event details to other charts to select corresponding
chart component.

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
When using the keyboard to select an event, broadcast the event details
to other charts to select corresponding chart component.

Add support for arrow up/down key selection of events in the events
table.

When extending the selection, only the last selected event will be
used to broadcast the selection (multi-line selection).

Make sure that the properties view is updated with the last event
selection.

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
@bhufmann bhufmann merged commit e2e10f5 into eclipse-cdt-cloud:master Jun 17, 2022
@bhufmann bhufmann deleted the tg-metadata branch June 17, 2022 16:12
@bhufmann
Copy link
Collaborator Author

bhufmann commented Jun 17, 2022

Fixes #219

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.

3 participants