Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

TeamCity Timeline incorrectly sized for the window
applieddev
#1 Posted : Monday, November 8, 2021 5:30:27 PM(UTC)
Rank: Member

Groups: Registered
Joined: 11/13/2019(UTC)
Posts: 19
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
the NCrunch Timeline is rendering with the wrong width applied to
Quote:
<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?
Remco
#2 Posted : Monday, November 8, 2021 11:02:27 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
applieddev
#3 Posted : Tuesday, November 9, 2021 10:13:57 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/13/2019(UTC)
Posts: 19
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
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.


NCrunch timeline
Remco
#4 Posted : Tuesday, November 9, 2021 10:49:27 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
applieddev
#5 Posted : Friday, November 12, 2021 9:17:31 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/13/2019(UTC)
Posts: 19
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
Thanks Remco,

I look forward any updates you can make
michaelkroes
#6 Posted : Thursday, November 18, 2021 9:05:44 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
I'm looking in to this.

Would you be able to send the full report via the contact form?
applieddev
#7 Posted : Thursday, November 18, 2021 11:55:15 AM(UTC)
Rank: Member

Groups: Registered
Joined: 11/13/2019(UTC)
Posts: 19
Location: United Kingdom

Was thanked: 1 time(s) in 1 post(s)
michaelroes,

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

was there anything else you needed?
michaelkroes
#8 Posted : Saturday, November 20, 2021 9:13:54 AM(UTC)
Rank: NCrunch Developer

Groups: Registered
Joined: 9/22/2017(UTC)
Posts: 306
Location: Netherlands

Thanks: 138 times
Was thanked: 73 time(s) in 69 post(s)
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.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.042 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download