Repository navigation
feat(docs): wide tables take the room left of the text - #221
Conversation
Tables from comark-ui's new tableLayout plugin (onmax/comark-ui#451) are wide blocks. Drop gave a wide block the same room on both sides, the smaller of the two, so with the outline open a table stayed centred and never reached the empty space left of the text. Each side now gets its own room: --comark-wide-start is the space left of the column and --comark-wide-end the space right of it, less the panel and the outline. A doc with comment cards in the margin zeroes both. The outline counts a table as wide when comark-ui's width estimate passes the text, and lets it stack rather than give up its column, as a compare does. Bumps comark-ui, comark-chips, comark-comments and comark-linter to the PR's build. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Important
Two dependency-upgrade issues need addressing: documented diagram fences stop rendering, and existing cached documents do not receive the new table layout.
Reviewed changes — Reviewed the full PR, including the renderer dependency upgrade, document geometry, outline placement, and browser regression coverage.
- Renderer upgrade: Pins the four Comark dependencies to the upstream wide-table preview, including its additional preset behavior changes.
- Asymmetric wide blocks: Gives tables, comparisons, and diagrams independent room on either side while keeping comment margins reserved.
- Outline placement: Recognizes estimated table widths and retains the outline while cramped tables stack their prose columns.
- Browser coverage: Checks desktop leftward expansion, outline separation, single-line chips, and phone stacking without page overflow.
Validation: pnpm test passed with 751 tests and 3 skipped; changed-file lint and pnpm typecheck passed. Separate targeted reproductions confirmed both findings below.
gpt-6.1-sol(xhigh) | 𝕏
Latest result Pull request merged. Final answersSession Pull request merged. Ready: verified the expected HEAD, reviewed the diff and review bodies, and confirmed both earlier findings are fixed with resolved threads. Current hosted checks pass. Local lint and 25 focused tests passed; the browser test could not launch because Chromium is absent. No further repair or push was needed. Session Pull request evidence changed. Session Pull request evidence changed. |
There was a problem hiding this comment.
✅ No new issues found. No P0 or P1 findings remain.
Reviewed changes — Reviewed the changes since the previous Pullfrog review, focusing on renderer compatibility and refreshing existing documents after the preview upgrade.
- Bumped Markdown cache integrity to
+drop.24, so previously cached documents receive the wide-table renderer on their next read. - Added warm-cache regressions for both previous preview identities, checking width metadata, a single refresh, and subsequent cache hits.
- Preserved diagram rendering through the merge’s explicit
diagrams: trueand added a stubbed-Kroki regression asserting rendered Graphviz SVG.
Validation: all 36 focused tests passed, including wide-table layout and direct-page Mermaid CSP coverage; changed-file lint and pnpm typecheck passed.
gpt-6.1-sol(xhigh) | 𝕏

With the outline open, a wide table in a Markdown doc stays in the text column and wraps its ids into
port,al,#15,96, while the space left of the text sits empty.document-shell.cssgave a wide block the same room on both sides, the smaller one, since--comark-wide-endwasvar(--comark-wide-start)and both took off--drop-right. So a block beside the outline could never lean left.This gives each side its own room:
--comark-wide-startis the space left of the column, and--comark-wide-endthe space right of it less the panel and the outline. A doc with comment cards in the margin zeroes both, as before.OUTLINE_SCRIPTnow counts a table as wide when comark-ui's width estimate (data-width, in em) passes the text. Like a compare, a table can't push the outline out of its column; it stacks its prose columns instead.It needs onmax/comark-ui#451, which adds the table layout, and bumps comark-ui, comark-chips, comark-comments and comark-linter to that PR's build. The bump also brings what comark-ui merged since the last pin (#445, #447, #450). Lint, typecheck and the suite pass, except the Marker and Highlight text tip browser tests, which fail on
maintoo on my machine.test/viewer/wide-table-browser.test.mjsrenders a PR table in the viewer's frame. At 1600px the table starts more than 100px left of the text and the outline stays beside it. At 390px it stacks.Before/after for the table layout itself: Drop
🤖 Generated with Claude Code