Standardize create-flow option steps on one question-and-options layout and Selection sizes.
Method cards, chips, and the right rail now share the two-column shell; last options clear the footer fade, See all stays under the stack, and the left heading no longer jumps when the list expands. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2fc7fbf818
commit
24a9615c0c
26 files changed
+354
-245
No files matched your search
@@ -1,5 +1,8 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { CREATE_FLOW_SCREEN_REGISTRY } from "../../app/(app)/create/utils/createFlowScreenRegistry";
|
||||
import {
|
||||
CREATE_FLOW_SCREEN_REGISTRY,
|
||||
createFlowStepUsesCardLayout,
|
||||
} from "../../app/(app)/create/utils/createFlowScreenRegistry";
|
||||
import { VALID_STEPS } from "../../app/(app)/create/utils/flowSteps";
|
||||
|
||||
describe("create flow registry vs valid steps (CR-92 §3)", () => {
|
||||
@@ -10,4 +13,11 @@ describe("create flow registry vs valid steps (CR-92 §3)", () => {
|
||||
}
|
||||
expect(keys.size).toBe(VALID_STEPS.length);
|
||||
});
|
||||
|
||||
it("keeps Figma card-kind ids on the method-card steps", () => {
|
||||
expect(createFlowStepUsesCardLayout("communication-methods")).toBe(true);
|
||||
expect(createFlowStepUsesCardLayout("membership-methods")).toBe(true);
|
||||
expect(createFlowStepUsesCardLayout("conflict-management")).toBe(true);
|
||||
expect(createFlowStepUsesCardLayout("decision-approaches")).toBe(false);
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user