feat(editor): Create call to action tooltip for trying the new canvas (no-changelog) (#11230)

This commit is contained in:
Alex Grozav
2024-10-21 14:06:24 +03:00
committed by GitHub
parent 3c93ec88cd
commit ba2827e7bb
7 changed files with 113 additions and 38 deletions

View File

@@ -117,6 +117,9 @@ defineExpose({ open, close });
<span :class="$style.label">
{{ item.label }}
</span>
<span v-if="item.badge">
<N8nBadge theme="primary" size="xsmall">{{ item.badge }}</N8nBadge>
</span>
<N8nKeyboardShortcut
v-if="item.shortcut"
v-bind="item.shortcut"

View File

@@ -3,6 +3,7 @@ import type { KeyboardShortcut } from 'n8n-design-system/types/keyboardshortcut'
export interface ActionDropdownItem {
id: string;
label: string;
badge?: string;
icon?: string;
divided?: boolean;
disabled?: boolean;