jenkinsci / build-monitor-plugin

Jenkins Build Monitor Plugin
https://plugins.jenkins.io/build-monitor-plugin/
MIT License
727 stars 279 forks source link

Automatic column count #191

Open davidparsson opened 8 years ago

davidparsson commented 8 years ago

It would be nice if the column count could be automatically decided based on the number of displayed jobs, similar to the automatic font size adjustment introduced in #165. The number of columns should be able to change when the number of jobs changes.

I think the configuration should be modified to somehow control a desired ratio between the number of rows and columns instead of just the number of columns. I also think a ratio of three rows per column would be a sane default.

Example: If the row/column ratio is set to 3:1, the layout should contain three times more rows than columns. In this case a view with:

@jan-molak, 👍/👎?

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29698358-automatic-column-count?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F580790&utm_medium=issues&utm_source=github).
mustafau commented 8 years ago

There is a trick to this. Edit cookies manually and set numberOfColumns to 9.

With this hack Build Monitor can fit my 320 jobs on a single screen.

mustafau commented 8 years ago

build-monitor-auto

yveshanoulle commented 8 years ago

wow, so many read builds.

for how many teams is this board?

y

2016-03-10 13:48 GMT+01:00 Mustafa Ulu notifications@github.com:

[image: build-monitor-auto] https://cloud.githubusercontent.com/assets/881222/13669892/2888f94e-e6cf-11e5-988a-b9c84871b5b7.jpg

— Reply to this email directly or view it on GitHub https://github.com/jan-molak/jenkins-build-monitor-plugin/issues/191#issuecomment-194828602 .

2015 was a productive year:

Community events that need your help:

mustafau commented 8 years ago

This is a new Jenkins installation and hence the red builds. Displaying every project the company has.

yveshanoulle commented 8 years ago

Hi Mustafa,

that does not answer my question. How many teams are we talking about?

y

2016-03-10 14:41 GMT+01:00 Mustafa Ulu notifications@github.com:

This is a new Jenkins installation and hence the red builds. Displaying every project the company has.

— Reply to this email directly or view it on GitHub https://github.com/jan-molak/jenkins-build-monitor-plugin/issues/191#issuecomment-194842973 .

2015 was a productive year:

Community events that need your help:

mustafau commented 8 years ago

Hi,

There are 5 teams.