diff --git a/.story_kit/work/2_current/65_story_standardised_script_test_entry_point_for_all_projects.md b/.story_kit/work/2_current/65_story_standardised_script_test_entry_point_for_all_projects.md index 24dd69a..1480b7b 100644 --- a/.story_kit/work/2_current/65_story_standardised_script_test_entry_point_for_all_projects.md +++ b/.story_kit/work/2_current/65_story_standardised_script_test_entry_point_for_all_projects.md @@ -1,6 +1,6 @@ --- name: Standardised script/test Entry Point for All Projects -test_plan: pending +test_plan: approved --- # Story 65: Standardised script/test Entry Point for All Projects diff --git a/frontend/src/api/client.ts b/frontend/src/api/client.ts index 0524571..06782e3 100644 --- a/frontend/src/api/client.ts +++ b/frontend/src/api/client.ts @@ -26,7 +26,13 @@ export type WsResponse = | { type: "update"; messages: Message[] } | { type: "session_id"; session_id: string } | { type: "error"; message: string } - | { type: "pipeline_state"; upcoming: PipelineStageItem[]; current: PipelineStageItem[]; qa: PipelineStageItem[]; merge: PipelineStageItem[] }; + | { + type: "pipeline_state"; + upcoming: PipelineStageItem[]; + current: PipelineStageItem[]; + qa: PipelineStageItem[]; + merge: PipelineStageItem[]; + }; export interface ProviderConfig { provider: string; @@ -280,7 +286,13 @@ export class ChatWebSocket { if (data.type === "update") this.onUpdate?.(data.messages); if (data.type === "session_id") this.onSessionId?.(data.session_id); if (data.type === "error") this.onError?.(data.message); - if (data.type === "pipeline_state") this.onPipelineState?.({ upcoming: data.upcoming, current: data.current, qa: data.qa, merge: data.merge }); + if (data.type === "pipeline_state") + this.onPipelineState?.({ + upcoming: data.upcoming, + current: data.current, + qa: data.qa, + merge: data.merge, + }); } catch (err) { this.onError?.(String(err)); } diff --git a/frontend/src/components/AgentPanel.tsx b/frontend/src/components/AgentPanel.tsx index 700324d..6ca3ce3 100644 --- a/frontend/src/components/AgentPanel.tsx +++ b/frontend/src/components/AgentPanel.tsx @@ -588,9 +588,7 @@ export function AgentPanel() { fontSize: "0.8em", padding: "0 4px", transform: - expandedKey === key - ? "rotate(90deg)" - : "rotate(0deg)", + expandedKey === key ? "rotate(90deg)" : "rotate(0deg)", transition: "transform 0.15s", }} > @@ -618,9 +616,7 @@ export function AgentPanel() { {(a.status === "running" || a.status === "pending") && (