Creating a new tab and adding the code review presentation

The code review presentation displays the code review status, summary, stream, reviewers, and change sets. So, for ease of access and usability it is a best practice to create a new tab for adding the code review presentation. You can add this tab to work items that are used to create code and deliver code to production such as tasks, defects, and enhancements. After you define the code review tab, you can reuse it for other work items.

Before you begin

If the code review presentation is added to the approvals tab, remove it before you proceed with the following steps.

Procedure

  1. On the Application Administration page of the web client, click the Project Areas tab.
  2. On the Active Project Areas page , click the project area that you want to configure.
  3. Click Work Items, then click Editor Presentations.
  4. Select an editor in the Choose the Editor Presentation to edit list.
  5. Left to the Details slot, where the existing tabs are listed, click add tab icon, the Add Tab icon.
  6. In the Add Tab window, enter the required fields, for example:
    • Title: Code Review
    • Layout: H Layout
    • Create Tab ID: Code Review
  7. Click OK.
    A new Code Review tab is added to the editor presentation.
  8. Select the Code Review tab and click add_section_icon Add Section.
  9. In the Add Section window, enter the required fields, for example:
    • Title: Code Review
    • Slot: Left
    • Create Section ID: Code Review
    1. Under Properties section, click Add.
    2. From the list of keys, select noHeader.
    3. From the list of values, select true and then click OK. Code Review section is added in the left slot of the Code Review tab.
  10. To add the Code Review Summary presentation to the Code Review section:
    1. In the Code Review section (Left Slot) that you created in Step 9, click Add Presentation icon.
      Note: You might see a warning that the Code Review tab is shared by other editor presentations. Any changes that you make to this tab are reflected in all work item types that have a code review tab.
    2. In the Add Presentation window, select Non-Attribute-based Presentation.
    3. From the list of Kind, select Code Review Summary.
      Properties section is displayed.
    4. Click Add. A row is added.
    5. From the list of keys, select labelVisible.
    6. From the list of values, select false and then, click OK.
      The Code Review Summary gets added in the Code Review section.
  11. Click Save to save your changes to the project area.
  12. Optional: To reuse the code review tab for other work items:
    1. In the Add Tab window (refer step 5), enter Code Review in the title and select the H Layout.
    2. Select the Reuse Existing Tab and then select the Code Review tab that you created earlier.