From 8857b5385408d01c73f9268dd6fc74bc975f817f Mon Sep 17 00:00:00 2001 From: Arthur DANJOU Date: Wed, 3 Sep 2025 17:58:56 +0200 Subject: [PATCH] feat: update UI configurations and enhance skills data structure for improved functionality --- app/app.config.ts | 2 +- app/components/chat/CommandPalette.vue | 4 +++- app/components/tool/Skills.vue | 9 +++++---- content.config.ts | 4 ++-- content/skills.json | 2 +- locales/en.json | 1 + locales/es.json | 3 ++- locales/fr.json | 3 ++- types/chat.ts | 10 ++++++++-- 9 files changed, 25 insertions(+), 13 deletions(-) diff --git a/app/app.config.ts b/app/app.config.ts index 87d98b2..6524026 100644 --- a/app/app.config.ts +++ b/app/app.config.ts @@ -1,7 +1,7 @@ export default defineAppConfig({ ui: { container: { - base: 'max-w-4xl', + base: 'max-w-3xl', }, colors: { primary: 'neutral', diff --git a/app/components/chat/CommandPalette.vue b/app/components/chat/CommandPalette.vue index 586020a..4e25934 100644 --- a/app/components/chat/CommandPalette.vue +++ b/app/components/chat/CommandPalette.vue @@ -36,6 +36,8 @@ const { dark, toggleDark } = useTheme() defineShortcuts({ meta_enter: () => openMessageModal.value = !openMessageModal.value, + enter: () => openMessageModal.value = !openMessageModal.value, + meta_k: () => openMessageModal.value = !openMessageModal.value, meta_d: () => openClearModal.value = !openClearModal.value, l: () => changeLocale(currentLocale.value!.code === 'en' ? 'fr' : currentLocale.value!.code === 'fr' ? 'es' : 'en'), t: () => toggleDark({ clientX: window.innerWidth, clientY: 0 }), @@ -55,7 +57,7 @@ const commandPaletteUi = {