From fe0b4ea3d2ac634494a89c366362cac4268fb674 Mon Sep 17 00:00:00 2001 From: Paulo Castellano Date: Wed, 17 Jun 2026 20:12:25 -0300 Subject: [PATCH] refactor(ai-templates): single full-size style card look in both wizard and automation node --- .../js/components/ai/ContentStylePicker.vue | 70 ++++--------------- .../automations/config/GenerateNodeConfig.vue | 2 +- 2 files changed, 15 insertions(+), 57 deletions(-) diff --git a/resources/js/components/ai/ContentStylePicker.vue b/resources/js/components/ai/ContentStylePicker.vue index e4752b90..bcb2d497 100644 --- a/resources/js/components/ai/ContentStylePicker.vue +++ b/resources/js/components/ai/ContentStylePicker.vue @@ -8,13 +8,10 @@ interface StyleOption { description?: string; } -const props = withDefaults(defineProps<{ +const props = defineProps<{ modelValue: string; styles: StyleOption[]; - compact?: boolean; -}>(), { - compact: false, -}); +}>(); const emit = defineEmits<{ 'update:modelValue': [string]; @@ -26,64 +23,25 @@ const select = (key: string) => { diff --git a/resources/js/components/automations/config/GenerateNodeConfig.vue b/resources/js/components/automations/config/GenerateNodeConfig.vue index 94dfd977..1e3505bb 100644 --- a/resources/js/components/automations/config/GenerateNodeConfig.vue +++ b/resources/js/components/automations/config/GenerateNodeConfig.vue @@ -305,7 +305,7 @@ const channels = computed(() =>
- +