Skip to content

Commit 4f705d7

Browse files
committed
fix(sidebar): change new workflow shortcut from Mod+Shift+W to Mod+Shift+P to avoid browser close-window conflict
1 parent 577ead5 commit 4f705d7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/sim/app/workspace/[workspaceId]/utils/commands-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ export const COMMAND_DEFINITIONS: Record<CommandId, CommandDefinition> = {
5656
},
5757
'add-workflow': {
5858
id: 'add-workflow',
59-
shortcut: 'Mod+Shift+W',
59+
shortcut: 'Mod+Shift+P',
6060
allowInEditable: false,
6161
},
6262
'add-task': {

apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1529,7 +1529,7 @@ export const Sidebar = memo(function Sidebar() {
15291529
{isCreatingWorkflow ? (
15301530
<p>Creating workflow...</p>
15311531
) : (
1532-
<Tooltip.Shortcut keys={isMac ? '⌘⇧W' : 'Ctrl+Shift+W'}>
1532+
<Tooltip.Shortcut keys={isMac ? '⌘⇧P' : 'Ctrl+Shift+P'}>
15331533
New workflow
15341534
</Tooltip.Shortcut>
15351535
)}

0 commit comments

Comments
 (0)