A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
web: add command to show keyboard shortcuts in command palette Signed-off-by: 01zulfi <[email protected]>
01zulfie4d42c8bacc8
diff --git a/apps/web/src/dialogs/command-palette/commands.ts b/apps/web/src/dialogs/command-palette/commands.tsindex 3bf215cd4..10ca9f42b 100644--- a/apps/web/src/dialogs/command-palette/commands.ts+++ b/apps/web/src/dialogs/command-palette/commands.ts@@ -50,6 +50,7 @@ import { notebookMenuItems } from "../../components/notebook";import { tagMenuItems } from "../../components/tag";import { useEditorManager } from "../../components/editor/manager";import Config from "../../utils/config";+import { KeyboardShortcutsDialog } from "../keyboard-shortcuts-dialog";export interface BaseCommand {id: string;@@ -181,6 +182,14 @@ const staticCommands: Command[] = [group: strings.navigate(),type: "command"},+ {+ id: "keyboard-shortcuts",+ title: "Keyboard shortcuts",+ icon: ArrowTopRight,+ action: () => KeyboardShortcutsDialog.show({}),+ group: strings.navigate(),+ type: "command"+ },{id: "attachment-manager",title: strings.attachmentManager(),