mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-21 15:36:18 -05:00
Adding videos page hotkeys to help play and navigate videos. Adding f hotkey for all local search fields (channel/domain/etc). Focusing when opening cookie modals.
This commit is contained in:
parent
21c96d9501
commit
ad0d93714a
8 changed files with 166 additions and 14 deletions
|
|
@ -24,6 +24,16 @@ export const SHORTCUTS = [
|
|||
{keys: 'g f', description: 'Go to Files', category: 'Navigation', path: '/files'},
|
||||
{keys: 'g s', description: 'Go to Settings', category: 'Navigation', path: '/admin'},
|
||||
{keys: 'g i', description: 'Go to Inventory', category: 'Navigation', path: '/inventory'},
|
||||
|
||||
// Page Search
|
||||
{keys: 'f', description: 'Focus search input', category: 'Page Search'},
|
||||
|
||||
// Video Player
|
||||
{keys: 'k', description: 'Play/pause video', category: 'Video Player'},
|
||||
{keys: 'j', description: 'Jump back 15 seconds', category: 'Video Player'},
|
||||
{keys: 'l', description: 'Jump forward 30 seconds', category: 'Video Player'},
|
||||
{keys: 'n', description: 'Navigate to newer video', category: 'Video Player'},
|
||||
{keys: 'p', description: 'Navigate to older video', category: 'Video Player'},
|
||||
];
|
||||
|
||||
function SearchModal({open, onClose}) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue