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

Marker navigation #239

Merged

Conversation

williamsyang-work
Copy link
Contributor

Implements functionality to navigate through markers by using "," and ".".

Fixes the TODO's listed in PR #237. Uses class inheritance to remove duplicate code. Uses different algorithm for computing next/previous state, since marker states don't always come in a time-sorted array.

Signed-off-by: Will Yang william.yang@ericsson.com

williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 10, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 10, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 10, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 10, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>
Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for this feature!

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.

Please squash with previous commit in PR

}
}

}
Copy link
Contributor

Choose a reason for hiding this comment

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

It's asking for a newline at EOF

@bhufmann
Copy link
Collaborator

Please squash with previous commit in PR

Makes sense. My commit doesn't need to be merged.

Implements functionality to navigate through markers using "," & ".".

Renames the new class with appropriate name: TimeGraphMarkersChartCursor.
Removes duplicate code by using class inheritance.
Fixes bug where canvas loses focus when selection is out of world range.

Signed-off-by: Will Yang <william.yang@ericsson.com>
@williamsyang-work
Copy link
Contributor Author

New line added and commits squashed.

Copy link
Collaborator

@bhufmann bhufmann left a comment

Choose a reason for hiding this comment

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

Still looks good to me.

@bhufmann bhufmann merged commit 82a0ac9 into eclipse-cdt-cloud:master Feb 17, 2023
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Adds the ability to select rows in the markers-chart layer.

Improves the logic of selected row feature.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>

fixed hard-coded css
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Adds the ability to select rows in the markers-chart layer.

Improves the logic of selected row feature.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>

fixed hard-coded css
williamsyang-work added a commit to williamsyang-work/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Adds the ability to select rows in the markers-chart layer.

Improves the logic of selected row feature.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>

fixed hard-coded css
hriday-panchasara pushed a commit to eclipse-cdt-cloud/theia-trace-extension that referenced this pull request Feb 21, 2023
Implements functionality to navigate through markers using "," & ".".
Includes new "TimeGraphMarkersChartCursors" layer and uses it with the
chart layer in the Markers Container.

Adds the ability to select rows in the markers-chart layer.

Improves the logic of selected row feature.

Depends on: eclipse-cdt-cloud/timeline-chart#239

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-Off-By: Will Yang <william.yang@ericsson.com>

fixed hard-coded css
@williamsyang-work williamsyang-work deleted the marker-navigation branch August 21, 2024 21:07
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