From 670640b5664aa8105ce4e1a226d910763073e195 Mon Sep 17 00:00:00 2001 From: Thomas Draier Date: Wed, 8 Jan 2025 16:21:57 +0100 Subject: [PATCH] Add feedback section --- front/components/assistant/AssistantDetails.tsx | 6 ++++++ .../assistant_builder/AssistantBuilderPreviewDrawer.tsx | 2 +- ...ilderPreviewDrawerFeedbacks.tsx => FeedbacksSection.tsx} | 0 3 files changed, 7 insertions(+), 1 deletion(-) rename front/components/assistant_builder/{AssistantBuilderPreviewDrawerFeedbacks.tsx => FeedbacksSection.tsx} (100%) diff --git a/front/components/assistant/AssistantDetails.tsx b/front/components/assistant/AssistantDetails.tsx index 3cc4e996df88..898d47e04a65 100644 --- a/front/components/assistant/AssistantDetails.tsx +++ b/front/components/assistant/AssistantDetails.tsx @@ -37,6 +37,7 @@ import { AssistantDetailsButtonBar } from "@app/components/assistant/AssistantDe import { AssistantActionsSection } from "@app/components/assistant/details/AssistantActionsSection"; import { AssistantUsageSection } from "@app/components/assistant/details/AssistantUsageSection"; import { ReadOnlyTextArea } from "@app/components/assistant/ReadOnlyTextArea"; +import { FeedbacksSection } from "@app/components/assistant_builder/FeedbacksSection"; import { SharingDropdown } from "@app/components/assistant_builder/Sharing"; import { useAgentAnalytics, @@ -243,6 +244,11 @@ function AssistantDetailsPerformance({ + + ); } diff --git a/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx b/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx index 614b62524b59..cd873401870d 100644 --- a/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx +++ b/front/components/assistant_builder/AssistantBuilderPreviewDrawer.tsx @@ -29,7 +29,7 @@ import { useContext, useEffect } from "react"; import ConversationViewer from "@app/components/assistant/conversation/ConversationViewer"; import { GenerationContextProvider } from "@app/components/assistant/conversation/GenerationContextProvider"; import { AssistantInputBar } from "@app/components/assistant/conversation/input_bar/InputBar"; -import { FeedbacksSection } from "@app/components/assistant_builder/AssistantBuilderPreviewDrawerFeedbacks"; +import { FeedbacksSection } from "@app/components/assistant_builder/FeedbacksSection"; import { usePreviewAssistant, useTryAssistantCore, diff --git a/front/components/assistant_builder/AssistantBuilderPreviewDrawerFeedbacks.tsx b/front/components/assistant_builder/FeedbacksSection.tsx similarity index 100% rename from front/components/assistant_builder/AssistantBuilderPreviewDrawerFeedbacks.tsx rename to front/components/assistant_builder/FeedbacksSection.tsx