From 393bb9c842345100e68071eedcd378fbaf35058a Mon Sep 17 00:00:00 2001 From: Suraj Jha Date: Tue, 19 Aug 2025 00:04:43 +0545 Subject: [PATCH] update: add thinking badge before outline stream --- .../outline/components/OutlineContent.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/servers/nextjs/app/(presentation-generator)/outline/components/OutlineContent.tsx b/servers/nextjs/app/(presentation-generator)/outline/components/OutlineContent.tsx index ed150d01..6f2043ad 100644 --- a/servers/nextjs/app/(presentation-generator)/outline/components/OutlineContent.tsx +++ b/servers/nextjs/app/(presentation-generator)/outline/components/OutlineContent.tsx @@ -15,7 +15,7 @@ import { } from "@dnd-kit/sortable"; import { OutlineItem } from "./OutlineItem"; import { Button } from "@/components/ui/button"; -import { FileText } from "lucide-react"; +import { FileText, Loader2 } from "lucide-react"; import { usePathname } from "next/navigation"; import { trackEvent, MixpanelEvent } from "@/utils/mixpanel"; @@ -45,6 +45,14 @@ const OutlineContent: React.FC = ({ return (
+ {isLoading && (!outlines || outlines.length === 0) && ( +
+ + + Thinking + +
+ )} {/*
Presentation Outline