官术网_书友最值得收藏!

Configuring Dashboards in Team Project

The Team Portal home page was traditionally used to pin charts, Work Item counts, and build status tiles to provide an at-a-glance view of the project to the Team members and stakeholders. The approach did not work well because the home page had hard-coded tiles that you were forced to have on the page. In addition, the page did not support grouping of the tiles or adding commentary to complement the visuals in the tiles. In TFS 2015 Update 1, the home page has been replaced by a new feature called Dashboards. The new feature comes with a library of widgets that can be used to create multiple Dashboards for your Team. In this recipe, you'll learn how to create a Dashboard using the widget catalog.

Getting ready

For permissions, you need to be a Team Administrator to create Dashboards. Only Team Administrators can create, customize, and move around widgets on a Dashboard. You don't need any special permissions to view the Dashboards. All Team members that have access to the Team Portal can view and interact with Dashboards.

The Team Portal home page has been replaced by the Overview Dashboard. All existing tiles from the home page have been migrated over into the Overview Dashboard. To see the Overview Dashboard, navigate to the FabrikamTFVC Team Portal by browsing to http://tfs2015:8080/tfs/DefaultCollection/FabrikamTFVC/_dashboards.

How to do it…

  1. In the FabrikamTFVC Team Portal, click on the + icon to create a new Dashboard. Name the Dashboard Team Updates:
  2. From the bottom-right of the page, click on the big green circle to launch the Dashboard widget gallery. From the widget gallery, add the code tile:
  3. Once the tile is added to the Dashboard, click on the tile to configure it. Set the name as All Code Changes and set the code path to $/FabrikamTFVC. The tile will show the count of code changes under the source path $/FabrikamTFVC from the last 7 days. To commit the configuration changes, and click on Save:
  4. Next, add the Query tile widget from the widget gallery. Select the Blocked Tasks query to map the query results to be displayed in the tile. Configure the background color to red if the count is greater than or equal to 1:

    Format the background color of the tile based on the count of Work Items returned by the Work Item query

  5. Add the Markdown widget. The widget is capable of render markdown; the tile can be scaled to different sizes. Choose the 3 x 2 size and add some commentary as indicated in the following screenshot:
  6. The gallery has other widgets such as Work Item Query Results, New Work Item, Team Rooms, Sprint Capacity, Burndown, and other links; these can also be added to the Dashboard. There are no widgets for charts. Charts can be added from the charts view in the work hub, and this is covered in detail in the Creating charts using Work Item Queries recipe in Chapter 3, Planning and Tracking Work.

How it works…

Dashboards provide a great way to create information radiators for sharing information internally with Team members and externally with stakeholders. Widgets are rendered as tiles in the Dashboard, the tiles use the TFS REST API to retrieve information from TFS. The information is loaded into the tiles using the template provided by the widget. The tiles can be moved around on the Dashboard and scaled to different sizes. The tiles support interactivity, for example clicking the Query tile would take you straight into the Work Item Query window. The tiles don't support cross-tile interaction yet. While it's possible to create multiple Dashboards, it is currently not possible to apply permissions for access to individual Dashboards. It is expected that in the long term more widgets will be added to the widget gallery and the API's will be made available to extend and create new widgets.

主站蜘蛛池模板: 光泽县| 长武县| 枣强县| 石棉县| 北宁市| 江津市| 紫阳县| 和顺县| 晋中市| 合川市| 新昌县| 南京市| 新丰县| 师宗县| 海晏县| 防城港市| 富阳市| 德清县| 包头市| 文昌市| 泸溪县| 闵行区| 湘西| 新郑市| 松原市| 沿河| 集贤县| 赤壁市| 潼南县| 嘉义县| 碌曲县| 新津县| 工布江达县| 寿宁县| 永顺县| 铁力市| 上杭县| 酉阳| 磐石市| 曲松县| 固阳县|