From d5000e9252ceb574dea9467160445e2ba1cc3d1c Mon Sep 17 00:00:00 2001 From: Jules Belveze <32683010+JulesBelveze@users.noreply.github.com> Date: Fri, 25 Oct 2024 12:11:05 +0200 Subject: [PATCH] [front] - fix: `Tree` action button variant (#8235) * [front] - fix: change button variant style from ghost to outline - Updated IconButton variant property from 'ghost' to 'outline' for consistency across components - Applied changes in `ContentNodeTree.tsx`, `AssistantActionsSection.tsx`, and `DataSourceSelectionSection.tsx` files * [front] - feature: update @dust-tt/sparkle to version 0.2.278 - Ensures integration with the latest @dust-tt/sparkle features and fixes - Improves dependency management with an updated package-lock.json file --------- Co-authored-by: Jules --- front/components/ContentNodeTree.tsx | 2 +- .../assistant/details/AssistantActionsSection.tsx | 2 +- .../assistant_builder/DataSourceSelectionSection.tsx | 2 +- front/package-lock.json | 8 ++++---- front/package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/front/components/ContentNodeTree.tsx b/front/components/ContentNodeTree.tsx index 1060ae31ad42..fd4406ba5492 100644 --- a/front/components/ContentNodeTree.tsx +++ b/front/components/ContentNodeTree.tsx @@ -227,7 +227,7 @@ function ContentNodeTreeChildren({ n.sourceUrl ? "" : "pointer-events-none opacity-0" )} disabled={!n.sourceUrl} - variant="ghost" + variant="outline" /> {onDocumentViewClick && ( } diff --git a/front/components/assistant_builder/DataSourceSelectionSection.tsx b/front/components/assistant_builder/DataSourceSelectionSection.tsx index fa52a2d12184..3eabc1ca0eda 100644 --- a/front/components/assistant_builder/DataSourceSelectionSection.tsx +++ b/front/components/assistant_builder/DataSourceSelectionSection.tsx @@ -142,7 +142,7 @@ export default function DataSourceSelectionSection({ : "pointer-events-none opacity-0" )} disabled={!node.sourceUrl} - variant="ghost" + variant="outline" />