2311 embed keyboard shortcuts (#2507)
* 2311-feat(front): AppHotKeyScope and CustomHotKeyScopes configured * 2311-feat(front): Groups and Items added * 2311-fix: pr requested changes --------- Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
@ -0,0 +1,39 @@
|
||||
import { Shortcut, ShortcutType } from '../types/Shortcut';
|
||||
|
||||
export const keyboardShortcutsTable: Shortcut[] = [
|
||||
{
|
||||
label: 'Move right',
|
||||
type: ShortcutType.Table,
|
||||
firstHotKey: '→',
|
||||
areSimultaneous: true,
|
||||
},
|
||||
{
|
||||
label: 'Move left',
|
||||
type: ShortcutType.Table,
|
||||
firstHotKey: '←',
|
||||
areSimultaneous: true,
|
||||
},
|
||||
{
|
||||
label: 'Clear selection',
|
||||
type: ShortcutType.Table,
|
||||
firstHotKey: 'esc',
|
||||
areSimultaneous: true,
|
||||
},
|
||||
];
|
||||
|
||||
export const keyboardShortcutsGeneral: Shortcut[] = [
|
||||
{
|
||||
label: 'Open search',
|
||||
type: ShortcutType.General,
|
||||
firstHotKey: '⌘',
|
||||
secondHotKey: 'K',
|
||||
areSimultaneous: false,
|
||||
},
|
||||
{
|
||||
label: 'Mark as favourite',
|
||||
type: ShortcutType.General,
|
||||
firstHotKey: '⇧',
|
||||
secondHotKey: 'F',
|
||||
areSimultaneous: false,
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user