-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Additional keyboard navigation support
* When a bulk action customization table checkbox is focused: * 'Enter' checks/unchecks the focused checkbox. * Up/Down arrow moves to the next checkbox. * Ctrl+Up/Down moves to the first/last checkbox. * Shift+Up/Down selects the currently focused checkbox and the newly focused checkbox. * 's' selects/deselects the currently focused checkbox row. * 'c' checks/unchecks the currently selected rows. * Shift+C checks/unchecks all rows. * When a non-movie/episode row is selected: * In addition to "main" rows being navigable with up/down arrows, arrows can now also navigate header rows (bulk actions, 'go back', section options). * Ctrl+Shift+Up/Down goes to the first/last navigable item. * If in a "main" row (show/season): * Ctrl+Up/Down goes to the first/last main row. * If the first main row is already focused, Ctrl+Up acts like Ctrl+Shift+Up. * If a non-main item is selected: * Ctrl+Up goes to the first non-main item available. * Ctrl+Down goes to the first main row. * When a movie/episode row is selected: * [Ctrl+]Left/Right shows/hides marker tables, as before. * Ctrl+Up/Down goes to the first/last main row, as before. * Ctrl+Shift+Up/Down goes to the first/last navigable item. * Up/Down goes to the next available navigable item, whether it's a marker table input, bulk action, or another movie/episode row. * Shift+Up/Down goes to the next row, regardless of visible marker tables. * Alt+Up/Down goes to the next visible marker table (if any). * When a marker table input is selected: * Left/Right goes to the next input in the row, if any. * Ctrl+Left/Right goes to the first/last input in the row. * Up/Down goes to the next marker row, or the next main row if we're at the top/bottom row of the marker table. * Ctrl+Up/Down goes to the first/last row of the marker table. * If a <select> is currently focused, moves to the next marker row. * Shift+Up/Down goes to the next marker table, if any. * Alt+Up/Down goes to the next main row, if any. * Ctrl+Alt+Shift+Up/Down goes to the first/last visible marker table. * For all of the above, ensure any required scrolling is smooth. * Standard tab/shift+tab navigation works, as before. Tangential changes: * For any non-standard attributes, ensure they follow the "data-XYZ" pattern, and make them constants for easy reference/refactoring. * Don't try to get sectionId "-1" when it's selected from the dropdown. * Set focus to the first main item after 'clicking here to load all items'.
- Loading branch information
Showing
24 changed files
with
1,343 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.