From 1602b071db8079909cb04c13c279959ff6fbe6ac Mon Sep 17 00:00:00 2001 From: Pranav Date: Tue, 20 May 2025 21:35:29 -0700 Subject: [PATCH] feat: Add components to show steps in the copilot thinking process (#11530) This PR adds the components for new Copilot UI - Added a Header component - Added a thinking block. - Update the outline on copilot input --------- Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com> --- .../copilot/CopilotHeader.story.vue | 21 +++++++ .../components-next/copilot/CopilotHeader.vue | 32 ++++++++++ .../components-next/copilot/CopilotInput.vue | 9 +-- .../copilot/CopilotThinkingBlock.vue | 25 ++++++++ .../copilot/CopilotThinkingGroup.story.vue | 34 +++++++++++ .../copilot/CopilotThinkingGroup.vue | 61 +++++++++++++++++++ .../i18n/locale/en/integrations.json | 2 + 7 files changed, 178 insertions(+), 6 deletions(-) create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotHeader.story.vue create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotHeader.vue create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotThinkingBlock.vue create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotThinkingGroup.story.vue create mode 100644 app/javascript/dashboard/components-next/copilot/CopilotThinkingGroup.vue diff --git a/app/javascript/dashboard/components-next/copilot/CopilotHeader.story.vue b/app/javascript/dashboard/components-next/copilot/CopilotHeader.story.vue new file mode 100644 index 000000000..78a345093 --- /dev/null +++ b/app/javascript/dashboard/components-next/copilot/CopilotHeader.story.vue @@ -0,0 +1,21 @@ + + + diff --git a/app/javascript/dashboard/components-next/copilot/CopilotHeader.vue b/app/javascript/dashboard/components-next/copilot/CopilotHeader.vue new file mode 100644 index 000000000..c7a8696f3 --- /dev/null +++ b/app/javascript/dashboard/components-next/copilot/CopilotHeader.vue @@ -0,0 +1,32 @@ + + + diff --git a/app/javascript/dashboard/components-next/copilot/CopilotInput.vue b/app/javascript/dashboard/components-next/copilot/CopilotInput.vue index bf14945b5..c8f1a0056 100644 --- a/app/javascript/dashboard/components-next/copilot/CopilotInput.vue +++ b/app/javascript/dashboard/components-next/copilot/CopilotInput.vue @@ -13,19 +13,16 @@ const sendMessage = () => {