story-kit: merge 287_story_rename_upcoming_pipeline_stage_to_backlog

This commit is contained in:
Dave
2026-03-18 14:31:12 +00:00
parent 967ebd7a84
commit df6f792214
26 changed files with 250 additions and 228 deletions

View File

@@ -262,7 +262,7 @@ describe("ChatWebSocket", () => {
// Server pushes pipeline_state on fresh connection
const freshState = {
upcoming: [{ story_id: "1_story_test", name: "Test", error: null }],
backlog: [{ story_id: "1_story_test", name: "Test", error: null }],
current: [],
qa: [],
merge: [],

View File

@@ -36,7 +36,7 @@ export interface PipelineStageItem {
}
export interface PipelineState {
upcoming: PipelineStageItem[];
backlog: PipelineStageItem[];
current: PipelineStageItem[];
qa: PipelineStageItem[];
merge: PipelineStageItem[];
@@ -50,7 +50,7 @@ export type WsResponse =
| { type: "error"; message: string }
| {
type: "pipeline_state";
upcoming: PipelineStageItem[];
backlog: PipelineStageItem[];
current: PipelineStageItem[];
qa: PipelineStageItem[];
merge: PipelineStageItem[];
@@ -398,7 +398,7 @@ export class ChatWebSocket {
if (data.type === "error") this.onError?.(data.message);
if (data.type === "pipeline_state")
this.onPipelineState?.({
upcoming: data.upcoming,
backlog: data.backlog,
current: data.current,
qa: data.qa,
merge: data.merge,