Finishing agent merge

This commit is contained in:
Dave
2026-02-19 18:05:21 +00:00
parent c94b3d4450
commit 8c2dc9b6a0
8 changed files with 186 additions and 29 deletions

View File

@@ -65,7 +65,12 @@ export function Chat({ projectPath, onCloseProject }: ChatProps) {
const [isCollectingCoverage, setIsCollectingCoverage] = useState(false);
const [coverageError, setCoverageError] = useState<string | null>(null);
const [storyTodos, setStoryTodos] = useState<
{ storyId: string; storyName: string | null; items: string[] }[]
{
storyId: string;
storyName: string | null;
items: string[];
error: string | null;
}[]
>([]);
const [todoError, setTodoError] = useState<string | null>(null);
const [isTodoLoading, setIsTodoLoading] = useState(false);
@@ -284,6 +289,7 @@ export function Chat({ projectPath, onCloseProject }: ChatProps) {
storyId: s.story_id,
storyName: s.story_name,
items: s.todos,
error: s.error ?? null,
})),
);
setLastTodoRefresh(new Date());
@@ -319,6 +325,7 @@ export function Chat({ projectPath, onCloseProject }: ChatProps) {
storyId: s.story_id,
storyName: s.story_name,
items: s.todos,
error: s.error ?? null,
})),
);
setLastTodoRefresh(new Date());