feat: AI workflow builder front-end (no-changelog) (#14820)

Co-authored-by: Giulio Andreini <g.andreini@gmail.com>
This commit is contained in:
oleg
2025-04-28 15:38:32 +02:00
committed by GitHub
parent dbffcdc2ff
commit 97055d5714
56 changed files with 3857 additions and 1067 deletions

View File

@@ -10,7 +10,7 @@ const { t } = useI18n();
const hovering = ref(false);
const props = defineProps<{ unreadCount?: number }>();
const props = defineProps<{ unreadCount?: number; type?: 'assistant' | 'builder' }>();
const emit = defineEmits<{
click: [e: MouseEvent];
@@ -40,7 +40,13 @@ function onMouseLeave() {
<AssistantIcon v-else size="large" :theme="hovering ? 'blank' : 'default'" />
<div v-show="hovering" :class="$style.text">
<div>
<AssistantText :text="t('askAssistantButton.askAssistant')" />
<AssistantText
:text="
type === 'builder'
? t('assistantChat.builder.name')
: t('askAssistantButton.askAssistant')
"
/>
</div>
<div>
<BetaTag />