From 743b73d0af4f43077e64c4c02392df3712248490 Mon Sep 17 00:00:00 2001 From: Pranav Date: Wed, 21 May 2025 18:14:51 -0700 Subject: [PATCH] chore: Update Copilot UI in favor of the new design (#11544) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes avatar from the components. **Before:** Screenshot 2025-05-21 at 3 58 10 PM **After:** Screenshot 2025-05-21 at 3 57 29 PM --- .../copilot/CopilotAgentMessage.vue | 22 ++-------- .../copilot/CopilotAssistantMessage.vue | 43 ++++++++----------- 2 files changed, 21 insertions(+), 44 deletions(-) diff --git a/app/javascript/dashboard/components-next/copilot/CopilotAgentMessage.vue b/app/javascript/dashboard/components-next/copilot/CopilotAgentMessage.vue index ef8c2faf4..f1ad2afc1 100644 --- a/app/javascript/dashboard/components-next/copilot/CopilotAgentMessage.vue +++ b/app/javascript/dashboard/components-next/copilot/CopilotAgentMessage.vue @@ -1,31 +1,17 @@ diff --git a/app/javascript/dashboard/components-next/copilot/CopilotAssistantMessage.vue b/app/javascript/dashboard/components-next/copilot/CopilotAssistantMessage.vue index 1877e1630..0a37600bf 100644 --- a/app/javascript/dashboard/components-next/copilot/CopilotAssistantMessage.vue +++ b/app/javascript/dashboard/components-next/copilot/CopilotAssistantMessage.vue @@ -9,7 +9,6 @@ import { COPILOT_EVENTS } from 'dashboard/helper/AnalyticsHelper/events'; import MessageFormatter from 'shared/helpers/MessageFormatter.js'; import Button from 'dashboard/components-next/button/Button.vue'; -import Avatar from '../avatar/Avatar.vue'; const props = defineProps({ message: { @@ -46,33 +45,25 @@ const useCopilotResponse = () => {