From 95781452bdf2680d8ac55b0c8b2edbf779b22f81 Mon Sep 17 00:00:00 2001 From: adilallo <39313955+adilallo@users.noreply.github.com> Date: Wed, 26 Aug 2026 13:18:33 -0600 Subject: [PATCH] Fill the stakeholders step progress bar to 3-2 so it matches final-review while that step stays before review. Co-authored-by: Cursor --- app/(app)/create/utils/createFlowProportionProgress.ts | 2 +- tests/unit/createFlowProportionProgress.test.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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"); });