Skip to content

armgit / jan

Public Imported from GitHub
0

Jan is an open source alternative to ChatGPT that runs 100% offline on your computer.

chore: update shortcut

Faisal Amir1d11e0ae1d2a
diff --git a/web-app/src/components/left-sidebar/NavMain.tsx b/web-app/src/components/left-sidebar/NavMain.tsx
index 12de39de0..e72612a29 100644
--- a/web-app/src/components/left-sidebar/NavMain.tsx
+++ b/web-app/src/components/left-sidebar/NavMain.tsx
@@ -92,7 +92,7 @@ const getNavMainItems = (
<Kbd className="bg-transparent size-3">
<PlatformMetaKey />
</Kbd>
- <Kbd className="bg-transparent size-3">F</Kbd>
+ <Kbd className="bg-transparent size-3">M</Kbd>
</KbdGroup>
),
},
@@ -105,7 +105,7 @@ const getNavMainItems = (
<Kbd className="bg-transparent size-3">
<PlatformMetaKey />
</Kbd>
- <Kbd className="bg-transparent size-3">P</Kbd>
+ <Kbd className="bg-transparent size-3">L</Kbd>
</KbdGroup>
),
},
diff --git a/web-app/src/lib/shortcuts/const.ts b/web-app/src/lib/shortcuts/const.ts
index b52f20abd..baae58b3d 100644
--- a/web-app/src/lib/shortcuts/const.ts
+++ b/web-app/src/lib/shortcuts/const.ts
@@ -20,7 +20,7 @@ export const PlatformShortcuts: ShortcutMap = {
[ShortcutAction.NEW_CHAT]: { key: 'n', usePlatformMetaKey: true },
// New agent chat - opens home screen with agent mode pre-enabled
- [ShortcutAction.NEW_AGENT_CHAT]: { key: 'f', usePlatformMetaKey: true },
+ [ShortcutAction.NEW_AGENT_CHAT]: { key: 'm', usePlatformMetaKey: true },
// New project - opens create project dialog
[ShortcutAction.NEW_PROJECT]: { key: 'p', usePlatformMetaKey: true },