From 017cbb5a7132e8039ffe4907efe9e814db09cb82 Mon Sep 17 00:00:00 2001 From: Anwarul Islam Date: Wed, 10 Aug 2022 17:51:43 +0600 Subject: [PATCH] feat: update keyboard shortcut to navigate to profile page (#2573) --- packages/hoppscotch-app/helpers/keybindings.ts | 1 + packages/hoppscotch-app/helpers/shortcuts.js | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/hoppscotch-app/helpers/keybindings.ts b/packages/hoppscotch-app/helpers/keybindings.ts index 5a3473b90..c636b1c81 100644 --- a/packages/hoppscotch-app/helpers/keybindings.ts +++ b/packages/hoppscotch-app/helpers/keybindings.ts @@ -56,6 +56,7 @@ export const bindings: { "alt-q": "navigation.jump.graphql", "alt-w": "navigation.jump.realtime", "alt-d": "navigation.jump.documentation", + "alt-m": "navigation.jump.profile", "alt-s": "navigation.jump.settings", } diff --git a/packages/hoppscotch-app/helpers/shortcuts.js b/packages/hoppscotch-app/helpers/shortcuts.js index f9398bf1c..f18f34a11 100644 --- a/packages/hoppscotch-app/helpers/shortcuts.js +++ b/packages/hoppscotch-app/helpers/shortcuts.js @@ -103,7 +103,7 @@ export default [ label: "shortcut.navigation.settings", }, { - keys: [getPlatformAlternateKey(), "P"], + keys: [getPlatformAlternateKey(), "M"], label: "shortcut.navigation.profile", }, ], @@ -171,7 +171,7 @@ export const spotlight = [ icon: "arrow-right", }, { - keys: [getPlatformAlternateKey(), "P"], + keys: [getPlatformAlternateKey(), "M"], label: "shortcut.navigation.profile", action: "navigation.jump.profile", icon: "arrow-right", @@ -267,7 +267,7 @@ export const fuse = [ tags: ["settings", "jump", "page", "navigation", "account", "theme", "go"], }, { - keys: [getPlatformAlternateKey(), "P"], + keys: [getPlatformAlternateKey(), "M"], label: "shortcut.navigation.profile", action: "navigation.jump.profile", icon: "arrow-right",