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
List cell: a markdown value starting with a heading draws at heading size in the cell (truncated, and the row grows from 36 to 45 px) #36344
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
In a list with a markdown column shown, a value such as # Heading draws at H1 size inside the list cell, truncated to Headin…, and that row is 45 px tall against 36 px for a row with no rich values. It happens with no editor open.
Reading: Chromium at 1280 px, the showcase field zoo list, on PR #36278's head bc9b5c23 (that PR does not touch the display path: MarkdownCellRenderer, prose-sm). Found while dispatching #36023; not measured on main separately, but the display code is the same as main's.
Done when
A list cell draws markdown headings at the cell's own text size (a one-line preview), so a rich value does not change the row height.
A pin on the cell renderer with a heading value, with an ablation.
The record page and other full-size markdown displays keep their heading sizes.
Out of scope: in-cell editing of rich-text fields (#36023).
Triage: lands in domain:ui (MarkdownCellRenderer) · pm:queue; rationale: area:ux · Bug · a markdown value that starts with a heading draws at heading size in a list cell, truncated, and the row grows from 36 to 45 px. UX has no p3 → p2 (was p3) · size XS.
Claim: PM loop · area f7-list
Session: session_01QsR2jUc3qp6bHKSWijbjds
Account: zhuangjianguo
Branch: claude/issue-36344-markdown-cell-heading
Worktree: objectstack-issue-36344
Domain: domain:ui
Seat: repo:objectstack#7
Area: f7-list
File surface: ui/packages/fields/src/ (MarkdownCellRenderer in the cell renderers), a new card-named test, a changeset. ⛔ No change to full-size markdown displays (record page) beyond keeping them as they are (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: opus (default tier; dispatch-gates --tier: no path-derived mandate on ui/**), effort: medium (XS display fix)
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack ui/packages/fieldsMarkdownCellRenderer (prose-sm) | none | list users with a markdown column: a value starting with a heading draws at H1 size, truncated, and the row grows 36 → 45 px
Thread-read: 7075544580
Premise: holds by the card's browser reading on #36278's head (display code same as main's); the dev re-measures on origin/main first.
Pre-claim lane: repo:objectstack seat 7 area f7-list (ui/packages/fields).
Pre-claim deps: none. Out of scope per the card: in-cell editing of rich text (#36023, PR #36278).
Prior rulings read: card thread → triage only (7075544580); no ruling comment.
Fold-or-serial: not folded with #36004 (GridField ColumnHeaderHelp, other defect, other file); overlap-check before each push.
Serial constraints cleared: #36278 (open, rich-text in-cell edit; display path untouched per the card) — overlap-check before push
{
"issue": 36344,
"status": "done",
"branch": "claude/issue-36344-markdown-cell-heading",
"pr": "https://github.com/objectstack-ai/objectstack/pull/36428",
"session": "session_01QsR2jUc3qp6bHKSWijbjds",
"premise_still_valid": true,
"summary": "Premise re-measured on this branch's base: the defect reproduces (row 36 -> 45 px, H1 30px/36px line inside the grid's existing one-line clamp from objectui#12480). Fix is cell-scoped in ui/packages/fields: MarkdownContent gains a face prop (document default, unchanged; cell), and MarkdownCellRenderer picks the cell face when inGridColumn is set (ObjectGrid and RelatedList already pass it). The cell face draws h1-h6 as p.font-semibold (no heading element) and inherits the cell's font size and line height; record page and readonly form fields keep the document face and their h1. Draft PR #36428, final head e241a872, CI in_progress at report time.",
"tests": "Head e241a872, all under os-verify-lock. (1) 6 rich-text files (new markdownCellHeading-36344 + new describe in ObjectGrid.richTextOneLine-12480 + readonly-richtext-display-5498, richtext-cell-renderer-5452, cellRenderers.childlessContainer-8580, RelatedList.longFormColumns): Test Files 6 passed (6), Tests 55 passed (55), VERDICT command-exit 0. (2) pnpm --dir ui exec vitest run packages/fields/: Test Files 322 passed | 1 skipped (323), Tests 4846 passed | 7 skipped (4853). (3) type-check @object-ui/fields exit 0, @object-ui/plugin-grid exit 0 (tsc --noEmit && tsc -p tsconfig.test.json, after building the @object-ui/plugin-grid^... closure). Ablation (fix committed first, on 919a2f4f, pre-merge; merge touched none of the files read): scripts/ablation-replace.mjs on richTextDisplay.tsx, anchor face={inGridColumn ? 'cell' : 'document'} -> face={'document'}, anchor x1->x0, blob c327713e->a365cf70; result Test Files 2 failed | 1 passed (3), Tests 3 failed | 5 passed (8) - the 3 cell-face cases red (expected an h1 element to be null), record-page control and the original objectui#12480 cases green; restore: blob == HEAD c327713e, git diff HEAD empty. No dist step needed: ui/vitest.config.mts aliases @object-ui/fields to src. Pixel reading (Chromium 1280px, real ObjectGrid DOM from jsdom + the Console stylesheet compiled from ui/apps/console/src/index.css, temporary dump test not committed): before plain 36 / heading 45 / paragraph 36 / h2 36.5 px; after 36 / 36 / 36 / 36 px; record-page h1 30px both. NOT MEASURED: the running Console against a backend.",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands (no paths) -> 39 families for 6 paths; all 39 run, exit captured before any pipe, all exit 0 (pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174)); pnpm check:type-check-debt exit 3 (PREREQUISITE NOT MET) in the first sweep, exit 0 on re-run ('check-type-check-coverage --re-measure: OK'). --ran: '39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero — all 39 recorded an exit code and none of them is 3)'. overlap-check: VERDICT clean exit 0 (0 open PR heads share a file; #36278 does not). check-platform-checklist not owed (no export renamed or removed). CI on e241a872 at report time: all gate-carrying runs in_progress (Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards); UI jobs not yet listed. No CI conclusion is claimed.",
"dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm",
"line_budget": "199 changed lines (+192 / -7) over 6 files, under the 3000 human-merge threshold; no skills/** touched, no ratchet ledger touched",
"files_changed": [
".changeset/36344-markdown-cell-heading.md",
"ui/packages/fields/src/widgets/MarkdownContent.tsx",
"ui/packages/fields/src/widgets/richTextDisplay.tsx",
"ui/packages/fields/src/index.tsx (inGridColumn JSDoc only)",
"ui/packages/fields/src/__tests__/markdownCellHeading-36344.test.tsx",
"ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx (new top-level describe)"
],
"deviations": [
"File surface: one test-only file outside the claimed ui/packages/fields/src/ surface - a new top-level describe in plugin-grid's existing one-line-clamp harness (AGENTS rule: a new pin for a component with a shared harness goes into that file); it pins the row-height contract through the real ObjectGrid. No plugin-grid source changed.",
"Build closure narrowed in two steps: first only the @objectstack/* packages ui tests read from dist (spec, formula, client, lint, core, types and their deps; @object-ui/* resolve to src via the vitest alias), then the @object-ui/plugin-grid^... closure for type-check. Declared.",
"Merged origin/main into the branch (e241a872) before the final runs, per AGENTS multi-agent section 10; rebuilt what it touched.",
"Commit trailers use the AGENTS.md model-free pair, not the harness reminder's model-named Co-Authored-By line; PR body footer uses the AGENTS session-URL form, not the harness's alternative footer.",
"One command (pnpm check:type-check-debt re-run) was moved to the background by the harness's 300s timeout; it completed (exit 0) before this report; nothing of mine is left running.",
"Lock queue: four queue-timeouts (exit 99, NOT MEASURED) while waiting; each re-entered with the same slot."
],
"mcp_calls": "0",
"api_writes": "2 relay dispatches (POST /repos/objectstack-ai/objectstack/dispatches via scripts/pm/fleet-write/dispatch.mjs): (1) pr_create -> POST /pulls (draft) + POST /issues/36428/assignees [zhuangjianguo]; (2) this os-dev-report comment -> POST /issues/36344/comments via post-stamped.mjs. Plus git push (not REST).",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none · noted in the PR's Acceptance notes, not filed: the html/richtext cell (HtmlCellRenderer, renderSanitizedHtml) keeps heading elements under the same prose prose-sm in a grid cell, so a stored h1 tag should grow the row the same way; read from code only, no public-door reach measured · dedupe words: HtmlCellRenderer heading grid row height, richtext cell h1 list, prose-sm grid cell heading"
]
}
area:uxbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpm:dispatchedDispatched to a dev agent by /pm-dispatchpriority:p2Medium: important, M3
Activity
objectstack-fleet commentedon Nov 22, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in
domain:ui(MarkdownCellRenderer) ·pm:queue; rationale: area:ux · Bug · a markdown value that starts with a heading draws at heading size in a list cell, truncated, and the row grows from 36 to 45 px. UX has no p3 → p2 (was p3) · size XS.objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jUc3qp6bHKSWijbjds
Claim: PM loop · area f7-list
Session:
session_01QsR2jUc3qp6bHKSWijbjdsAccount:
zhuangjianguoBranch:
claude/issue-36344-markdown-cell-headingWorktree:
objectstack-issue-36344Domain:
domain:uiSeat:
repo:objectstack#7Area: f7-list
File surface:
ui/packages/fields/src/(MarkdownCellRendererin the cell renderers), a new card-named test, a changeset. ⛔ No change to full-size markdown displays (record page) beyond keeping them as they are (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: opus(default tier;dispatch-gates --tier: no path-derived mandate onui/**),effort: medium(XS display fix)Clause-②: no
Metadata-protocol: none
Responsibility: objectstack
ui/packages/fieldsMarkdownCellRenderer(prose-sm) | none | list users with a markdown column: a value starting with a heading draws at H1 size, truncated, and the row grows 36 → 45 pxThread-read: 7075544580
Premise: holds by the card's browser reading on #36278's head (display code same as main's); the dev re-measures on origin/main first.
Pre-claim lane: repo:objectstack seat 7 area f7-list (
ui/packages/fields).Pre-claim deps: none. Out of scope per the card: in-cell editing of rich text (#36023, PR #36278).
Prior rulings read: card thread → triage only (7075544580); no ruling comment.
Fold-or-serial: not folded with #36004 (GridField ColumnHeaderHelp, other defect, other file); overlap-check before each push.
Serial constraints cleared: #36278 (open, rich-text in-cell edit; display path untouched per the card) — overlap-check before push
objectstack-fleet commentedon Nov 22, 2026
repo:objectstack#7 · zhuangjianguo · session_01QsR2jUc3qp6bHKSWijbjds
os-dev-report
{ "issue": 36344, "status": "done", "branch": "claude/issue-36344-markdown-cell-heading", "pr": "https://github.com/objectstack-ai/objectstack/pull/36428", "session": "session_01QsR2jUc3qp6bHKSWijbjds", "premise_still_valid": true, "summary": "Premise re-measured on this branch's base: the defect reproduces (row 36 -> 45 px, H1 30px/36px line inside the grid's existing one-line clamp from objectui#12480). Fix is cell-scoped in ui/packages/fields: MarkdownContent gains a face prop (document default, unchanged; cell), and MarkdownCellRenderer picks the cell face when inGridColumn is set (ObjectGrid and RelatedList already pass it). The cell face draws h1-h6 as p.font-semibold (no heading element) and inherits the cell's font size and line height; record page and readonly form fields keep the document face and their h1. Draft PR #36428, final head e241a872, CI in_progress at report time.", "tests": "Head e241a872, all under os-verify-lock. (1) 6 rich-text files (new markdownCellHeading-36344 + new describe in ObjectGrid.richTextOneLine-12480 + readonly-richtext-display-5498, richtext-cell-renderer-5452, cellRenderers.childlessContainer-8580, RelatedList.longFormColumns): Test Files 6 passed (6), Tests 55 passed (55), VERDICT command-exit 0. (2) pnpm --dir ui exec vitest run packages/fields/: Test Files 322 passed | 1 skipped (323), Tests 4846 passed | 7 skipped (4853). (3) type-check @object-ui/fields exit 0, @object-ui/plugin-grid exit 0 (tsc --noEmit && tsc -p tsconfig.test.json, after building the @object-ui/plugin-grid^... closure). Ablation (fix committed first, on 919a2f4f, pre-merge; merge touched none of the files read): scripts/ablation-replace.mjs on richTextDisplay.tsx, anchor face={inGridColumn ? 'cell' : 'document'} -> face={'document'}, anchor x1->x0, blob c327713e->a365cf70; result Test Files 2 failed | 1 passed (3), Tests 3 failed | 5 passed (8) - the 3 cell-face cases red (expected an h1 element to be null), record-page control and the original objectui#12480 cases green; restore: blob == HEAD c327713e, git diff HEAD empty. No dist step needed: ui/vitest.config.mts aliases @object-ui/fields to src. Pixel reading (Chromium 1280px, real ObjectGrid DOM from jsdom + the Console stylesheet compiled from ui/apps/console/src/index.css, temporary dump test not committed): before plain 36 / heading 45 / paragraph 36 / h2 36.5 px; after 36 / 36 / 36 / 36 px; record-page h1 30px both. NOT MEASURED: the running Console against a backend.", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands (no paths) -> 39 families for 6 paths; all 39 run, exit captured before any pipe, all exit 0 (pnpm --dir ui exec vitest run scripts/: Test Files 172 passed | 2 skipped (174)); pnpm check:type-check-debt exit 3 (PREREQUISITE NOT MET) in the first sweep, exit 0 on re-run ('check-type-check-coverage --re-measure: OK'). --ran: '39 derived famil(ies) accounted for — 39 run, 0 NOT-MEASURED (a DERIVED zero — all 39 recorded an exit code and none of them is 3)'. overlap-check: VERDICT clean exit 0 (0 open PR heads share a file; #36278 does not). check-platform-checklist not owed (no export renamed or removed). CI on e241a872 at report time: all gate-carrying runs in_progress (Check Changeset, Lint jobs, Type Check jobs, Governed Surface Queue Guard, PR-body guards); UI jobs not yet listed. No CI conclusion is claimed.", "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm", "line_budget": "199 changed lines (+192 / -7) over 6 files, under the 3000 human-merge threshold; no skills/** touched, no ratchet ledger touched", "files_changed": [ ".changeset/36344-markdown-cell-heading.md", "ui/packages/fields/src/widgets/MarkdownContent.tsx", "ui/packages/fields/src/widgets/richTextDisplay.tsx", "ui/packages/fields/src/index.tsx (inGridColumn JSDoc only)", "ui/packages/fields/src/__tests__/markdownCellHeading-36344.test.tsx", "ui/packages/plugin-grid/src/__tests__/ObjectGrid.richTextOneLine-12480.test.tsx (new top-level describe)" ], "deviations": [ "File surface: one test-only file outside the claimed ui/packages/fields/src/ surface - a new top-level describe in plugin-grid's existing one-line-clamp harness (AGENTS rule: a new pin for a component with a shared harness goes into that file); it pins the row-height contract through the real ObjectGrid. No plugin-grid source changed.", "Build closure narrowed in two steps: first only the @objectstack/* packages ui tests read from dist (spec, formula, client, lint, core, types and their deps; @object-ui/* resolve to src via the vitest alias), then the @object-ui/plugin-grid^... closure for type-check. Declared.", "Merged origin/main into the branch (e241a872) before the final runs, per AGENTS multi-agent section 10; rebuilt what it touched.", "Commit trailers use the AGENTS.md model-free pair, not the harness reminder's model-named Co-Authored-By line; PR body footer uses the AGENTS session-URL form, not the harness's alternative footer.", "One command (pnpm check:type-check-debt re-run) was moved to the background by the harness's 300s timeout; it completed (exit 0) before this report; nothing of mine is left running.", "Lock queue: four queue-timeouts (exit 99, NOT MEASURED) while waiting; each re-entered with the same slot." ], "mcp_calls": "0", "api_writes": "2 relay dispatches (POST /repos/objectstack-ai/objectstack/dispatches via scripts/pm/fleet-write/dispatch.mjs): (1) pr_create -> POST /pulls (draft) + POST /issues/36428/assignees [zhuangjianguo]; (2) this os-dev-report comment -> POST /issues/36344/comments via post-stamped.mjs. Plus git push (not REST).", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none · noted in the PR's Acceptance notes, not filed: the html/richtext cell (HtmlCellRenderer, renderSanitizedHtml) keeps heading elements under the same prose prose-sm in a grid cell, so a stored h1 tag should grow the row the same way; read from code only, no public-door reach measured · dedupe words: HtmlCellRenderer heading grid row height, richtext cell h1 list, prose-sm grid cell heading" ] }fix(fields): a markdown heading in a list cell draws at the cell's te…