-
Notifications
You must be signed in to change notification settings - Fork 2
Update from vscode trace extension #6
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Small adaptations to root package.json, various tsconfig.json. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> Add README under local-libs Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> [traceviewer-react] add missing @types/lodash.debounce dev dependency Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> Align eslint config with theia-trace-extension For smoother sharing of the traceviewer-* libraries Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> [traceviewer-*] align code to respect linter and formatter Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> update yarn.lock Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> Improved watch mode With a correct tsconfig.json setup, it's possible to watch all the typescript workspaces' code using a single "tsc -b -w", executed at the repo root. It's also necessary to cover webpack where it is used. https://webpack.js.org/configuration/watch Signed-off-by: Marc Dumais <marc.dumais@ericsson.com> Update root README Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
When the traceviewer-libs git subtree was initially added, running prettier (yarn format:check) would fail locally. This was since determine to be because this repo here was already pulling a more recent version of "prettier" than the theia extension repo: v3.x vs v2.x. The local version of the subtree already has the libraries' code adapted to pass the check with prettier@3. That version was explicitly added as a devDependency to the traceviewer- react-components library, but for completeness, we now add it to traceviwewer-base as well, to be sure the format check will be identical in both repositories, no matter the version of prettier that may be pulled in the root package.json or other components, in either / both repositories. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
In the subtree README, "git subtree push -p <subtree folder" was documented. Not sure where this came from, but my local git won't accept it, instead expecting: "git subtree push --prefix <subtree folder" Corrected in this commit. Signed-off-by: Marc Dumais <marc.dumais@ericsson.com>
Extract util methods from abstract-xy-output-component so that later they can be shared with generic xy view. Signed-off-by: Siwei Zhang <siwei.zhang@ericsson.com>
Implement the new generic xy view to support non-time x-axis xy view. This new view uses a new endpoint in the tsp introduced in: eclipse-cdt-cloud/trace-server-protocol#114 Signed-off-by: Siwei Zhang <siwei.zhang@ericsson.com>
Since commit d857eae where the vscode-messenger was introduced this feature has been broken. The request to update the selection range after submitting the new range from the Time Range Data view was not propagated to the trace viewer webview where the time axis and selection is updated. This PR fixes this. Note that this fix sends the selection range to the correct widget and handles the bigint values in the signal payload correctly. fixes #357 Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Update parsing of sampling to match tsp specification The tsp-typescript-client was modified to comply to tsp specification for sampling, update accordingly here. Account for new xRanges and xCategories for generic xy output component. Contributes to fix: eclipse-tracecompass-incubator/org.eclipse.tracecompass.incubator#236 Upgrade to tsp-typescript-client v0.9.0. Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com> Co-authored-by: Siwei Zhang <siwei.zhang@ericsson.com> Co-authored-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
Signed-off-by: Patrick Tasse <patrick.tasse@gmail.com>
- traceviewer-base@0.10.0 - traceviewer-react-components@0.10.0 - vscode-trace-common@0.7.0 - vscode-trace-extension@0.7.0 - vscode-trace-webviews@0.7.0
0a06689 to
e852157
Compare
and then new version is not on NPM yet. Add a config directory with package.json file that is copied to the root directory during CI. Disable tests because they require the packages to be on NPM. Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
e852157 to
6f5432a
Compare
marcdumais-work
approved these changes
Oct 23, 2025
Contributor
marcdumais-work
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What it does
Update recent changes from vscode trace extension.
How to test
Successful CI
Follow-ups
Make a local build work and enable tests again.
Review checklist