|
38 | 38 | * is working. `object-kanban` has two such rows: inline `data`, and lanes |
39 | 39 | * that carry their own `cards`. `object-form` and `view:form` have two |
40 | 40 | * kinds: inline `customFields`, and, for each sectioned `formType` |
41 | | - * (`tabbed`, `wizard`, `split`, `drawer`, `modal`), sections whose every |
42 | | - * field is inline. |
| 41 | + * (`tabbed`, `wizard`, `drawer`, `modal`), sections whose every field is |
| 42 | + * inline. `split` left the block's `formType` with ADR-0050 (#27159). |
43 | 43 | */ |
44 | 44 |
|
45 | 45 | import { describe, it, expect } from 'vitest'; |
@@ -175,8 +175,12 @@ async function mount(schema: Record<string, unknown>) { |
175 | 175 | */ |
176 | 176 | const INLINE_SECTIONS = [{ label: 'Contact', fields: [{ name: 'email', label: 'Email address', type: 'text' }] }]; |
177 | 177 |
|
178 | | -/** The `formType`s `ObjectForm` dispatches to a sectioned renderer of its own. */ |
179 | | -const SECTIONED_VARIANTS = ['tabbed', 'wizard', 'split', 'drawer', 'modal'] as const; |
| 178 | +/** |
| 179 | + * The `formType`s the block hands to a sectioned renderer of its own: the two |
| 180 | + * layouts `ObjectForm` draws, and the two containers `ObjectFormContainer` |
| 181 | + * opens. `split` is gone with its renderer (#27159). |
| 182 | + */ |
| 183 | +const SECTIONED_VARIANTS = ['tabbed', 'wizard', 'drawer', 'modal'] as const; |
180 | 184 |
|
181 | 185 | const SECTIONED_ROWS = (['object-form', 'view:form'] as const).flatMap((type) => |
182 | 186 | SECTIONED_VARIANTS.map((formType) => ({ type, formType })), |
|
0 commit comments