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:
Kanav Arora
2023-11-22 04:06:23 +05:30
committed by GitHub
parent a67199e0c3
commit ff42526a09
15 changed files with 337 additions and 2 deletions

View File

@ -7,7 +7,11 @@ export const InitializeHotkeyStorybookHookEffect = () => {
const setHotkeyScope = useSetHotkeyScope();
useEffect(() => {
setHotkeyScope(AppHotkeyScope.App, { commandMenu: true, goto: false });
setHotkeyScope(AppHotkeyScope.App, {
commandMenu: true,
goto: false,
keyboardShortcutMenu: true,
});
}, [setHotkeyScope]);
return <></>;