diff options
Diffstat (limited to 'polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html')
-rw-r--r-- | polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html | 64 |
1 files changed, 53 insertions, 11 deletions
diff --git a/polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html b/polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html index 9a3a267111..03f0e53319 100644 --- a/polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html +++ b/polygerrit-ui/app/elements/core/gr-keyboard-shortcuts-dialog/gr-keyboard-shortcuts-dialog.html @@ -16,10 +16,11 @@ limitations under the License. <link rel="import" href="../../../bower_components/polymer/polymer.html"> <link rel="import" href="../../shared/gr-button/gr-button.html"> +<link rel="import" href="../../../styles/shared-styles.html"> <dom-module id="gr-keyboard-shortcuts-dialog"> <template> - <style> + <style include="shared-styles"> :host { display: block; } @@ -32,7 +33,7 @@ limitations under the License. } header { align-items: center; - border-bottom: 1px solid #ddd; + border-bottom: 1px solid #cdcdcd; display: flex; justify-content: space-between; } @@ -47,12 +48,12 @@ limitations under the License. text-align: right; } .header { - font-weight: bold; + font-family: var(--font-family-bold); padding-top: 1em; } .key { display: inline-block; - font-weight: bold; + font-family: var(--font-family-bold); border-radius: 3px; background-color: #f1f2f3; padding: .1em .5em; @@ -82,7 +83,7 @@ limitations under the License. </tr> </tbody> <!-- Change View --> - <tbody hidden$="[[!_computeInView(view, 'gr-change-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'change')]]" hidden> <tr> <td></td><td class="header">Navigation</td> </tr> @@ -100,7 +101,7 @@ limitations under the License. </tr> </tbody> <!-- Diff View --> - <tbody hidden$="[[!_computeInView(view, 'gr-diff-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'diff')]]" hidden> <tr> <td></td><td class="header">Navigation</td> </tr> @@ -135,7 +136,7 @@ limitations under the License. <table> <!-- Change List --> - <tbody hidden$="[[!_computeInView(view, 'gr-change-list-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'search')]]" hidden> <tr> <td></td><td class="header">Change list</td> </tr> @@ -162,9 +163,20 @@ limitations under the License. </td> <td>Show selected change</td> </tr> + <tr> + <td> + <span class="key modifier">Shift</span> + <span class="key">r</span> + </td> + <td>Refresh list of changes</td> + </tr> + <tr> + <td><span class="key">s</span></td> + <td>Star (or unstar) change</td> + </tr> </tbody> <!-- Dashboard --> - <tbody hidden$="[[!_computeInView(view, 'gr-dashboard-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'dashboard')]]" hidden> <tr> <td></td><td class="header">Dashboard</td> </tr> @@ -183,9 +195,20 @@ limitations under the License. </td> <td>Show selected change</td> </tr> + <tr> + <td> + <span class="key modifier">Shift</span> + <span class="key">r</span> + </td> + <td>Refresh list of changes</td> + </tr> + <tr> + <td><span class="key">s</span></td> + <td>Star (or unstar) change</td> + </tr> </tbody> <!-- Change View --> - <tbody hidden$="[[!_computeInView(view, 'gr-change-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'change')]]" hidden> <tr> <td></td><td class="header">Actions</td> </tr> @@ -205,6 +228,18 @@ limitations under the License. <td>Reload the change at the latest patch</td> </tr> <tr> + <td><span class="key">s</span></td> + <td>Star (or unstar) change</td> + </tr> + <tr> + <td><span class="key">x</span></td> + <td>Expand all messages</td> + </tr> + <tr> + <td><span class="key">z</span></td> + <td>Collapse all messages</td> + </tr> + <tr> <td></td><td class="header">File list</td> </tr> <tr> @@ -216,10 +251,17 @@ limitations under the License. <td>Select previous file</td> </tr> <tr> - <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> </tr> <tr> + <td><span class="key">r</span></td> + <td>Toggle review flag on selected file</td> + </tr> + <tr> <td> <span class="key modifier">Shift</span> <span class="key">i</span> @@ -303,7 +345,7 @@ limitations under the License. </tr> </tbody> <!-- Diff View --> - <tbody hidden$="[[!_computeInView(view, 'gr-diff-view')]]" hidden> + <tbody hidden$="[[!_computeInView(view, 'diff')]]" hidden> <tr> <td></td><td class="header">Actions</td> </tr> |