feat: session sharing frontend #76

Merged
chihlasm merged 14 commits from feat/session-sharing-frontend into main 2026-02-15 04:08:17 +00:00
3 changed files with 3 additions and 3 deletions
Showing only changes of commit 86542c6410 - Show all commits

View File

@@ -80,7 +80,7 @@ export function SharedSessionTreePreview({
<h3 className="text-sm font-semibold text-white">Tree Structure</h3>
</div>
<div className="max-h-[600px] overflow-y-auto py-2">
<TreeNode node={treeStructure} depth={0} pathTaken={pathTaken} />
<TreeNode node={treeStructure as unknown as Record<string, unknown>} depth={0} pathTaken={pathTaken} />
</div>
</div>
)

View File

@@ -232,7 +232,7 @@ export function SharedSessionPage() {
<div className="lg:col-span-2">
<SessionTimeline
decisions={data.decisions}
treeType={data.tree_structure?.tree_type}
treeType={data.tree_structure?.tree_type as string | undefined}
startedAt={data.started_at}
completedAt={data.completed_at}
showCopyButtons={false}

View File

@@ -156,7 +156,7 @@ export interface SharedSessionView {
session_id: string
tree_name: string
tree_description: string | null
tree_structure: TreeStructure
tree_structure: TreeStructure & Record<string, unknown>
path_taken: string[]
decisions: DecisionRecord[]
custom_steps: CustomStep[]