Commit e1dd5df
committed
docs(automation): document the flat screen-field shape and
The flows guide covered the `object-form` screen step but never the default
flat `fields` list, so the shape most screens actually use was undocumented —
including `visibleWhen`, which this branch just made live on the wire.
Records the three things an author cannot infer from the type: the predicate is
bare CEL over the screen's own field names (NOT the `{var}` template dialect the
rest of a node's config uses), `required` on a conditional field means "required
when shown", and a `required` boolean needs `defaultValue: false` or the user
cannot express "no" by leaving the box clear. Also notes that a broken predicate
fails open, since nothing validates it at author time yet.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0122xvfanLmniNbsAPtg5hk3visibleWhen
1 parent 5cc47d1 commit e1dd5df
1 file changed
Lines changed: 42 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
213 | 254 | | |
214 | 255 | | |
215 | | - | |
| 256 | + | |
216 | 257 | | |
217 | 258 | | |
218 | 259 | | |
| |||
0 commit comments