Skip to content

fix(annotate): draw a screenshot written in a table cell as a thumbnail - #486

Merged
vite-hub[bot] merged 1 commit into
mainfrom
t3/annotated-thumbnails-fixes
Nov 24, 2026
Merged

vite-hub[bot] merged 1 commit into
mainfrom
t3/annotated-thumbnails-fixes

Conversation

@onmax

@onmax onmax commented Nov 24, 2026

Copy link
Copy Markdown
Owner

Follow-up to #485.

A :screenshot{src="…" alt="…"} written in a table cell, with no of, 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 passed
  • pnpm check: 0 errors

🤖 Generated with Claude Code

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-24T14:08:04.528960Z
We couldn’t complete this review. Comment @codex review to try again.
f7332a3 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vite-hub

vite-hub Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed 2026-11-24T14:20:10.090Z 1s
View session Last seen running 2026-11-24T14:16:51.346Z 2s
View session Cancelled 2026-11-24T14:16:12.297Z 34s

Latest result

PR closed or outside the configured filter.

Final answers

Session

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.

@pkg-pr-new

pkg-pr-new Bot commented Nov 24, 2026

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

pnpm add https://pkg.pr.new/comark-annotate@486

comark-badge

pnpm add https://pkg.pr.new/comark-badge@486

comark-bundle

pnpm add https://pkg.pr.new/comark-bundle@486

comark-cards

pnpm add https://pkg.pr.new/comark-cards@486

comark-carousel

pnpm add https://pkg.pr.new/comark-carousel@486

comark-cast

pnpm add https://pkg.pr.new/comark-cast@486

comark-charts

pnpm add https://pkg.pr.new/comark-charts@486

comark-chat

pnpm add https://pkg.pr.new/comark-chat@486

comark-chips

pnpm add https://pkg.pr.new/comark-chips@486

comark-cjk

pnpm add https://pkg.pr.new/comark-cjk@486

comark-code

pnpm add https://pkg.pr.new/comark-code@486

comark-code-notes

pnpm add https://pkg.pr.new/comark-code-notes@486

comark-colors

pnpm add https://pkg.pr.new/comark-colors@486

comark-comments

pnpm add https://pkg.pr.new/comark-comments@486

comark-critic

pnpm add https://pkg.pr.new/comark-critic@486

comark-deflist

pnpm add https://pkg.pr.new/comark-deflist@486

comark-details

pnpm add https://pkg.pr.new/comark-details@486

comark-diagrams

pnpm add https://pkg.pr.new/comark-diagrams@486

comark-diff

pnpm add https://pkg.pr.new/comark-diff@486

comark-embed

pnpm add https://pkg.pr.new/comark-embed@486

comark-fields

pnpm add https://pkg.pr.new/comark-fields@486

comark-figure

pnpm add https://pkg.pr.new/comark-figure@486

comark-file-tree

pnpm add https://pkg.pr.new/comark-file-tree@486

comark-footnotes

pnpm add https://pkg.pr.new/comark-footnotes@486

comark-git-graph

pnpm add https://pkg.pr.new/comark-git-graph@486

comark-github

pnpm add https://pkg.pr.new/comark-github@486

comark-icon

pnpm add https://pkg.pr.new/comark-icon@486

comark-include

pnpm add https://pkg.pr.new/comark-include@486

comark-keys

pnpm add https://pkg.pr.new/comark-keys@486

comark-links

pnpm add https://pkg.pr.new/comark-links@486

comark-linter

pnpm add https://pkg.pr.new/comark-linter@486

comark-magic-move

pnpm add https://pkg.pr.new/comark-magic-move@486

comark-mark

pnpm add https://pkg.pr.new/comark-mark@486

markdown-it-to-comark

pnpm add https://pkg.pr.new/markdown-it-to-comark@486

marked-to-comark

pnpm add https://pkg.pr.new/marked-to-comark@486

comark-mathml

pnpm add https://pkg.pr.new/comark-mathml@486

comark-media

pnpm add https://pkg.pr.new/comark-media@486

comark-metrics

pnpm add https://pkg.pr.new/comark-metrics@486

migrate-to-comark

pnpm add https://pkg.pr.new/migrate-to-comark@486

comark-motion

pnpm add https://pkg.pr.new/comark-motion@486

comark-outline

pnpm add https://pkg.pr.new/comark-outline@486

comark-properties

pnpm add https://pkg.pr.new/comark-properties@486

comark-qr

pnpm add https://pkg.pr.new/comark-qr@486

comark-quiz

pnpm add https://pkg.pr.new/comark-quiz@486

comark-reading-time

pnpm add https://pkg.pr.new/comark-reading-time@486

remark-to-comark

pnpm add https://pkg.pr.new/remark-to-comark@486

comark-sources

pnpm add https://pkg.pr.new/comark-sources@486

comark-steps

pnpm add https://pkg.pr.new/comark-steps@486

comark-table

pnpm add https://pkg.pr.new/comark-table@486

comark-tabs

pnpm add https://pkg.pr.new/comark-tabs@486

comark-tests

pnpm add https://pkg.pr.new/comark-tests@486

comark-time

pnpm add https://pkg.pr.new/comark-time@486

comark-ui

pnpm add https://pkg.pr.new/comark-ui@486

comark-xref

pnpm add https://pkg.pr.new/comark-xref@486

comark-zoom

pnpm add https://pkg.pr.new/comark-zoom@486

commit: f7332a3

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ℹ️ 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.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-6.2-sol(high) | 𝕏

Comment thread skills/comark-ui/references/annotate.md Resolved
@vite-hub
vite-hub Bot merged commit a315bfc into main Nov 24, 2026
7 checks passed
@vite-hub
vite-hub Bot deleted the t3/annotated-thumbnails-fixes branch November 24, 2026 14:20
@github-actions github-actions Bot mentioned this pull request Nov 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant