mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(editor): Add Alt+Meta+O keyboard shortcut for the About modal (#18530)
This commit is contained in:
@@ -67,6 +67,7 @@ import {
|
||||
VIEWS,
|
||||
NDV_UI_OVERHAUL_EXPERIMENT,
|
||||
WORKFLOW_SETTINGS_MODAL_KEY,
|
||||
ABOUT_MODAL_KEY,
|
||||
} from '@/constants';
|
||||
import { useSourceControlStore } from '@/stores/sourceControl.store';
|
||||
import { useNodeCreatorStore } from '@/stores/nodeCreator.store';
|
||||
@@ -139,6 +140,7 @@ import CanvasChatButton from '@/components/canvas/elements/buttons/CanvasChatBut
|
||||
import { useFocusPanelStore } from '@/stores/focusPanel.store';
|
||||
import { useAITemplatesStarterCollectionStore } from '@/experiments/aiTemplatesStarterCollection/stores/aiTemplatesStarterCollection.store';
|
||||
import { useReadyToRunWorkflowsStore } from '@/experiments/readyToRunWorkflows/stores/readyToRunWorkflows.store';
|
||||
import { useKeybindings } from '@/composables/useKeybindings';
|
||||
|
||||
defineOptions({
|
||||
name: 'NodeView',
|
||||
@@ -254,6 +256,9 @@ const {
|
||||
const { extractWorkflow } = useWorkflowExtraction();
|
||||
const { applyExecutionData } = useExecutionDebugging();
|
||||
useClipboard({ onPaste: onClipboardPaste });
|
||||
useKeybindings({
|
||||
ctrl_alt_o: () => uiStore.openModal(ABOUT_MODAL_KEY),
|
||||
});
|
||||
|
||||
const isLoading = ref(true);
|
||||
const isBlankRedirect = ref(false);
|
||||
|
||||
Reference in New Issue
Block a user