Repository navigation
Description
epic:#26676#1 · zhuangjianguo · session_cdb7a717def74e719988f089fbaa18ff
The maintainer: 「1 同意立卡」 (2026-11-04), after asking for a demonstration of this defect.
Filed by the record-page epic seat from a browser evaluation of the Console on main 63b86b385d (example CRM, zh-CN, dev admin). An independent reviewer ran the pass and the seat re-checked the evidence named below. No domain:* label is set: triage routes this card.
Business reason
A rep opens a customer and clicks the 商机 tab to see that customer's deals. The table lists amounts, dates and probabilities with no deal name. Five rows read ¥120,000, ¥75,000, ¥12,400, ¥60,000, ¥90,000, and nothing says which deal each one is. The only link in the row is the amount, so a person has to click amounts to find a deal. This is the default record page, so it reaches every object with a related list and every record visit that uses the tab.
Reproduce
- Run
examples/app-crmand open a customer with deals, for example Acme Corp:/apps/com.example.crm/crm_account/record/{id}?related=crm_opportunity.account. - Read the table.
Measured in the browser by the seat:
| Tab | Headers on screen |
|---|---|
| 商机 on a customer | #, 金额, 预计成交日期, 赢单概率 (%), 操作 |
| 活动 on an opportunity | #, 活动类型, 截止日期, 联系人, 客户, 操作 |
The reviewer also read 联系人 on a customer as #, 邮箱, 操作. The first row's link text is ¥120,000.00 and its target is the opportunity record. The server returns name for these rows (Acme — Q3 Platform Renewal → 120000), and the compact panel on 概览 draws the same names.
Code readings on 63b86b385d
ui/packages/plugin-detail/src/RelatedList.tsx:2374-2383: with no declared columns, the columns come from the child object'shighlightFields, then pass the FK, field-security and empty pruning. Nothing adds the name.:2838-2843: the enlarged face hands the grideffectiveColumnsonly.examples/app-crm/src/objects/opportunity.object.ts:19:highlightFields: ['account', 'amount', 'close_date', 'probability'], which is right for the highlight strip (Default record page: no derived highlight strip (declared highlightFields only); the stage field leaves the body when the path draws it; the owner appears once, under one word #28868).
highlightFields means "what to feature beside the title", so it never lists the title. Two landings met here on 2026-11-02: 9a9823d921 declared the strips and a36409337b (#28902) moved the enlarged tab to the list grid. Whether the columns held a name before those two is not measured.
This misses #28865's acceptance line "The name is a link to the record", on a card closed as completed.
Acceptance
- With no columns declared for the relation, the enlarged table's first data column is the child record's name, resolved the way the platform names a record (
nameField/titleFormat, ADR-0079), and it links to the record. - The highlight fields still follow it, without repeating the name.
- Columns an author declared on the relation are honoured as declared.
- A test pins this on a child object whose
highlightFieldsomit the name. - A browser check of 商机, 活动 and 联系人 on the example CRM, with a screenshot on the PR.
Not in this card
The highlight strip, the compact panels, and any change to what highlightFields means.
Re-check
git grep -n "declaredHighlights" origin/main -- ui/packages/plugin-detail/src/RelatedList.tsx
Activity
objectstack-fleet commentedon Nov 4, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Path: none
Triage: first-touch audit · p1 kept ·
domain:ui· 2026-11-04T10:55Z⛔ Not a claim.
ui/packages/plugin-detail/src/RelatedList.tsx.Generated by Claude Code
objectstack-fleet commentedon Nov 4, 2026
domain:ui#1 · os-support-ai · session_01WGufzjDyeFwq6AuFu3vwTd
Claim: PM loop round 1 · 2026-11-04T11:33Z
Session:
session_01WGufzewdXHDkMAKTyWjGh5(card thread; dispatching seatsession_01WGufzjDyeFwq6AuFu3vwTd)Account:
os-support-aiBranch:
claude/project-thread-2heymj(platform-assigned to the card thread; it can push only this branch)Worktree:
objectstack-issue-30033Domain:
domain:uiSeat:
domain:ui#1File surface:
ui/packages/plugin-detail/src/RelatedList.tsx(enlarged related table column set) and its tests, browser screenshots under/mnt/project-files/ui-orders/30033-shots/, one root.changeset/file; ⛔ no change tohighlightFieldsmeaning, the highlight strip or compact panels; no spec key (stop on breach; explain in the report)Container & model:
S/M,mode:thread,model: TIER_DEFAULT(dispatch-gates --tier: no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility: ui code produces it (
domain:ui) | no platform path covers it | every Studio/Console user who reaches the surface named in the card bodyThread-read: 6628887388
Premise: holds (re-read on
origin/mainc23501b2b:RelatedList.tsx~L2374 builds the no-declared-columns set fromhighlightFieldswith no name column)Serial constraints cleared: none in flight on
ui/packages/plugin-detail/**(seat read 2026-11-04T11:31Z)Order:
/mnt/project-files/ui-orders/30033.md· maintainer scope 「车队可以继续派发了,只派发 p1 p2 ,总并发不超过 20」 (2026-11-03T15:40Z)objectstack-fleet commentedon Nov 4, 2026
domain:ui#1 · os-support-ai · session_01WGufzewdXHDkMAKTyWjGh5
os-dev-report
{ "issue": 30033, "status": "done", "branch": "claude/project-thread-2heymj", "pr": "https://github.com/objectstack-ai/objectstack/pull/30090", "head": "8408edf6dc78719ce017aeebbce95ecf9639bb94", "session": "session_01WGufzewdXHDkMAKTyWjGh5", "premise_still_valid": true, "summary": "With no columns declared for the relation, RelatedList's effectiveColumns took highlightFields verbatim, which never list the record title. The highlightFields path now runs the set through core's existing leadWithNameField (ADR-0079 nameField, else the derived title field; moved to the front, listed once) before the unchanged redaction/parent-key/FLS/empty gates, and the field walk moves the declared or derived name to the front when it already survived the walk's filters. Authored columns are untouched. The enlarged object-grid auto-links its first column, so the name is now the row link; the non-enlarged data-table reads the same effectiveColumns (order item 4: same source, fixed in place and pinned). titleFormat-only objects lead with the derived field, not the formatted title (leadWithNameField is field-space by design). Claim 6629531508 names this branch (re-read at PR time).", "tests": "New top-level describe in RelatedList.enlargedListGrid-28865.test.tsx, 7 cases (highlight omits name, non-name-ish nameField, name in highlights once, CONTROL authored columns exact, non-enlarged data-table, walk lead, titleFormat derived field): file 18/18 passed. Ablation 1 via ablation-replace (leadWithNameField(...) -> declaredHighlights, anchor 1->0, blob edff8db6->eed0f11d): 5 failed/13 passed, restored blob == HEAD. Ablation 2 (delete walk unshift line): 1 failed/17 passed, restored. Tests import ../RelatedList from src, so no dist leg. Whole @object-ui/plugin-detail suite under lock (pre-merge, merge touched nothing it reads): Test Files 369 passed | 1 skipped, Tests 3260 passed | 18 skipped. type-check (both programs, test file in tsconfig.test.json list) exit 0 on head 8408edf6. eslint on the 2 files: 0 errors. Browser (app-crm dev boot + console vite from ui src, zh-CN, Acme Corp; vite restarted per leg and served module checked): before 商机 #/金额/预计成交日期/赢单概率/操作 link 75,000.00; after #/商机名称/... link 'Acme — Year-Ago Renewal' -> opportunity record. 联系人 before #/邮箱 -> after #/姓名/邮箱 link 'Ada Lovelace'. 活动 before #/活动类型/... -> after #/主题/... link 'Product Demo — Globex New CRM'. Shots + readings JSON in /mnt/project-files/ui-orders/30033-shots/.", "gates": "On head 8408edf6 (merged origin/main d79eecfe5, full turbo build 119/119 exit 0 under lock): dispatch-gates --commands derived 35; all 35 run, all exit 0 (record /mnt/project-files/issue-30033/gates-ran.list); --ran: 35 derived, 35 run, 0 NOT-MEASURED, 0 UNRUN. check-sdui-manifest exit 0 (in the derived set). CI check-runs: in_progress at report time; PM reads them.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "3 — mcp__github__issue_read x3 (get x1, get_comments x2); no write tool", "api_writes": "2 — relay pr_create (objectstack-ai/objectstack#30090, 9626 B read back identical, no assignee); this os-dev-report comment via post-stamped.mjs. Plus 2 git pushes (not REST).", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: none · noted, not filed: on the example CRM the default record page's 概览 draws only compact panels (0 tables on account and opportunity pages), so the non-enlarged body table could not be photographed there; it is pinned in unit tests instead.", "carrier: none · noted, not filed: the derived set stays capped at maxColumns (component default 6); the name now takes one slot, so a child with 6+ highlights shows one fewer." ], "deviations": [ "Session prompt's assignee/reviewer step on the PR skipped per os-dev.md rule 2 (pr_create carries none; the seat sets people at hand-over).", "PR body also carries the repo template's Human Minimum list; item 8 notes the Chinese maintainer brief.", "One before-leg browser run was discarded: the shared box's vite file watcher missed a git restore and served the fixed module; both legs were retaken with vite restarted and the served module checked (disk=0/served=0 before, disk=4/served=4 after)." ] }objectstack-fleet commentedon Nov 4, 2026
domain:ui#1 · os-support-ai · session_01WGufzjDyeFwq6AuFu3vwTd
Landed · PR #30090 ·
f68b47cace· 2026-11-04T13:44Zf68b47cace8408edf6, CI green (44 success, 11 expected skips)ACCEPT on #30090 (seat review). The card is closed by
Fixes #30033(state: closed completed).pm:dispatchedis removed in this stroke. With no columns declared on the relation, the related table now leads with the child record's name (商机名称 / 姓名 / 主题), linked to the record. Before/after shots:/mnt/project-files/ui-orders/30033-shots/.