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
fields: an html or richtext cell may still draw a stored heading at full size in a list row #36452
Follow-up from #36344 (PR #36428, a markdown heading in a list cell draws at the cell's text size). The dev noted it from the code, not measured; the landing record carried it unfiled. Filed by the seat.
What happens (read from the code, to be measured)
#36428 gave MarkdownContent a cell face, so a markdown heading in a grid cell draws as a paragraph at the cell's size. An html or richtext field's cell goes through HtmlCellRenderer, which has no cell face. A stored h1 there probably still draws as a heading and makes the row taller than the grid's one-line clamp.
To do
Measure it: render an html and a richtext value holding an h1 through ObjectGrid, and record the row height and whether tbody holds a heading element.
In a list, an html or richtext cell holding a heading stays one line at the cell's text size, and the record page still shows the heading at full size.
Grade
p3 · area:ux · domain:ui. Possible row-height defect, not yet measured.
Triage: lands in domain:ui (html and richtext cells) · pm:queue; rationale: area:ux · Bug · an html or richtext cell may still draw a stored heading at full size in a list row (sibling of #36344, closed). UX has no p3 → p2 (was p3) · size XS.
Claim: PM loop round 2
Session: session_01ADHkmRGDrq6JSytBsNFabU
Account: os-steve
Area: s2-D
Branch: claude/issue-36452-html-cell-heading
Worktree: objectstack-issue-36452
Domain: domain:ui
Seat: repo:objectstack#2
File surface: ui/packages/fields/src/widgets/richTextDisplay.tsx (HtmlCellRenderer), ui/packages/fields/src/widgets/MarkdownContent.tsx only to share its cell-face class, tests beside them under ui/packages/fields/src/**/__tests__/, root .changeset/
Container & model: S (XS), mode:subagent, model: default (dispatch-gates --tier at 87c7bbaf: "no path-derived mandate"), effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: platform code — ui/packages/fields HtmlCellRenderer draws sanitized html with no cell face (objectstack) | MarkdownContent's cell face (#36428) covers markdown only | any list reader of an html or richtext field whose stored value holds a heading; reach to be measured (card item 1)
Thread-read: 7079376164
Premise: holds as read — at origin/main 87c7bbarichTextDisplay.tsx:135HtmlCellRenderer takes no inGridColumn and always draws prose prose-sm, while MarkdownCellRenderer (L100) passes face={inGridColumn ? 'cell' : 'document'}; the row-height effect is unmeasured and is the dev's first step (card item 1); a measured "no heading drawn" closes the card as premise refuted with no code.
Pre-claim lane: ui/packages/fields/** is domain:ui, this seat's repo:objectstack intake; dispatched by seat order 22:30Z (Steve 「派」 22:29Z, area:ux p2 without a topic parent).
Pre-claim deps: no Blocked-by: / "after #N"; #36344 / PR #36428 merged; no open PR (42 read at 2026-11-22T22:32Z) touches fields/src/widgets/richTextDisplay.tsx, sanitizedHtml.tsx, MarkdownContent.tsx or fields/src/index.tsx.
Prior rulings read: fields,html,richtext,cell,draw,stored,heading,full,size,list → 163 hits; ADR-0061 D2, ADR-0005 Decision §5, ADR-0006 D2, ADR-0032 Decision §1, ADR-0053 Decision §5, ADR-0061 D3, ADR-0063 Decision §2, ADR-0079 D5, ADR-0081 Decision §1, ADR-0085 Decision §3 — none rules on cell typography; card body: sanitisation unchanged, record page and readonly form keep full-size headings; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: none — sibling #36408 (same area, in flight) is on app-shell/src/views/ObjectDataPage.tsx, disjoint
{
"issue": 36452,
"status": "done",
"branch": "claude/issue-36452-html-cell-heading",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36566",
"session": "session_01ADHkmRGDrq6JSytBsNFabU",
"premise_still_valid": true,
"summary": "Measured first (card item 1): at origin/main 87c7bbaf, an html and a richtext value holding an h1, rendered through ObjectGrid, leave an H1 in tbody. Laid out in Chromium with the compiled console stylesheet, those rows are 45 px against 36 px for the markdown and plain rows, and the H1 is 30px/36px. HtmlCellRenderer now reads inGridColumn and draws the sanitized tree in the same cell face as the markdown cell: every heading level is p.font-semibold, and the body uses the cell's text size and line height. The face classes and the heading map now live once in richTextDisplay.tsx, and MarkdownContent imports them from there. renderSanitizedHtml takes an optional components map applied after sanitisation, so the sanitiser schema is unchanged. After the change tbody holds no heading, all four rows are 36 px and the heading is 14px; the record page and readonly forms keep the document face (CONTROL pins). Head 1b5c106b24fee15cd29d549f807e437adaa6a840 (merge of origin/main over 4f80ba10).",
"tests": "at 1b5c106b (after merging origin/main): turbo build @object-ui/plugin-grid^... 53/53, fields + plugin-grid type-check exit 0, vitest packages/fields/ + ObjectGrid.richTextOneLine-12480: Test Files 323 passed | 1 skipped, Tests 4896 passed | 7 skipped, lock VERDICT command-exit 0. At 4f80ba10: vitest packages/fields/ packages/plugin-grid/: 629 passed | 1 skipped files, 7604 passed | 7 skipped tests, VERDICT 0. New pins: fields markdownCellHeading-36344 (new top-level describe, 6 cases) and plugin-grid ObjectGrid.richTextOneLine-12480 (new top-level describe, 1 case). Ablation via ablation-replace.mjs (src is resolved through the vitest alias, so no dist build was needed): HtmlCellRenderer face forced to 'document', anchor 1->0, blob baccb823->9b850e05. Result: 6 failed (4 html/richtext cell-face cases, the updated 12480 assertion, the new grid pin) | 8 passed (markdown cases and html/richtext document-face CONTROLs). Restored: blob == HEAD baccb823 and git diff HEAD is empty.",
"gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 1b5c106b: 38 families, all run :: exit 0 (record at /mnt/project-files/objectstack-seat2/36452-gates-ran.txt); --ran reconciliation exit 0: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. Also run: ui check:spec-symbols exit 0; check:new-line-citations 0 new (report-only, exit 0); overlap-check VERDICT clean exit 0. test:repo is owned by CI and was not run locally. PR check-runs on 1b5c106b had not appeared when this report was written (0 check-runs listed): in_progress / NOT MEASURED.",
"dogfood_battery": "n/a — the PR title has no `!` and Clause-② has no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 — git push of the branch (empty push, commit 4f80ba10, merge 1b5c106b; git, not REST); relay pr_create (POST /repos/objectstack-ai/objectstack/pulls plus the assignees leg, via fleet-write run 45083493847); post-stamped comment on issue 36452 (os-dev-report)",
"open_questions": [],
"security_findings": "withheld",
"out_of_scope_findings": [
"carrier: objectstack-seat2 · noted, not filed — the CellRendererProps.inGridColumn doc comment in ui/packages/fields/src/index.tsx still lists only the date and markdown cells as readers; the html/richtext cell now reads it too. That file is outside the dispatched file surface, so the comment was left unchanged (PR Acceptance notes).",
"carrier: objectstack-seat2 · deviation declared — ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx is outside the dispatched file surface (fields/src/**/__tests__/), but one of its assertions pinned the old h2 in a grid html cell, so it had to change; the grid-level pin went into the same harness as a top-level describe. The claim's file surface needs this path added."
]
}
Claim amendment (2026-11-22T23:32Z) to claim 7086897019 — File surface adds ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx (test only): one existing assertion pinned an h2 element inside the grid html cell, the behaviour this card removes, and now asserts [data-html-heading]; the card's grid-level pin is a new top-level describe in the same shared harness. PR #36566. No other surface change.
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(html and richtext cells) ·pm:queue; rationale: area:ux · Bug · an html or richtext cell may still draw a stored heading at full size in a list row (sibling of #36344, closed). UX has no p3 → p2 (was p3) · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Claim: PM loop round 2
Session:
session_01ADHkmRGDrq6JSytBsNFabUAccount:
os-steveArea: s2-D
Branch:
claude/issue-36452-html-cell-headingWorktree:
objectstack-issue-36452Domain:
domain:uiSeat:
repo:objectstack#2File surface:
ui/packages/fields/src/widgets/richTextDisplay.tsx(HtmlCellRenderer),ui/packages/fields/src/widgets/MarkdownContent.tsxonly to share its cell-face class, tests beside them underui/packages/fields/src/**/__tests__/, root.changeset/Container & model:
S (XS),mode:subagent,model: default (dispatch-gates --tier at 87c7bbaf: "no path-derived mandate"),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
platform code — ui/packages/fields HtmlCellRenderer draws sanitized html with no cell face (objectstack) | MarkdownContent's cell face (#36428) covers markdown only | any list reader of an html or richtext field whose stored value holds a heading; reach to be measured (card item 1)Thread-read: 7079376164
Premise: holds as read — at origin/main 87c7bba
richTextDisplay.tsx:135HtmlCellRenderertakes noinGridColumnand always drawsprose prose-sm, whileMarkdownCellRenderer(L100) passesface={inGridColumn ? 'cell' : 'document'}; the row-height effect is unmeasured and is the dev's first step (card item 1); a measured "no heading drawn" closes the card as premise refuted with no code.Pre-claim lane:
ui/packages/fields/**isdomain:ui, this seat'srepo:objectstackintake; dispatched by seat order 22:30Z (Steve 「派」 22:29Z, area:ux p2 without a topic parent).Pre-claim deps: no
Blocked-by:/ "after #N"; #36344 / PR #36428 merged; no open PR (42 read at 2026-11-22T22:32Z) touchesfields/src/widgets/richTextDisplay.tsx,sanitizedHtml.tsx,MarkdownContent.tsxorfields/src/index.tsx.Prior rulings read: fields,html,richtext,cell,draw,stored,heading,full,size,list → 163 hits; ADR-0061 D2, ADR-0005 Decision §5, ADR-0006 D2, ADR-0032 Decision §1, ADR-0053 Decision §5, ADR-0061 D3, ADR-0063 Decision §2, ADR-0079 D5, ADR-0081 Decision §1, ADR-0085 Decision §3 — none rules on cell typography; card body: sanitisation unchanged, record page and readonly form keep full-size headings; thread: none; repo: objectstack-ai/objectstack
Serial constraints cleared: none — sibling #36408 (same area, in flight) is on
app-shell/src/views/ObjectDataPage.tsx, disjointobjectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
os-dev-report
{ "issue": 36452, "status": "done", "branch": "claude/issue-36452-html-cell-heading", "pr": "https://github.com/objectstack-ai/objectstack/pull/36566", "session": "session_01ADHkmRGDrq6JSytBsNFabU", "premise_still_valid": true, "summary": "Measured first (card item 1): at origin/main 87c7bbaf, an html and a richtext value holding an h1, rendered through ObjectGrid, leave an H1 in tbody. Laid out in Chromium with the compiled console stylesheet, those rows are 45 px against 36 px for the markdown and plain rows, and the H1 is 30px/36px. HtmlCellRenderer now reads inGridColumn and draws the sanitized tree in the same cell face as the markdown cell: every heading level is p.font-semibold, and the body uses the cell's text size and line height. The face classes and the heading map now live once in richTextDisplay.tsx, and MarkdownContent imports them from there. renderSanitizedHtml takes an optional components map applied after sanitisation, so the sanitiser schema is unchanged. After the change tbody holds no heading, all four rows are 36 px and the heading is 14px; the record page and readonly forms keep the document face (CONTROL pins). Head 1b5c106b24fee15cd29d549f807e437adaa6a840 (merge of origin/main over 4f80ba10).", "tests": "at 1b5c106b (after merging origin/main): turbo build @object-ui/plugin-grid^... 53/53, fields + plugin-grid type-check exit 0, vitest packages/fields/ + ObjectGrid.richTextOneLine-12480: Test Files 323 passed | 1 skipped, Tests 4896 passed | 7 skipped, lock VERDICT command-exit 0. At 4f80ba10: vitest packages/fields/ packages/plugin-grid/: 629 passed | 1 skipped files, 7604 passed | 7 skipped tests, VERDICT 0. New pins: fields markdownCellHeading-36344 (new top-level describe, 6 cases) and plugin-grid ObjectGrid.richTextOneLine-12480 (new top-level describe, 1 case). Ablation via ablation-replace.mjs (src is resolved through the vitest alias, so no dist build was needed): HtmlCellRenderer face forced to 'document', anchor 1->0, blob baccb823->9b850e05. Result: 6 failed (4 html/richtext cell-face cases, the updated 12480 assertion, the new grid pin) | 8 passed (markdown cases and html/richtext document-face CONTROLs). Restored: blob == HEAD baccb823 and git diff HEAD is empty.", "gates": "dispatch-gates --commands --repo objectstack-ai/objectstack at 1b5c106b: 38 families, all run :: exit 0 (record at /mnt/project-files/objectstack-seat2/36452-gates-ran.txt); --ran reconciliation exit 0: 38 derived, 38 run, 0 NOT-MEASURED, 0 UNRUN. Also run: ui check:spec-symbols exit 0; check:new-line-citations 0 new (report-only, exit 0); overlap-check VERDICT clean exit 0. test:repo is owned by CI and was not run locally. PR check-runs on 1b5c106b had not appeared when this report was written (0 check-runs listed): in_progress / NOT MEASURED.", "dogfood_battery": "n/a — the PR title has no `!` and Clause-② has no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 — git push of the branch (empty push, commit 4f80ba10, merge 1b5c106b; git, not REST); relay pr_create (POST /repos/objectstack-ai/objectstack/pulls plus the assignees leg, via fleet-write run 45083493847); post-stamped comment on issue 36452 (os-dev-report)", "open_questions": [], "security_findings": "withheld", "out_of_scope_findings": [ "carrier: objectstack-seat2 · noted, not filed — the CellRendererProps.inGridColumn doc comment in ui/packages/fields/src/index.tsx still lists only the date and markdown cells as readers; the html/richtext cell now reads it too. That file is outside the dispatched file surface, so the comment was left unchanged (PR Acceptance notes).", "carrier: objectstack-seat2 · deviation declared — ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx is outside the dispatched file surface (fields/src/**/__tests__/), but one of its assertions pinned the old h2 in a grid html cell, so it had to change; the grid-level pin went into the same harness as a top-level describe. The claim's file surface needs this path added." ] }objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Claim amendment (2026-11-22T23:32Z) to claim 7086897019 — File surface adds
ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx(test only): one existing assertion pinned anh2element inside the grid html cell, the behaviour this card removes, and now asserts[data-html-heading]; the card's grid-level pin is a new top-level describe in the same shared harness. PR #36566. No other surface change.objectstack-fleet commentedon Nov 23, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRGDrq6JSytBsNFabU
Landed: PR #36566 merged (2026-11-23T00:14Z), closing this card via
Fixes #36452.pm:dispatchedremoved on close.fix(fields): an html or richtext cell holding a heading keeps the lis…