Skip to content

Commit d7d57ff

Browse files
os-zhuangclaude
andcommitted
chore(spec): classify new lookup picker props in the liveness ledger
The spec liveness gate requires every authorable FieldSchema property to be classified. Mark displayField/descriptionField/lookupColumns/lookupPageSize/ lookupFilters/dependsOn as live (consumed by the objectui record picker, cited as prose per the ledger convention) and sharpen the referenceFilters authorHint to point at the structured lookupFilters key. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 6334f4c commit d7d57ff

1 file changed

Lines changed: 26 additions & 2 deletions

File tree

packages/spec/liveness/field.json

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,9 +151,33 @@
151151
},
152152
"referenceFilters": {
153153
"status": "dead",
154-
"evidence": "lookup dialog reads lookup_filters (LookupField.tsx:171) — entirely dead as authored (naming drift)",
154+
"evidence": "lookup dialog reads lookup_filters/lookupFilters (LookupField.tsx) — the string[] referenceFilters form is not read (naming drift)",
155155
"authorWarn": true,
156-
"authorHint": "The lookup dialog reads `lookup_filters`, not `referenceFilters` — as authored this filters nothing. Use the supported lookup-filter key, or remove it to avoid implying a constrained lookup."
156+
"authorHint": "The picker reads the structured `lookupFilters` ({field,operator,value}), not the string[] `referenceFilters` — as authored this filters nothing. Use `lookupFilters`, or remove this to avoid implying a constrained lookup."
157+
},
158+
"displayField": {
159+
"status": "live",
160+
"note": "objectui LookupField/RecordPickerDialog — candidate label field in the record picker (reads displayField || display_field)."
161+
},
162+
"descriptionField": {
163+
"status": "live",
164+
"note": "objectui LookupField — secondary line under each option in the quick-select popover (reads descriptionField || description_field)."
165+
},
166+
"lookupColumns": {
167+
"status": "live",
168+
"note": "objectui RecordPickerDialog — record-picker table columns; renderer auto-derives from the referenced object when omitted (reads lookupColumns || lookup_columns)."
169+
},
170+
"lookupPageSize": {
171+
"status": "live",
172+
"note": "objectui RecordPickerDialog — rows per page in the record-picker dialog (reads lookupPageSize || lookup_page_size)."
173+
},
174+
"lookupFilters": {
175+
"status": "live",
176+
"note": "objectui LookupField + RecordPickerDialog — base scoping filters honoured by BOTH popover and dialog; structured supported form of referenceFilters (reads lookupFilters || lookup_filters)."
177+
},
178+
"dependsOn": {
179+
"status": "live",
180+
"note": "objectui LookupField — dependent/cascading lookup; restricts candidates by another field's value (reads dependsOn || depends_on)."
157181
},
158182
"maxRating": {
159183
"status": "dead",

0 commit comments

Comments
 (0)