The following data sources are currently in use:
{deletedViewsWithUsage.map((view) => (
{getDisplayNameForDataSource(view.dataSource)}{" "}
-
+
(used by {view.usage.count} assistant
{view.usage.count > 1 ? "s" : ""})
diff --git a/front/pages/404.tsx b/front/pages/404.tsx
index 29c988a1fed8..e02f550d80fa 100644
--- a/front/pages/404.tsx
+++ b/front/pages/404.tsx
@@ -16,13 +16,13 @@ export default function Custom404() {
-
+
☕️
-
+
404: Page not found
-
+
Looks like this page took an unscheduled coffee break.
{currentURL && (
diff --git a/sparkle/src/components/AnimatedText.tsx b/sparkle/src/components/AnimatedText.tsx
index de5c8363b4c4..1dee400c6682 100644
--- a/sparkle/src/components/AnimatedText.tsx
+++ b/sparkle/src/components/AnimatedText.tsx
@@ -49,7 +49,7 @@ const animatedTextVariants: Record = {
highlight: "s-text-highlight",
emerald: "s-text-emerald-800",
amber: "s-text-amber-800",
- slate: "s-text-slate-600",
+ slate: "s-text-muted-foreground",
purple: "s-text-purple-800-800",
warning: "s-text-warning-800",
sky: "s-text-sky-800",
diff --git a/sparkle/src/components/Chip.tsx b/sparkle/src/components/Chip.tsx
index 8da67debcf9a..af5e3f6f99b7 100644
--- a/sparkle/src/components/Chip.tsx
+++ b/sparkle/src/components/Chip.tsx
@@ -52,7 +52,7 @@ const backgroundVariants: Record = {
const textVariants: Record = {
emerald: "s-text-emerald-900",
amber: "s-text-amber-900",
- slate: "s-text-slate-900",
+ slate: "s-text-foreground",
purple: "s-text-purple-900",
warning: "s-text-warning-900",
sky: "s-text-sky-900",
From a21a3d124a40d7ed9ddb1cae29806ad848b2a047 Mon Sep 17 00:00:00 2001
From: Edouard Wautier <4435185+Duncid@users.noreply.github.com>
Date: Wed, 18 Dec 2024 12:30:24 +0100
Subject: [PATCH 10/19] Assistant Selector
---
front/components/DataSourceViewDocumentModal.tsx | 2 +-
front/components/actions/ActionDetailsWrapper.tsx | 2 +-
front/components/assistant/AssistantDetails.tsx | 4 ++--
.../assistant/conversation/AgentSuggestion.tsx | 1 +
.../conversation/input_bar/editor/MentionList.tsx | 2 +-
front/components/assistant_builder/ActionsScreen.tsx | 6 +++---
.../AssistantBuilderDustAppModal.tsx | 2 +-
.../assistant_builder/AssistantTemplateModal.tsx | 2 +-
.../assistant_builder/DataSourceSelectionSection.tsx | 2 +-
.../assistant_builder/SlackIntegration.tsx | 2 +-
.../assistant_builder/actions/ProcessAction.tsx | 6 +++---
.../assistant_builder/actions/RetrievalAction.tsx | 2 +-
.../assistant_builder/spaces/SpaceSelector.tsx | 2 +-
front/components/home/LandingLayout.tsx | 2 +-
front/components/members/EditInvitationModal.tsx | 2 +-
front/components/members/InvitationModal.tsx | 2 +-
front/components/members/InvitationsList.tsx | 2 +-
front/components/workspace/Analytics.tsx | 12 ++++++------
front/components/workspace/ChangeMemberModal.tsx | 4 ++--
.../components/workspace/ProviderManagementModal.tsx | 2 +-
front/pages/no-workspace.tsx | 2 +-
sparkle/src/components/Breadcrumbs.tsx | 2 +-
sparkle/src/components/Collapsible.tsx | 4 ++--
sparkle/src/components/ContextItem.tsx | 2 +-
sparkle/src/components/ConversationMessageHeader.tsx | 2 +-
sparkle/src/components/IconButton.tsx | 2 +-
sparkle/src/components/IconToggleButton.tsx | 4 ++--
sparkle/src/components/Page.tsx | 6 +++---
sparkle/src/components/Popup.tsx | 2 +-
sparkle/src/components/SearchInput.tsx | 2 +-
sparkle/src/components/Tree.tsx | 2 +-
sparkle/src/components/markdown/Markdown.tsx | 2 +-
32 files changed, 47 insertions(+), 46 deletions(-)
diff --git a/front/components/DataSourceViewDocumentModal.tsx b/front/components/DataSourceViewDocumentModal.tsx
index 8d2e16339530..6554c40b9a32 100644
--- a/front/components/DataSourceViewDocumentModal.tsx
+++ b/front/components/DataSourceViewDocumentModal.tsx
@@ -69,7 +69,7 @@ export default function DataSourceViewDocumentModal({
)}
{!isDocumentLoading && document && (
<>
-
+
Content of the document:
diff --git a/front/components/actions/ActionDetailsWrapper.tsx b/front/components/actions/ActionDetailsWrapper.tsx
index f8a2f0e38f9f..b817027b0a18 100644
--- a/front/components/actions/ActionDetailsWrapper.tsx
+++ b/front/components/actions/ActionDetailsWrapper.tsx
@@ -19,7 +19,7 @@ export function ActionDetailsWrapper({
-
+
{actionName}
diff --git a/front/components/assistant/AssistantDetails.tsx b/front/components/assistant/AssistantDetails.tsx
index b853a294cf53..e3341e652e20 100644
--- a/front/components/assistant/AssistantDetails.tsx
+++ b/front/components/assistant/AssistantDetails.tsx
@@ -66,7 +66,7 @@ export function AssistantDetails({
20 ? "text-md" : "text-lg"
)}
>{`@${agentConfiguration.name}`}
@@ -100,7 +100,7 @@ export function AssistantDetails({
)}
-
+
{agentConfiguration.description}
handleSelectSuggestion(agent)}
+ variant="secondary"
action={
showAssistantDetails(agent)}
diff --git a/front/components/assistant/conversation/input_bar/editor/MentionList.tsx b/front/components/assistant/conversation/input_bar/editor/MentionList.tsx
index 30da5d7826ef..9879b81a2eac 100644
--- a/front/components/assistant/conversation/input_bar/editor/MentionList.tsx
+++ b/front/components/assistant/conversation/input_bar/editor/MentionList.tsx
@@ -110,7 +110,7 @@ export const MentionList = forwardRef(function MentionList(