You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Console inline line grid: column headers never show the field's help text, so the entry rule is invisible exactly where lines are typed #35804
On 18.6.0, a master-detail form can edit its child rows in place through an inline line grid (inlineColumns). Each column header in that grid shows only the field label. A field's help text never appears anywhere in the grid: not as an icon, not as a tooltip on the header, not as a hint on the cell. This holds whether the help is declared on the field or written onto it by another package's objectExtensions.fieldPatches.
The same field's help does show in the single-record form and on the detail page. So users who enter lines through the grid, which is the normal way to fill in a quote or an order, never see the rule the help text exists to state.
Repro (18.6.0)
Declare an object with a child object that the parent's form edits inline (inlineColumns on the master-detail field). Give one child column a help, e.g. unit_price with help 「内销填含税价,出口填不含税的 FOB 美元价」.
Open the parent record's edit form in the console. In the line grid, the unit_price column header shows only the label. Hovering over the header or the cell shows nothing.
Open one child row in its own record form or detail page: the help shows next to the field.
Repeat with the help supplied by another package's fieldPatches entry, which is how a vertical module annotates a base package's field. The result is the same.
Why it matters
Help text is where an app states an entry convention that the field type cannot express, such as tax-inclusive versus tax-exclusive, the unit, or which currency. A wrong entry in the line grid silently feeds calculations such as totals and margins. We saw this in a business app that documented its amount fields' entry basis in help: users only see that documentation when they open a line on its own.
Expected
Each grid column header shows the field's resolved help in the reader's language, the same text the form shows. One way: an info icon next to the header label that shows the help on hover or focus. This should cover both declared help and help supplied through fieldPatches. Optionally, the same affordance could explain why a cell is read-only (cf. #35684).
Triage: lands in domain:ui · pm:queue; rationale: area:ux · Bug · an inline line grid (inlineColumns) never shows a field's help on the column header or cell, while the record form and detail page do; reach: every user entering lines through the grid, the normal way to fill a quote or order; severity: an entry convention (tax basis, unit, currency) is invisible where it matters; reproduced on 18.6.0 by an outside builder → p2 (UX rule: not every-user-every-time on a core action, so not p1; UX has no p3) · size S (grid header renders the existing help affordance).
Claim: area ux-2 (lease:ux-2, leased by seat 5 at 11-21 03:28Z under Bill 11-21 03:25Z 「你继续处理 ux 非专题下的 p2 任务,并发3」) · 2026-11-21T03:32Z · folded with #35507 into one PR (both in GridField.tsx, per seat 11-21 03:28Z)
Area: ux-2
Session: session_01Utp6CZrgaiMgTJCnswR6jQ
Account: os-bill
Seat: repo:objectstack#5
Branch: claude/issue-35507-grid-ghost-row-header-help
Domain: domain:ui
File surface: ui/packages/fields/src/widgets/GridField.tsx (the trailing ghost row and the column header), its tests, i18n keys only if an existing one cannot serve, and a changeset. ⛔ No packages/spec/** (no new inlineGhostRow switch). Stop and report on any breach.
Clause-②: no
Metadata-protocol: none
Premise: holds on origin/main: the grid column header draws only the label. The fix shows the field's resolved help (the same text the record form shows, in the reader's language, including help written by objectExtensions.fieldPatches) as an info affordance on the header, reachable on hover and focus. It reuses the form's help affordance and keys where possible.
Serial constraints cleared: none. A live read of all 48 open PRs' files at claim time found none touching GridField.tsx. The last change on main is #35937 (c7174c3: new detail lines start on their defaults), which is read before editing.
Pre-claim deps: none. There is no parent issue.
Prior rulings read: hasGhost, isGhost, ghost, help, fieldPatches → ADR-0029 D8 and ADR-0106 D1 were hit on terms only, and neither binds this. The thread has no ruling.
Review path: L1-a. Approver handoff if Tier H or over 3,000 lines.
{
"issue": 35804,
"status": "done",
"branch": "claude/issue-35507-grid-ghost-row-header-help",
"pr": "https://github.com/objectstack-ai/objectstack/pull/35998",
"head": "d4100395",
"folded_with": [
35507,
35804
],
"session": "session_01Utp6CZrgaiMgTJCnswR6jQ",
"premise_still_valid": true,
"summary": "#35507: GridField no longer draws the always-present blank entry row. Measured on origin/main 9a8bb83d, the ghost row and the Add button were both gated on allowAdd, so the ghost was only ever drawn where Add was drawn. Add-not-drawn decision: nothing to restyle; with allowAdd false there was never a ghost and there still is none (CONTROL pin). An empty grid shows the existing fields.grid.noItemsAddHint. The keyboard path is kept: Add focuses the new line, and Enter in the last line appends a line in the same column. The entry line remains only for an empty required grid the form refused (objectui#3318 a11y channel; the aria sweep stays green). Save batch unchanged. #35804: each column header draws an info icon whose accessible name is the field's help, shown on hover and on focus (Radix tooltip), in both the editable grid and the read-only table. Help source: the child object definition the record form reads (dataSource.getObjectSchema, served with fieldPatches applied and translated), read through fieldHelpText; a new GridField prop columnHelp and helper columnHelpByField, wired in MasterDetailForm, LineItemsPanel and RecordBodyTableEditor. No spec key was added.",
"a1": "Pins red on base 9a8bb83d: 9 failed / 59 passed (the 4 CONTROL pins are green on both trees). Green at d4100395. Ablation 1 (ghost back): 4 red, 3 controls green. Ablation 2 (help off): 5 red, including both MasterDetailForm host cases. Both restored to the HEAD blob 1a5224d841fb with git diff HEAD empty. fieldPatches help: client pin on the served definition in MasterDetailForm.test.tsx, plus the existing server pin packages/rest/src/meta-object-field-patch-i18n.test.ts (patched description served and translated); the browser reading shows a real fieldPatches help.",
"a2": "Showcase --fresh :4371 and console vite :5371, headless Chromium 1280x900 dsf2, INV-1010 edit form. tbody rows 1 (the stored line only, no trailing blank). Help icons on Qty (declared inlineHelpText) and Unit Price (fieldPatches 「内销填含税价,出口填不含税的 FOB 美元价」). The hover tooltip shows the patched text; keyboard focus shows the declared text and activeElement's accessible name equals the help. After Add, focus is on data-cell 1-1. Temporary fixtures reverted. 5 screenshots in a4-35507/.",
"tests": "cd ui && pnpm exec vitest run packages/fields/ packages/plugin-form/ at d4100395: Test Files 549 passed | 1 skipped (550), Tests 7402 passed | 8 skipped (7410), lock VERDICT command-exit 0. type-check of @object-ui/fields and @object-ui/plugin-form, after building the @object-ui/plugin-form^... closure: VERDICT command-exit 0.",
"gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 40 commands at d4100395; all 40 ran with EXIT=0 (captured before any pipe). CI check-runs at report time on d4100395: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (CI/release/engine; ESLint; PM dispatch-gates; docs & code guards; repo & tooling; scoped x3), PR-body guards, Type Check (consumer/debt/source/workspace): in_progress. UI jobs (Lint UI / Type Check UI / Test UI / Build & E2E UI / Live E2E UI) not yet listed. NOT MEASURED locally: lint and whole-workspace type-check, which belong to CI.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"line_budget": "31 files, +540/-121 (661 changed lines) vs the 3000 threshold: under. No skills/** files touched.",
"files_changed": [
"ui/packages/fields/src/widgets/GridField.tsx",
"ui/packages/fields/src/index.tsx",
"ui/packages/plugin-form/src/MasterDetailForm.tsx",
"ui/packages/plugin-form/src/LineItemsPanel.tsx",
"ui/packages/plugin-form/src/RecordBodyTableEditor.tsx",
".changeset/35507-grid-entry-row-header-help.md",
"2 fields test files + 23 plugin-form test files (entry-row readers moved to Add; new pins in GridField.test.tsx and MasterDetailForm.test.tsx)"
],
"help_source": "dataSource.getObjectSchema(childObject), the served child definition the record form reads (fieldPatches applied, help translated server-side), read per field by fieldHelpText (inlineHelpText, else description). Not re-resolved in the grid.",
"add_not_drawn_decision": "On origin/main the ghost row only appeared where Add appeared (both gated on allowAdd). With Add not drawn there was no ghost; this stays unchanged, so no placeholder was needed.",
"deviations": [
"File surface widened beyond the claims (GridField.tsx, tests, i18n, changeset). Added: fields/src/index.tsx (export), the three host files that pass columnHelp, and 23 plugin-form test files that typed into the removed ghost row. Order section 1 ('find the resolved source the form uses') and section 3 ('File surface as the claims say... stop on breach') conflict for #35804: the grid holds no field definition, so the help can only come from the hosts. I followed section 1, kept the host wiring in its own commit (37d197a3), and am naming the conflict here. The seat can supplement the claim surface or drop that commit.",
"Two of those test files exercise ModalForm (discardGuard.test.tsx, __tests__/modalMaximize-34604.test.tsx). Each gained one Add click; ModalForm.tsx itself is untouched.",
"The ghost entry row is still drawn in one state: an empty required grid the form refused. Removing it there would break the objectui#3318 a11y design (only the Add button would remain, and the aria sweep forbids marking it).",
"Enter on the last line now appends a line (a new keyboard behaviour that replaces Enter-into-ghost).",
"The PR body What changes section says 26 plugin-form test files; the measured count is 23 (git diff 9a8bb83d..HEAD). Left for the seat, because a subagent does not PATCH the PR body."
],
"mcp_calls": "0",
"api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/35998/assignees), post-stamped os-dev-report comments on #35507 and #35804 (POST /issues/{n}/comments x2); git push is not a REST write",
"open_questions": [
{
"question": "A master-detail entry whose relationshipField and every column type are authored loads no child schema, so its headers show no help (the same gap lookupAutofill has). Close it?",
"options": [
"A leave as is; the console's inlineColumns path hydrates and shows help",
"B have MasterDetailForm read the separately fetched childSchemasRef into state for help, at the risk of the objectui 1581 header-reset re-render"
],
"recommendation": "A, because the console path (subforms from inlineColumns names) already loads the schema, and B touches a deliberate no-re-render ref."
}
],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · observed in the A2 reading: on the INV-1010 (EUR) invoice the line grid's currency cells and totals stack show $ while Total incl. Tax shows €. Not investigated and not filed; noted only."
]
}
MERGED as ec24363978 (Fixes #35804, with #35507; this card closed completed)
review record
L1-a ACCEPT 7058316549; Q2 A (an entry with every column type authored loads no child schema, so it shows no help, as the changeset says)
follow-up
#36004 (the header help joins the announced column name; a short "Help" label with aria-describedby), nested here
Delivered:
Each column header of the inline line grid (editable and read-only) has an info icon. Hover or keyboard focus shows the field's help, the same text and language the record form shows, including help supplied by another package's fieldPatches.
Activity
objectstack-fleet commentedon Nov 20, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui·pm:queue; rationale: area:ux · Bug · an inline line grid (inlineColumns) never shows a field'shelpon the column header or cell, while the record form and detail page do; reach: every user entering lines through the grid, the normal way to fill a quote or order; severity: an entry convention (tax basis, unit, currency) is invisible where it matters; reproduced on 18.6.0 by an outside builder → p2 (UX rule: not every-user-every-time on a core action, so not p1; UX has no p3) · size S (grid header renders the existing help affordance).objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Claim: area ux-2 (
lease:ux-2, leased by seat 5 at 11-21 03:28Z under Bill 11-21 03:25Z 「你继续处理 ux 非专题下的 p2 任务,并发3」) · 2026-11-21T03:32Z · folded with #35507 into one PR (both inGridField.tsx, per seat 11-21 03:28Z)Area: ux-2
Session:
session_01Utp6CZrgaiMgTJCnswR6jQAccount:
os-billSeat:
repo:objectstack#5Branch:
claude/issue-35507-grid-ghost-row-header-helpDomain:
domain:uiFile surface:
ui/packages/fields/src/widgets/GridField.tsx(the trailing ghost row and the column header), its tests, i18n keys only if an existing one cannot serve, and a changeset. ⛔ Nopackages/spec/**(no newinlineGhostRowswitch). Stop and report on any breach.Clause-②: no
Metadata-protocol: none
Premise: holds on
origin/main: the grid column header draws only the label. The fix shows the field's resolved help (the same text the record form shows, in the reader's language, including help written byobjectExtensions.fieldPatches) as an info affordance on the header, reachable on hover and focus. It reuses the form's help affordance and keys where possible.Serial constraints cleared: none. A live read of all 48 open PRs' files at claim time found none touching
GridField.tsx. The last change on main is #35937 (c7174c3: new detail lines start on their defaults), which is read before editing.Pre-claim deps: none. There is no parent issue.
Prior rulings read: hasGhost, isGhost, ghost, help, fieldPatches → ADR-0029 D8 and ADR-0106 D1 were hit on terms only, and neither binds this. The thread has no ruling.
Review path: L1-a. Approver handoff if Tier H or over 3,000 lines.
objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
os-dev-report
{ "issue": 35804, "status": "done", "branch": "claude/issue-35507-grid-ghost-row-header-help", "pr": "https://github.com/objectstack-ai/objectstack/pull/35998", "head": "d4100395", "folded_with": [ 35507, 35804 ], "session": "session_01Utp6CZrgaiMgTJCnswR6jQ", "premise_still_valid": true, "summary": "#35507: GridField no longer draws the always-present blank entry row. Measured on origin/main 9a8bb83d, the ghost row and the Add button were both gated on allowAdd, so the ghost was only ever drawn where Add was drawn. Add-not-drawn decision: nothing to restyle; with allowAdd false there was never a ghost and there still is none (CONTROL pin). An empty grid shows the existing fields.grid.noItemsAddHint. The keyboard path is kept: Add focuses the new line, and Enter in the last line appends a line in the same column. The entry line remains only for an empty required grid the form refused (objectui#3318 a11y channel; the aria sweep stays green). Save batch unchanged. #35804: each column header draws an info icon whose accessible name is the field's help, shown on hover and on focus (Radix tooltip), in both the editable grid and the read-only table. Help source: the child object definition the record form reads (dataSource.getObjectSchema, served with fieldPatches applied and translated), read through fieldHelpText; a new GridField prop columnHelp and helper columnHelpByField, wired in MasterDetailForm, LineItemsPanel and RecordBodyTableEditor. No spec key was added.", "a1": "Pins red on base 9a8bb83d: 9 failed / 59 passed (the 4 CONTROL pins are green on both trees). Green at d4100395. Ablation 1 (ghost back): 4 red, 3 controls green. Ablation 2 (help off): 5 red, including both MasterDetailForm host cases. Both restored to the HEAD blob 1a5224d841fb with git diff HEAD empty. fieldPatches help: client pin on the served definition in MasterDetailForm.test.tsx, plus the existing server pin packages/rest/src/meta-object-field-patch-i18n.test.ts (patched description served and translated); the browser reading shows a real fieldPatches help.", "a2": "Showcase --fresh :4371 and console vite :5371, headless Chromium 1280x900 dsf2, INV-1010 edit form. tbody rows 1 (the stored line only, no trailing blank). Help icons on Qty (declared inlineHelpText) and Unit Price (fieldPatches 「内销填含税价,出口填不含税的 FOB 美元价」). The hover tooltip shows the patched text; keyboard focus shows the declared text and activeElement's accessible name equals the help. After Add, focus is on data-cell 1-1. Temporary fixtures reverted. 5 screenshots in a4-35507/.", "tests": "cd ui && pnpm exec vitest run packages/fields/ packages/plugin-form/ at d4100395: Test Files 549 passed | 1 skipped (550), Tests 7402 passed | 8 skipped (7410), lock VERDICT command-exit 0. type-check of @object-ui/fields and @object-ui/plugin-form, after building the @object-ui/plugin-form^... closure: VERDICT command-exit 0.", "gates": "Local: dispatch-gates --commands --repo objectstack-ai/objectstack derived 40 commands at d4100395; all 40 ran with EXIT=0 (captured before any pipe). CI check-runs at report time on d4100395: Check Changeset, Check PR Size, Governed Surface Queue Guard, Lint (CI/release/engine; ESLint; PM dispatch-gates; docs & code guards; repo & tooling; scoped x3), PR-body guards, Type Check (consumer/debt/source/workspace): in_progress. UI jobs (Lint UI / Type Check UI / Test UI / Build & E2E UI / Live E2E UI) not yet listed. NOT MEASURED locally: lint and whole-workspace type-check, which belong to CI.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "line_budget": "31 files, +540/-121 (661 changed lines) vs the 3000 threshold: under. No skills/** files touched.", "files_changed": [ "ui/packages/fields/src/widgets/GridField.tsx", "ui/packages/fields/src/index.tsx", "ui/packages/plugin-form/src/MasterDetailForm.tsx", "ui/packages/plugin-form/src/LineItemsPanel.tsx", "ui/packages/plugin-form/src/RecordBodyTableEditor.tsx", ".changeset/35507-grid-entry-row-header-help.md", "2 fields test files + 23 plugin-form test files (entry-row readers moved to Add; new pins in GridField.test.tsx and MasterDetailForm.test.tsx)" ], "help_source": "dataSource.getObjectSchema(childObject), the served child definition the record form reads (fieldPatches applied, help translated server-side), read per field by fieldHelpText (inlineHelpText, else description). Not re-resolved in the grid.", "add_not_drawn_decision": "On origin/main the ghost row only appeared where Add appeared (both gated on allowAdd). With Add not drawn there was no ghost; this stays unchanged, so no placeholder was needed.", "deviations": [ "File surface widened beyond the claims (GridField.tsx, tests, i18n, changeset). Added: fields/src/index.tsx (export), the three host files that pass columnHelp, and 23 plugin-form test files that typed into the removed ghost row. Order section 1 ('find the resolved source the form uses') and section 3 ('File surface as the claims say... stop on breach') conflict for #35804: the grid holds no field definition, so the help can only come from the hosts. I followed section 1, kept the host wiring in its own commit (37d197a3), and am naming the conflict here. The seat can supplement the claim surface or drop that commit.", "Two of those test files exercise ModalForm (discardGuard.test.tsx, __tests__/modalMaximize-34604.test.tsx). Each gained one Add click; ModalForm.tsx itself is untouched.", "The ghost entry row is still drawn in one state: an empty required grid the form refused. Removing it there would break the objectui#3318 a11y design (only the Add button would remain, and the aria sweep forbids marking it).", "Enter on the last line now appends a line (a new keyboard behaviour that replaces Enter-into-ghost).", "The PR body What changes section says 26 plugin-form test files; the measured count is 23 (git diff 9a8bb83d..HEAD). Left for the seat, because a subagent does not PATCH the PR body." ], "mcp_calls": "0", "api_writes": "3 — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls + POST /issues/35998/assignees), post-stamped os-dev-report comments on #35507 and #35804 (POST /issues/{n}/comments x2); git push is not a REST write", "open_questions": [ { "question": "A master-detail entry whose relationshipField and every column type are authored loads no child schema, so its headers show no help (the same gap lookupAutofill has). Close it?", "options": [ "A leave as is; the console's inlineColumns path hydrates and shows help", "B have MasterDetailForm read the separately fetched childSchemasRef into state for help, at the risk of the objectui 1581 header-reset re-render" ], "recommendation": "A, because the console path (subforms from inlineColumns names) already loads the schema, and B touches a deliberate no-re-render ref." } ], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · observed in the A2 reading: on the INV-1010 (EUR) invoice the line grid's currency cells and totals stack show $ while Total incl. Tax shows €. Not investigated and not filed; noted only." ] }objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Claim amendment · area ux-2 · 2026-11-21T05:20Z · amends claim 7056679382 (one PR with #35507 / #35804, PR #35998)
File surface, added (all already in PR #35998 at
d4100395; nothing new is edited by this amendment):ui/packages/fields/src/index.tsx: one export line (columnHelpByField).getObjectSchema, which the server serves withfieldPatchesapplied and translated):ui/packages/plugin-form/src/MasterDetailForm.tsx,LineItemsPanel.tsx,RecordBodyTableEditor.tsx. The grid holds no field definition, so Console inline line grid: column headers never show the field's help text, so the entry rule is invisible exactly where lines are typed #35804's header help cannot be drawn fromGridField.tsxalone.discardGuard.test.tsx,__tests__/modalMaximize-34604.test.tsx) exercise ModalForm.ModalForm.tsxis untouched.The ⛔ on
packages/spec/**,docs/adr/**and the form tab/section-nav path stands, and none of them is touched.Serial note: os-sales draft PR fix(form): new master-detail form lines start on the child's defaults and skip an untouched line with a notice (#35940) #35984 (Parent create/edit form: new detail-table rows should prefill the child's defaults and not flag required cells before save (as the record page now does) #35940, opened 04:12Z, after this claim) also edits
GridField.tsx,MasterDetailForm.tsxand their tests. A textual merge conflict exists inMasterDetailForm.tsx,MasterDetailForm.test.tsxandGridField.test.tsx. Whichever lands second mergesmain.objectstack-fleet commentedon Nov 21, 2026
repo:objectstack#5 · os-bill · session_01Utp6CZrgaiMgTJCnswR6jQ
Closed-out · area ux-2 · 2026-11-21T06:22Z
ec24363978(Fixes #35804, with #35507; this card closed completed)aria-describedby), nested hereDelivered:
fieldPatches.State:
pm:dispatchedremoved.