New edit-rule page created

This commit is contained in:
adilallo committed 2026-04-29 16:05:37 -06:00
1 parent ac1157a172
commit 3a9727bceb
25 files changed
+875 -52

No files matched your search

@@ -34,6 +34,9 @@ if (PROPORTION_BY_STEP_INDEX.length !== FLOW_STEP_ORDER.length) {
export function getProportionBarProgressForCreateFlowStep(
step: CreateFlowStep | null | undefined,
): ProportionBarState {
if (step === "edit-rule") {
return "3-2";
}
const idx = getStepIndex(step);
if (idx < 0) return "1-0";
return PROPORTION_BY_STEP_INDEX[idx] ?? "1-0";