diff --git a/src/components/thread/agent-inbox/index.tsx b/src/components/thread/agent-inbox/index.tsx
index b9340dc..141bba1 100644
--- a/src/components/thread/agent-inbox/index.tsx
+++ b/src/components/thread/agent-inbox/index.tsx
@@ -1,7 +1,6 @@
import { StateView } from "./components/state-view";
import { ThreadActionsView } from "./components/thread-actions-view";
import { useState } from "react";
-import { cn } from "@/lib/utils";
import { HumanInterrupt } from "@langchain/langgraph/prebuilt";
import { useStreamContext } from "@/providers/Stream";
@@ -11,7 +10,7 @@ interface ThreadViewProps {
export function ThreadView({ interrupt }: ThreadViewProps) {
const thread = useStreamContext();
- const [showDescription, setShowDescription] = useState(true);
+ const [showDescription, setShowDescription] = useState(false);
const [showState, setShowState] = useState(false);
const showSidePanel = showDescription || showState;
@@ -36,33 +35,22 @@ export function ThreadView({ interrupt }: ThreadViewProps) {
};
return (
-
-
-
-
-
+
+ {showSidePanel ? (
-
+ ) : (
+
+ )}
);
}
diff --git a/tailwind.config.js b/tailwind.config.js
index 2a0e74d..3e9748d 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -13,6 +13,10 @@ module.exports = {
md: "calc(var(--radius) - 2px)",
sm: "calc(var(--radius) - 4px)",
},
+ components: {
+ ".scrollbar-pretty":
+ "overflow-y-scroll [&::-webkit-scrollbar]:w-1.5 [&::-webkit-scrollbar-thumb]:rounded-full [&::-webkit-scrollbar-thumb]:bg-gray-300 [&::-webkit-scrollbar-track]:bg-transparent",
+ },
colors: {
background: "hsl(var(--background))",
foreground: "hsl(var(--foreground))",