Skip to content

Commit 4664427

Browse files
authored
Add a sidebar action to create a share link (KittyCAD#6233)
1 parent d84b9cc commit 4664427

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/components/ModelingSidebar/ModelingSidebar.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ export function ModelingSidebar({ paneOpacity }: ModelingSidebarProps) {
7575
data: { name: 'Insert', groupId: 'code' },
7676
}),
7777
},
78+
{
79+
id: 'share-link',
80+
title: 'Create share link',
81+
sidebarName: 'Create share link',
82+
icon: 'link',
83+
keybinding: 'Mod + Alt + S',
84+
action: () =>
85+
commandBarActor.send({
86+
type: 'Find and select command',
87+
data: { name: 'share-file-link', groupId: 'code' },
88+
}),
89+
},
7890
{
7991
id: 'export',
8092
title: 'Export part',

0 commit comments

Comments
 (0)