Skip to content

Conversation

@bhufmann
Copy link
Contributor

@bhufmann bhufmann commented Apr 4, 2024

Note that code is hard-coded. A generic way is needed to configure
the menu and command-handler driven by the server.

Alternatively, this feature could be added in a third-party, trace
compass specific front-end extension(s) (i.e. Theia extension/Vscode
extension).

Requires: https://github.com/eclipse-cdt-cloud/tsp-typescript-client/pull/104​

Signed-off-by: Bernd Hufmann bernd.hufmann@ericsson.com

@bhufmann bhufmann marked this pull request as draft April 4, 2024 23:06
@bhufmann
Copy link
Contributor Author

bhufmann commented Apr 4, 2024

Just a thought. The time graph entry metadata for the thread status data provider has already the TID. It misses the hostId. Maybe, it's not necessary to retrieve the context if the host Id is provided as well.

We could the have only the menu definition (coming from the server, once implemented) indicate that these parameter are meant to be included query parameters for other data providers.

The only disadvantage is that the hostId is redundant and will increase the size of the data model return from fetchTree().

Note that code is hard-coded. A generic way is needed to configure
the menu and command-handler driven by the server.

Alternatively, this feature could be added in a third-party, trace
compass specific front-end extension(s) (i.e. Theia extension/Vscode
extension).

Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
@bhufmann
Copy link
Contributor Author

PoC only, not needed at the moment.

@bhufmann bhufmann closed this Oct 30, 2024
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.

1 participant