diff --git a/web/containers/Layout/TopBar/CommandSearch/index.tsx b/web/containers/Layout/TopBar/CommandSearch/index.tsx index d83feb22e..bea248a3c 100644 --- a/web/containers/Layout/TopBar/CommandSearch/index.tsx +++ b/web/containers/Layout/TopBar/CommandSearch/index.tsx @@ -10,7 +10,12 @@ import { CommandList, } from '@janhq/uikit' -import { MessageCircleIcon, SettingsIcon, LayoutGridIcon } from 'lucide-react' +import { + MessageCircleIcon, + SettingsIcon, + LayoutGridIcon, + MonitorIcon, +} from 'lucide-react' import ShortCut from '@/containers/Shortcut' @@ -35,6 +40,11 @@ export default function CommandSearch() { icon: , state: MainViewState.Hub, }, + { + name: 'System Monitor', + icon: , + state: MainViewState.SystemMonitor, + }, { name: 'Settings', icon: , diff --git a/web/screens/Settings/Advanced/index.tsx b/web/screens/Settings/Advanced/index.tsx index 41e903cc8..1a40b52c6 100644 --- a/web/screens/Settings/Advanced/index.tsx +++ b/web/screens/Settings/Advanced/index.tsx @@ -1,8 +1,20 @@ +/* eslint-disable react-hooks/exhaustive-deps */ 'use client' import { useContext, useEffect, useState } from 'react' -import { Switch, Button } from '@janhq/uikit' +import { + Switch, + Button, + Modal, + ModalContent, + ModalHeader, + ModalTitle, + ModalTrigger, + Badge, +} from '@janhq/uikit' + +import ShortCut from '@/containers/Shortcut' import { FeatureToggleContext } from '@/context/FeatureToggle' @@ -97,6 +109,136 @@ const Advanced = () => { )} +
+
+
+
+ Keyboard Shortcuts +
+
+

+ Shortcuts that you might find useful in Jan app. +

+
+ + + + + + + Keyboard Shortcuts + +
+
+
+
+
Combination
+
+
+
+
+
Description
+
+
+
+
+
+
+ +
+
+
+
+

Show list your models

+
+
+
+
+
+
+ +
+
+
+
+

Show list navigation pages

+
+
+
+
+
+
+ +
+
+
+
+

Navigate to setting page

+
+
+
+
+
+
+
+

Enter

+
+
+
+
+
+

Send a message

+
+
+
+
+
+
+
+

Shift + Enter

+
+
+
+
+
+

Insert new line in input box

+
+
+
+
+
+
+
+

Arrow Up

+
+
+
+
+
+

Navigate to previous option (within search dialog)

+
+
+
+
+
+
+
+

Arrow Down

+
+
+
+
+
+

Navigate to next option (within search dialog)

+
+
+
+
+
+
+
) } diff --git a/web/screens/Settings/index.tsx b/web/screens/Settings/index.tsx index 7c69acca4..7400b8ad3 100644 --- a/web/screens/Settings/index.tsx +++ b/web/screens/Settings/index.tsx @@ -156,8 +156,7 @@ const SettingsScreen = () => { > Models