Repository navigation
Commit 5faf122
committed
docs(spec/ui): the object-tree titleField rationale is true at the pin again
At objectui 20c6d351a nothing reads a tree `titleField`: the renderer's
`getTreeConfig` rung went on objectui#8841, and the `case 'tree'` arm's
flatten rung went on objectui#6152 round 14 (objectui `3fd862510`), so
`ListView.tsx:3985` now reads `treeCfg.labelField || 'name'` and emits no
`titleField`. The OBJECT_TREE_FLAT_CONFIG_GUIDANCE docblock and the last
sentence of its prescription said the key was "only ever read as that
key's last fallback", a read that no longer exists.
The prose now says why the key stays in the set (for its prescription,
not for a read), and the prescription still names `tree.labelField`. The
flat key set and every schema shape are unchanged; keeping or dropping
`titleField` from the set is a schema decision outside this change. The
in-test note beside the key-set pin gains the same dated reading.
Claude-Session: https://claude.ai/code/session_01DhTqaEHqPVSVnAkjG3jywn
Co-authored-by: Claude <noreply@anthropic.com>1 parent 675b121 commit 5faf122
2 files changed
Lines changed: 25 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4314 | 4314 | | |
4315 | 4315 | | |
4316 | 4316 | | |
4317 | | - | |
| 4317 | + | |
| 4318 | + | |
| 4319 | + | |
| 4320 | + | |
| 4321 | + | |
4318 | 4322 | | |
4319 | 4323 | | |
4320 | 4324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8611 | 8611 | | |
8612 | 8612 | | |
8613 | 8613 | | |
8614 | | - | |
8615 | | - | |
8616 | | - | |
8617 | | - | |
8618 | | - | |
8619 | | - | |
8620 | | - | |
8621 | | - | |
8622 | | - | |
8623 | | - | |
| 8614 | + | |
| 8615 | + | |
| 8616 | + | |
| 8617 | + | |
| 8618 | + | |
| 8619 | + | |
| 8620 | + | |
| 8621 | + | |
| 8622 | + | |
| 8623 | + | |
8624 | 8624 | | |
8625 | | - | |
8626 | | - | |
| 8625 | + | |
| 8626 | + | |
| 8627 | + | |
| 8628 | + | |
| 8629 | + | |
| 8630 | + | |
| 8631 | + | |
| 8632 | + | |
8627 | 8633 | | |
8628 | 8634 | | |
8629 | 8635 | | |
| |||
8634 | 8640 | | |
8635 | 8641 | | |
8636 | 8642 | | |
8637 | | - | |
8638 | | - | |
| 8643 | + | |
| 8644 | + | |
8639 | 8645 | | |
8640 | 8646 | | |
8641 | 8647 | | |
| |||
0 commit comments