How to get all projects on a dashboard in multiple columns?

半腔热情 提交于 2019-12-14 03:14:35

问题


We have a TV displaying our Sonar stats for all our projects, but now that we have 20+ projects, and it doesn't all fit in the screen. We would like our dashboard to look like this (so all the projects fit on one screen):

+----------+----------+  +----------+----------+
|   Name   | Coverage |  |   Name   | Coverage |
+----------+----------+  +----------+----------+
| Project1 |       45 |  | Project5 |       18 |
| Project2 |       15 |  | Project6 |       22 |
| Project3 |       45 |  | Project7 |       45 |
| Project4 |       15 |  | Project8 |       22 |
+----------+----------+  +----------+----------+

Is this possible? Right now we are using the widget "Measure Filter as List", so that we don't have to hard-code the project names into a widget. As new projects get added to Sonar, we don't have to manually add them to any dashboard... they should automatically get added.

Thanks!


回答1:


This is currently not possible. But you can implement your own widget that displays the list of project using a "fluid" layout in order to meet your needs.

See our sample plugin to learn how to write your own plugin that adds a widget in SonarQube.



来源:https://stackoverflow.com/questions/18852310/how-to-get-all-projects-on-a-dashboard-in-multiple-columns

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!