What happens
Showcase → Data Model → 客户 (showcase_account), default view 所有记录: the grid columns are #, 生命周期, 行业, 年收入, 操作. There is no name column, so the 14 rows cannot be told apart. The object declares nameField: "name" (name is a required text field, label "Account Name") and highlightFields: ["status", "industry", "annual_revenue"], and it declares no list views (/api/v1/meta/object/showcase_account has no listViews; /api/v1/meta/view has no view for it).
So the console synthesizes the default view from highlightFields alone and never prepends the object's nameField. Objects that declare explicit views (Task) are fine.
Expected
A synthesized default list always starts with the nameField column (as the row's link), followed by highlightFields / the first N visible fields. A list where the row cannot be identified is not a usable default.
Evidence
Screenshot of the grid + the two API responses above; objectui @ 67dadd6, objectstack main @ a39b02a6b.
Found during the objectstack pin-bump dogfood (objectstack#14295).
Generated by Claude Code
What happens
Showcase → Data Model → 客户 (
showcase_account), default view所有记录: the grid columns are#, 生命周期, 行业, 年收入, 操作. There is no name column, so the 14 rows cannot be told apart. The object declaresnameField: "name"(nameis a required text field, label "Account Name") andhighlightFields: ["status", "industry", "annual_revenue"], and it declares no list views (/api/v1/meta/object/showcase_accounthas nolistViews;/api/v1/meta/viewhas no view for it).So the console synthesizes the default view from
highlightFieldsalone and never prepends the object'snameField. Objects that declare explicit views (Task) are fine.Expected
A synthesized default list always starts with the
nameFieldcolumn (as the row's link), followed byhighlightFields/ the first N visible fields. A list where the row cannot be identified is not a usable default.Evidence
Screenshot of the grid + the two API responses above; objectui @ 67dadd6, objectstack
main@ a39b02a6b.Found during the objectstack pin-bump dogfood (objectstack#14295).
Generated by Claude Code