1 of 11

Dhruv Srivastava, Google

@dhruvsri

Cleaner Gerrit

2 of 11

Motivation

Prior feedback that Gerrit is clunky and hard-to-navigate.

Remove rarely used / unused features that take up valuable real estate and are always shown to the users.

3 of 11

Process

Find daily usage of feature.

Add tracking if necessary. Gerrit already tracks all button clicks currently.

Based on usage either remove the feature entirely, move it to a less prominent location or make it a user setting.

4 of 11

Patchset Description

Add patchset description was being shown for merged changes which was not allowed, so easy removal.

When patchset description was not set, the user was shown “No Patchset Description” which was completely unnecessary, hence that was removed as well.

The information was partially redundant as the description was being shown in the patchest dropdown menu already.

5 of 11

Usage

Based on the usage the decision was to remove the feature entirely.

Daily clicks on “Add Patchset Description” button

6 of 11

Included In

Included in button shows the tags and branches which contain the merged change.

7 of 11

Usage

Decision was to move it to the overflow menu on the top right.

8 of 11

Update Change

Update change dialog was added

as to help new users figure out which how to use Gerrit. A user unfamiliar with Gerrit would not understand they had to click this button to get the commands.

Overall usage was fairly low (< 100 clicks per day) and the dialog was removed from Gerrit.

9 of 11

Merged As

Few clicks on the copy sha button so decision was made to move it to the new Change Summary section

10 of 11

Wishlist

Change Starring

Allow user to configure the change page

11 of 11

Thanks! Questions?