Tab-based shortcuts on review request page fields.

Review Request #10929 — Created Feb. 29, 2020 and updated — Latest diff uploaded

Information

Review Board
master

Reviewers

This review request is for the 2nd part of "selecting review request
field" project. The goal of this project is to have tab-based keybaord
shortcuts on review request page fields. (e.g., hitting tab-d focuses
"Description" field).

This project is dependent on "Keyboard shortcut registry"

The project includes a ShortcutHelpDialog which dynamically renders
available keyboard shortcuts on each page as well as their descriptions.
A screenshot is attached below.

Press tab and h on review request page and the dialog is shown (the
shortcuts are displayed as well).

Press tab and d on review request page and Description field is
focused.

Press tab and h on dashboard page and the help dialog is shown.

All unit tests passed.

Diff Revision 5

This is not the most recent revision of the diff. The latest diff is revision 7. See what's changed.

orig
1
2
3
4
5
6
7

Commits

First Last Summary ID Author
Add a keyboard shortcut central registry for page views.
7c6dbaac53155d9254f8bbff944da5f06735c2d3 Jay
Remove one extra space.
94475ce07d634af284836ba6dc32e824b6992734 Jay
Add missing semicolon.
e1654205949a0b7914eecfd19b1651f78647213a Jay
Remove console.log and change some wording.
f563e3d5253e205ac1682954514aa70ff6e6c07b Jay
Use extend instead of overwriting.
14c32b571c03a585fdb7f7aae82a834ba51e3c85 Jay
Made keyBindings comments more clear.
566b35317b1314e0292fa75b09b07797cb9e78e4 Jay
[WIP] Tab-based shortcuts on review request page fields.
5b91e87c3b4380d2921afc88df96a093c654d149 Jay
Remove traling spaces.
c225288a74c8a0de0d8370bb397e0529ab973eaa Jay
[WIP] Tab-based shortcuts on review request page.
ebebb8f7bbfcb7a9aef57e7c080987ff273b2bd8 Jay
Dynamically render keyboard shortcuts on each page
8b1661ea6b1c4ca0ffc0e46c158c74cfd7dac21e Jay
Better styles on shortcur help dialog.
d545fc87bc29c4c94c4072219c03aeabbda0f058 Jay
Tab based shortcuts selecting fields & unit tests.
ba12dca4b8e547a61ebc47610bb228f4206982a5 Jay
reviewboard/staticbundles.py
reviewboard/static/rb/css/common.less
reviewboard/static/rb/js/pages/views/basePageView.es6.js
reviewboard/static/rb/js/pages/views/diffViewerPageView.es6.js
reviewboard/static/rb/js/reviewRequestPage/views/reviewRequestPageView.es6.js
reviewboard/static/rb/js/ui/views/shortcutHelpDialogView.es6.js
reviewboard/static/rb/js/ui/views/tests/shortcutHelpDialogViewTests.es6.js
reviewboard/static/rb/js/utils/keyBindingUtils.es6.js
reviewboard/static/rb/js/views/reviewRequestFieldViews.es6.js
Loading...