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:
@@ -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;
|
||||
|
||||
@@ -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");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user