theia-trace-extension
theia-trace-extension copied to clipboard
Resources Status filler row height too big
The Resources Status view of the Trace Compass server has a filler row between the CPUs to visually separate the CPUs. However, the filler row is drawn with the same height as a regular row which wastes vertical space and doesn't have a great UX.
To support this independently from the trace server and view, such filler rows need to be styled through the data provider TSP API.
Theia Trace Extension with Trace Compass server:

In Eclipse Trace Compass it looks like this:

There is no explicit identifier for the "filler rows", but they all come in with an empty string "" as their name. Filler rows can be identified height set through the Row Style Provider easily. But we can move forward by identifying filler rows either by:
- Identify "filler rows" by their empty string name "".
- Simple fix, can be contained to this repository.
- Add an explicit tag for "filter rows" on the back end.
- More complicated, but cleaner and less 'hacky'.
what about using height style in the model?
https://github.com/eclipse-cdt-cloud/trace-server-protocol/blob/569aac4cc29f899012b226b37c7b349bba6f78f3/API.yaml#L1721