Add a sidebar action to create a share link (#6233)

This commit is contained in:
Frank Noirot
2025-04-09 20:27:22 -04:00
committed by GitHub
parent d84b9cc875
commit 4664427832

View File

@ -75,6 +75,18 @@ export function ModelingSidebar({ paneOpacity }: ModelingSidebarProps) {
data: { name: 'Insert', groupId: 'code' },
}),
},
{
id: 'share-link',
title: 'Create share link',
sidebarName: 'Create share link',
icon: 'link',
keybinding: 'Mod + Alt + S',
action: () =>
commandBarActor.send({
type: 'Find and select command',
data: { name: 'share-file-link', groupId: 'code' },
}),
},
{
id: 'export',
title: 'Export part',