feat: enhance shortcut helper with new shortcuts and icons for better navigation
This commit is contained in:
parent
33499c66af
commit
369fad07e2
|
@ -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 />,
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue