Fill the stakeholders step progress bar to 3-2 so it matches final-review while that step stays before review.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
adilallo
2026-08-26 13:18:33 -06:00
co-authored by Cursor
parent bdda522971
commit 95781452bd
2 changed files with 7 additions and 1 deletions
@@ -20,7 +20,7 @@ const PROPORTION_BY_STEP_INDEX: readonly ProportionBarState[] = [
"2-2", // membership-methods (Figma — Compact Card Stack `20858:13947`) "2-2", // membership-methods (Figma — Compact Card Stack `20858:13947`)
"2-3", // decision-approaches (Figma Flow — Right Rail `20523:23509`) "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-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", // final-review
"3-2", // completed "3-2", // completed
] as const; ] as const;
@@ -51,6 +51,12 @@ describe("getProportionBarProgressForCreateFlowStep", () => {
).toBe("3-0"); ).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)", () => { it("uses 3-2 on edit-rule (same as final-review segment)", () => {
expect(getProportionBarProgressForCreateFlowStep("edit-rule")).toBe("3-2"); expect(getProportionBarProgressForCreateFlowStep("edit-rule")).toBe("3-2");
}); });