Update keyboard shortcuts dialog to account for new actions

+ Clarify wording on expanding inline diffs.
+ Add shortcuts for expanding/collapsing all comments.

Change-Id: Ia63a02dbea7f8c97a10b74553d5edee5d8eb31e9
This commit is contained in:
Andrew Bonventre
2016-10-12 17:47:47 -07:00
parent 926d86d837
commit 81a43d7c53

View File

@@ -98,13 +98,6 @@ limitations under the License.
<td><span class="key">u</span></td> <td><span class="key">u</span></td>
<td>Up to change list</td> <td>Up to change list</td>
</tr> </tr>
<tr>
<td>
<span class="key modifier">Shift</span>
<span class="key">i</span>
</td>
<td>Show/hide inline diffs</td>
</tr>
</tbody> </tbody>
<!-- Diff View --> <!-- Diff View -->
<tbody hidden$="[[!_computeInView(view, 'gr-diff-view')]]" hidden> <tbody hidden$="[[!_computeInView(view, 'gr-diff-view')]]" hidden>
@@ -176,6 +169,13 @@ limitations under the License.
<td><span class="key">Enter</span> or <span class="key">o</span></td> <td><span class="key">Enter</span> or <span class="key">o</span></td>
<td>Show selected file</td> <td>Show selected file</td>
</tr> </tr>
<tr>
<td>
<span class="key modifier">Shift</span>
<span class="key">i</span>
</td>
<td>Show/hide all inline diffs</td>
</tr>
<tr> <tr>
<td><span class="key">i</span></td> <td><span class="key">i</span></td>
<td>Show/hide selected inline diff</td> <td>Show/hide selected inline diff</td>
@@ -213,6 +213,17 @@ limitations under the License.
</td> </td>
<td>Go to previous comment thread</td> <td>Go to previous comment thread</td>
</tr> </tr>
<tr>
<td><span class="key">e</span></td>
<td>Expand all comment threads</td>
</tr>
<tr>
<td>
<span class="key modifier">Shift</span>
<span class="key">e</span>
</td>
<td>Collapse all comment threads</td>
</tr>
<tr> <tr>
<td> <td>
<span class="key modifier">Shift</span> <span class="key modifier">Shift</span>
@@ -276,6 +287,17 @@ limitations under the License.
</td> </td>
<td>Show previous comment thread</td> <td>Show previous comment thread</td>
</tr> </tr>
<tr>
<td><span class="key">e</span></td>
<td>Expand all comment threads</td>
</tr>
<tr>
<td>
<span class="key modifier">Shift</span>
<span class="key">e</span>
</td>
<td>Collapse all comment threads</td>
</tr>
<tr> <tr>
<td> <td>
<span class="key modifier">Shift</span> <span class="key modifier">Shift</span>