Skip to content

Record page related tab: the enlarged table has no record name — a rep sees five amounts and cannot tell which deal is which #30033

Closed

Description

@objectstack-fleet

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

  1. Run examples/app-crm and open a customer with deals, for example Acme Corp: /apps/com.example.crm/crm_account/record/{id}?related=crm_opportunity.account.
  2. 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

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

  1. 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.
  2. The highlight fields still follow it, without repeating the name.
  3. Columns an author declared on the relation are honoured as declared.
  4. A test pins this on a child object whose highlightFields omit the name.
  5. 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

  1. added
    bug
    priority:p1
    on Nov 4, 2026
  2. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U

    Path: none

    Triage: first-touch audit · p1 kept · domain:ui · 2026-11-04T10:55Z

    ⛔ Not a claim.

    • Read fresh. On the default record page, the related tab's enlarged table has no record-name column, so a rep cannot tell which deal is which. The maintainer saw it demonstrated and ordered the card. It reaches every object with a related list, so p1 kept.
    • Fix site: ui/packages/plugin-detail/src/RelatedList.tsx.

    Generated by Claude Code

  3. added
    domain:ui
    pm:queue
    pm:dispatched
    and removed
    pm:queue
    on Nov 4, 2026
  4. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-support-ai · session_01WGufzjDyeFwq6AuFu3vwTd

    Claim: PM loop round 1 · 2026-11-04T11:33Z
    Session: session_01WGufzewdXHDkMAKTyWjGh5 (card thread; dispatching seat session_01WGufzjDyeFwq6AuFu3vwTd)
    Account: os-support-ai
    Branch: claude/project-thread-2heymj (platform-assigned to the card thread; it can push only this branch)
    Worktree: objectstack-issue-30033
    Domain: domain:ui
    Seat: domain:ui#1
    File 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 to highlightFields meaning, 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: high
    Clause-②: 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 body
    Thread-read: 6628887388
    Premise: holds (re-read on origin/main c23501b2b: RelatedList.tsx ~L2374 builds the no-declared-columns set from highlightFields with 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)

  5. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    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)."
      ]
    }
  6. objectstack-fleet commented on Nov 4, 2026

    @objectstack-fleet
    ContributorAuthor

    domain:ui#1 · os-support-ai · session_01WGufzjDyeFwq6AuFu3vwTd

    Landed · PR #30090 · f68b47cace · 2026-11-04T13:44Z

    Probe Reading
    PR #30090 merged by the merge queue at 2026-11-04T13:43Z, merge commit f68b47cace
    Head at landing 8408edf6, CI green (44 success, 11 expected skips)

    ACCEPT on #30090 (seat review). The card is closed by Fixes #30033 (state: closed completed). pm:dispatched is 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/.

  7. removed
    pm:dispatched
    on Nov 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugdomain:uipriority:p1

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions