From c92bb2ed1fe203abd9f5cfa72d87056019b81de3 Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 3 Sep 2025 12:48:37 +0200 Subject: [PATCH] feat: enhance CommandPalette UI, add Main component, and update localization for better user experience --- app/components/chat/CommandPalette.vue | 35 +++++++++++++++++--------- app/components/chat/Main.vue | 18 +++++++++++++ app/error.vue | 4 +-- app/pages/index.vue | 12 ++------- locales/en.json | 5 ++-- locales/es.json | 5 ++-- locales/fr.json | 5 ++-- 7 files changed, 54 insertions(+), 30 deletions(-) create mode 100644 app/components/chat/Main.vue diff --git a/app/components/chat/CommandPalette.vue b/app/components/chat/CommandPalette.vue index e4d51e5..a2b48a0 100644 --- a/app/components/chat/CommandPalette.vue +++ b/app/components/chat/CommandPalette.vue @@ -60,7 +60,7 @@ const commandPaletteUi = { @@ -78,30 +78,41 @@ const commandPaletteUi = { close :ui="commandPaletteUi" :groups="messages" + :autofocus="false" + icon="i-ph-paper-plane-tilt-duotone" + :placeholder="t('palette.cmd.placeholder')" @update:model-value="onSelect" @update:open="openMessageModal = $event" > +