diff --git a/web/src/components/SessionList.tsx b/web/src/components/SessionList.tsx
index 115cc266e..09dc0aaa9 100644
--- a/web/src/components/SessionList.tsx
+++ b/web/src/components/SessionList.tsx
@@ -472,6 +472,56 @@ function SessionItem(props: {
)
}
+function ProjectGroupItem(props: {
+ group: SessionGroup
+ isCollapsed: boolean
+ onToggle: () => void
+ onSelect: (sessionId: string) => void
+ api: ApiClient | null
+ selectedSessionId?: string | null
+}) {
+ const { group, isCollapsed, onToggle, onSelect, api, selectedSessionId } = props
+ return (
+
+
+
+
+
+
+
+
+
+ {group.sessions.map((s) => (
+
+ ))}
+
+
+
+
+ )
+}
+
export function SessionList(props: {
sessions: SessionSummary[]
onSelect: (sessionId: string) => void
@@ -492,6 +542,20 @@ export function SessionList(props: {
const [collapseOverrides, setCollapseOverrides] = useState