{"action":"created","issue":{"url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/165","labels_url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/165/comments","events_url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/165/events","html_url":"https://github.com/jan-molak/jenkins-build-monitor-plugin/issues/165","id":99394991,"number":165,"title":"Automatic font size and column count adjustment?","user":{"login":"davidparsson","id":325325,"avatar_url":"https://avatars.githubusercontent.com/u/325325?v=3","gravatar_id":"","url":"https://api.github.com/users/davidparsson","html_url":"https://github.com/davidparsson","followers_url":"https://api.github.com/users/davidparsson/followers","following_url":"https://api.github.com/users/davidparsson/following{/other_user}","gists_url":"https://api.github.com/users/davidparsson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidparsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidparsson/subscriptions","organizations_url":"https://api.github.com/users/davidparsson/orgs","repos_url":"https://api.github.com/users/davidparsson/repos","events_url":"https://api.github.com/users/davidparsson/events{/privacy}","received_events_url":"https://api.github.com/users/davidparsson/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/labels/backlog","name":"backlog","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-06T09:26:46Z","updated_at":"2015-08-23T23:16:12Z","closed_at":null,"body":"We have our view filters configured so that the number of jobs displayed varies a lot. When all builds are stable we show all of our roughly 30 builds, but if for example one build fails we only show that build. Since we display our build status on wall mounted TVs, when something fails we want the information on the broken builds to be as easily seen, with fewer columns and bigger text.\r\n\r\nHave you considered allowing the font size and column count to be automatically calculated from the number of jobs displayed?\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25432254-automatic-font-size-and-column-count-adjustment?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).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/comments/133955818","html_url":"https://github.com/jan-molak/jenkins-build-monitor-plugin/issues/165#issuecomment-133955818","issue_url":"https://api.github.com/repos/jan-molak/jenkins-build-monitor-plugin/issues/165","id":133955818,"user":{"login":"davidparsson","id":325325,"avatar_url":"https://avatars.githubusercontent.com/u/325325?v=3","gravatar_id":"","url":"https://api.github.com/users/davidparsson","html_url":"https://github.com/davidparsson","followers_url":"https://api.github.com/users/davidparsson/followers","following_url":"https://api.github.com/users/davidparsson/following{/other_user}","gists_url":"https://api.github.com/users/davidparsson/gists{/gist_id}","starred_url":"https://api.github.com/users/davidparsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidparsson/subscriptions","organizations_url":"https://api.github.com/users/davidparsson/orgs","repos_url":"https://api.github.com/users/davidparsson/repos","events_url":"https://api.github.com/users/davidparsson/events{/privacy}","received_events_url":"https://api.github.com/users/davidparsson/received_events","type":"User","site_admin":false},"created_at":"2015-08-23T23:16:12Z","updated_at":"2015-08-23T23:16:12Z","body":"@jan-molak, I've looked into something like fittext for this before, and while it did a good job making all job names visible, it also made a quite messy impression since it gave every job a different font size. It may still be the best option around, but I don't think it's perfect.\r\n\r\nAnother option might be to somehow calculate the font size based on the number of jobs visible, and allow users to relatively increase or decrease the calculated font size using configuration.\r\n\r\nIf the text can be readable when wrapped to two lines, I'd prefer that instead of trimming it and displaying an ellipsis.\r\n\r\nWhen it comes to column count, I like the idea of allowing users to configure a desired ratio between the number of rows and columns, or possibly a desired aspect ratio for the jobs."}}