Daily Usage Issues

TeamCity Timeline incorrectly sized for the window

Started by applieddev on 2,508 views

the NCrunch Timeline is rendering with the wrong width applied to
<div id="container" style="width: 711px;">

this is causing several node test timelines to wrap beyond the timetrack
everytime we investigate we need to override the width style on #container
also, we would like to reduce the column padding so we can fit more node timelines on the page

Can we customise the generated Timeline.html in NCrunch?
Hi, thanks for sharing this.

Could I get a screenshot from you showing the issue? We designed the timeline around our own use case, which likely has some pretty different data to yours. I'd rather fix it so it looks good for everyone. You can submit a screenshot through the NCrunch contact form if the forum here makes it complicated.
Here's an example of it wrapping columns unnecessarily
this is due to width=711px; forced as an inline style on div#container
adding min-width=100%; rectifies the issue without any JS changes.

it would also be great to reduce the column padding-left from 18px down to 4px, so we can allow for more columns to show when we have more NCrunch machines running
setting font size:10px on the node name also allows for more columns when the name is wider than the number of parallel processes NCrunch runs on that machine

another suggestion would be for the page to scroll horizontally, so no mater how many node columns there are, they would align with the timeline column.
ideally with the timeline column fixed, so it is always visible when you scroll horizontally.


[img=https://i.ibb.co/1RNk0kX/screencapture-uk-prodbs01-8888-view-Log-html-2021-11-09-08-25-23-crop.png]NCrunch timeline[/img]
Excellent, thanks for sharing this.

Outside of writing your own tool to manipulate the report, I can't think of any immediate way to work around this issue. I'm tasking it up here to be addressed and we'll get onto it as soon as we're able to.
Thanks Remco,

I look forward any updates you can make
I'm looking in to this.

Would you be able to send the full report via the contact form?
michaelroes,

I have just submitted the Timeline.html via the contact form

was there anything else you needed?
Hi,

The report you send helped a lot. I've made the changes suggested by you and verified that they work on nodes that are running simultaneous tests. This will be released in the next version.

Thanks for the bug report and help in fixing this.

Post a reply

Log in to reply.