From 543dd1476d4efc0b98958397b82bdf1c98b30d57 Mon Sep 17 00:00:00 2001 From: Pranav Date: Mon, 12 May 2025 16:02:35 -0700 Subject: [PATCH] Update the UI --- .../components-next/copilot/Copilot.vue | 26 +++--------- .../copilot/CopilotAgentMessage.vue | 20 +++------ .../copilot/CopilotAssistantMessage.vue | 11 +---- .../components-next/copilot/CopilotHeader.vue | 41 +++++++++++++++++++ .../components-next/copilot/CopilotInput.vue | 9 ++-- .../copilot/CopilotThinkingGroup.vue | 28 ++++++++++--- .../components-next/sidebar/Sidebar.vue | 2 +- .../copilot/CopilotThinkingBlock.vue | 25 +++++++---- .../i18n/locale/en/integrations.json | 2 +- 9 files changed, 99 insertions(+), 65 deletions(-) create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotHeader.vue diff --git a/app/javascript/dashboard/components-next/copilot/Copilot.vue b/app/javascript/dashboard/components-next/copilot/Copilot.vue index 1308dae8d..b5a0fb8a7 100644 --- a/app/javascript/dashboard/components-next/copilot/Copilot.vue +++ b/app/javascript/dashboard/components-next/copilot/Copilot.vue @@ -9,7 +9,7 @@ import CopilotAgentMessage from './CopilotAgentMessage.vue'; import CopilotAssistantMessage from './CopilotAssistantMessage.vue'; import CopilotThinkingGroup from './CopilotThinkingGroup.vue'; import ToggleCopilotAssistant from './ToggleCopilotAssistant.vue'; -import Button from '../button/Button.vue'; +import CopilotHeader from './CopilotHeader.vue'; import CopilotEmptyState from './CopilotEmptyState.vue'; const props = defineProps({ @@ -93,25 +93,11 @@ watch(