Repository navigation
fix(annotate): draw a screenshot written in a table cell as a thumbnail - #486
Conversation
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. |
Latest result PR closed or outside the configured filter. Final answersSession PR closed or outside the configured filter. Session Merged f7332a3 directly: required checks passed and review threads were resolved. Session Pass interrupted; current webhook state retained. Session Pass interrupted; current webhook state retained. Session Pass interrupted; current webhook state retained. Session Pass interrupted; current webhook state retained. Session Pass interrupted; current webhook state retained. |
comark-annotate
comark-badge
comark-bundle
comark-cards
comark-carousel
comark-cast
comark-charts
comark-chat
comark-chips
comark-cjk
comark-code
comark-code-notes
comark-colors
comark-comments
comark-critic
comark-deflist
comark-details
comark-diagrams
comark-diff
comark-embed
comark-fields
comark-figure
comark-file-tree
comark-footnotes
comark-git-graph
comark-github
comark-icon
comark-include
comark-keys
comark-links
comark-linter
comark-magic-move
comark-mark
markdown-it-to-comark
marked-to-comark
comark-mathml
comark-media
comark-metrics
migrate-to-comark
comark-motion
comark-outline
comark-properties
comark-qr
comark-quiz
comark-reading-time
remark-to-comark
comark-sources
comark-steps
comark-table
comark-tabs
comark-tests
comark-time
comark-ui
comark-xref
comark-zoom
commit: |
There was a problem hiding this comment.
ℹ️ One documentation fix inline. No P0 or P1 findings.
Approach: Sound — marking direct screenshots during parsing reuses the existing thumbnail renderer and keeps of references limited to standalone screenshots.
Reviewed changes — I checked the parser, HTML rendering, table layout, and authoring examples. All 157 focused tests passed.
- Thumbnail handling: Screenshots written in table cells use the existing thumbnail path without becoming targets for
of. - Regression coverage and docs: The test covers rendering and reference resolution; the screenshot page and agent references explain the direct syntax.
gpt-6.2-sol(high) | 𝕏

Follow-up to #485.
A
:screenshot{src="…" alt="…"}written in a table cell, with noof, rendered the full framed figure inside the cell and reported nothing. With an id it also registered as a block, so another cell naming it would have moved it out of its own cell.Now a screenshot written in a cell is a thumbnail there, like the ones a cell names, and is never the block another cell fetches. Only the parse plugin changes: it marks the node
data-thumbnail, and the renderer and styles from #485 draw it, so the look is the one that PR's evidence shows.The screenshot page and the skill reference say a screenshot with no annotations can go in the cell itself.
Checks
vp test run packages/annotate/test/annotate.test.ts packages/ui/test/table-layout.test.ts packages/lint/test/lint.test.ts: 157 passedpnpm check: 0 errors🤖 Generated with Claude Code