v2-ui #93

Merged
Vishnu merged 7 commits from v2-ui into main 2025-05-22 03:17:46 +00:00
1 changed files with 20 additions and 2 deletions
Showing only changes of commit 369fad07e2 - Show all commits

View File

@ -30,7 +30,7 @@ import {
DuplicateInstanceIcon,
PlayIcon,
} from "../icons/ShortcutIcons";
import { CloseIcon } from "../icons/ExportCommonIcons";
import { CloseIcon, EyeCloseIcon } from "../icons/ExportCommonIcons";
interface ShortcutItem {
keys: string[];
@ -52,6 +52,7 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
setShowShortcuts,
}) => {
const shortcuts: ShortcutGroup[] = [
// Essential
{
category: "Essential",
items: [
@ -86,13 +87,20 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
icon: <FindIcon />,
},
{
keys: ["CTRL", "+", "?"],
keys: ["CTRL", "+", "SHIFT", "+", "?"],
name: "Info",
description: "Show Shortcut Info",
icon: <InfoIcon />,
},
{
keys: ["L"],
name: "Log",
description: "Show Log list",
icon: <InfoIcon />,
},
],
},
// Tools
{
category: "Tools",
items: [
@ -158,6 +166,7 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
},
],
},
// View & Navigation
{
category: "View & Navigation",
items: [
@ -193,6 +202,7 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
},
],
},
// Module Switching
{
category: "Module Switching",
items: [
@ -222,6 +232,7 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
},
],
},
// Selection
{
category: "Selection",
items: [
@ -251,6 +262,7 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
},
],
},
// Simulation
{
category: "Simulation",
items: [
@ -260,6 +272,12 @@ const ShortcutHelper: React.FC<ShortcutHelperProps> = ({
description: "Play Simulation",
icon: <PlayIcon />,
},
{
keys: ["H"],
name: "Hide Player",
description: "Hide Simulation Player",
icon: <EyeCloseIcon />,
},
],
},
];