diff --git a/front/components/actions/browse/BrowseActionDetails.tsx b/front/components/actions/browse/BrowseActionDetails.tsx index 076ad29b9f70d..5864fe7c72621 100644 --- a/front/components/actions/browse/BrowseActionDetails.tsx +++ b/front/components/actions/browse/BrowseActionDetails.tsx @@ -34,7 +34,11 @@ export function BrowseActionDetails({ {r.responseCode === "200" ? ( - + diff --git a/front/components/actions/tables_query/TablesQueryActionDetails.tsx b/front/components/actions/tables_query/TablesQueryActionDetails.tsx index 3e793b221f33e..a57fff54abade 100644 --- a/front/components/actions/tables_query/TablesQueryActionDetails.tsx +++ b/front/components/actions/tables_query/TablesQueryActionDetails.tsx @@ -1,8 +1,10 @@ import { Citation, + CitationIcons, CitationTitle, Collapsible, ContentMessage, + Icon, InformationCircleIcon, TableIcon, useSendNotification, @@ -144,7 +146,10 @@ function QueryTablesResults({
Results
- + + + + {title}
diff --git a/front/components/assistant/AssistantBrowser.tsx b/front/components/assistant/AssistantBrowser.tsx index d49e918422b6b..cbbeb77e90953 100644 --- a/front/components/assistant/AssistantBrowser.tsx +++ b/front/components/assistant/AssistantBrowser.tsx @@ -1,10 +1,10 @@ import { - AssistantPreview, + AssistantCard, + AssistantCardMore, Button, CompanyIcon, LockIcon, MagnifyingGlassIcon, - MoreIcon, PlusIcon, RobotIcon, RocketIcon, @@ -203,19 +203,15 @@ export function AssistantBrowser({ {viewTab && (
{agentsByTab[viewTab].map((agent) => ( - handleAssistantClick(agent)} - actionElement={ -
) : ( -
+ {topAgents.map((agent, id) => ( - handleSelectSuggestion(agent)} - onActionClick={() => showAssistantDetails(agent)} + action={ + showAssistantDetails(agent)} + /> + } /> ))} -
+ )}
diff --git a/front/components/assistant/conversation/input_bar/InputBarCitations.tsx b/front/components/assistant/conversation/input_bar/InputBarCitations.tsx index d96f21cbb6889..d5807caa71d83 100644 --- a/front/components/assistant/conversation/input_bar/InputBarCitations.tsx +++ b/front/components/assistant/conversation/input_bar/InputBarCitations.tsx @@ -27,7 +27,7 @@ export function InputBarCitations({ <> {isImage ? ( @@ -59,7 +59,7 @@ export function InputBarCitations({ } return ( -
+
{processContentFragments()}
); diff --git a/front/components/assistant_builder/TemplateGrid.tsx b/front/components/assistant_builder/TemplateGrid.tsx index 0668fcc924dcd..e4d058e11e69d 100644 --- a/front/components/assistant_builder/TemplateGrid.tsx +++ b/front/components/assistant_builder/TemplateGrid.tsx @@ -1,4 +1,4 @@ -import { AssistantPreview } from "@dust-tt/sparkle"; +import { AssistantCard, CardGrid } from "@dust-tt/sparkle"; import type { AssistantTemplateListType } from "@app/pages/api/w/[wId]/assistant/builder/templates"; @@ -15,17 +15,16 @@ export function TemplateGrid({ return null; } return ( -
+ {templates.map((t) => ( - openTemplateModal(t.sId)} /> ))} -
+ ); } diff --git a/front/pages/poke/templates/[tId].tsx b/front/pages/poke/templates/[tId].tsx index 302eb1e437686..e24bf3fa1d7d8 100644 --- a/front/pages/poke/templates/[tId].tsx +++ b/front/pages/poke/templates/[tId].tsx @@ -1,5 +1,5 @@ import { - AssistantPreview, + AssistantCard, ColorPicker, DropdownMenu, DropdownMenuContent, @@ -436,7 +436,7 @@ function PreviewDialog({ form }: { form: any }) { Preview -