diff --git a/app/(app)/create/utils/createFlowProportionProgress.ts b/app/(app)/create/utils/createFlowProportionProgress.ts index 7ae30c5..d1ef208 100644 --- a/app/(app)/create/utils/createFlowProportionProgress.ts +++ b/app/(app)/create/utils/createFlowProportionProgress.ts @@ -20,7 +20,7 @@ const PROPORTION_BY_STEP_INDEX: readonly ProportionBarState[] = [ "2-2", // membership-methods (Figma — Compact Card Stack `20858:13947`) "2-3", // decision-approaches (Figma Flow — Right Rail `20523:23509`) "3-0", // conflict-management (Figma Flow — Compact Card Stack `20879:15979`; start of Review segment) - "3-1", // confirm-stakeholders + "3-2", // confirm-stakeholders (same fill as final-review) "3-2", // final-review "3-2", // completed ] as const; diff --git a/tests/unit/createFlowProportionProgress.test.ts b/tests/unit/createFlowProportionProgress.test.ts index 2034f32..faf613a 100644 --- a/tests/unit/createFlowProportionProgress.test.ts +++ b/tests/unit/createFlowProportionProgress.test.ts @@ -51,6 +51,12 @@ describe("getProportionBarProgressForCreateFlowStep", () => { ).toBe("3-0"); }); + it("uses 3-2 on confirm-stakeholders (same fill as final-review)", () => { + expect( + getProportionBarProgressForCreateFlowStep("confirm-stakeholders"), + ).toBe("3-2"); + }); + it("uses 3-2 on edit-rule (same as final-review segment)", () => { expect(getProportionBarProgressForCreateFlowStep("edit-rule")).toBe("3-2"); });