Skip to content

fix(critic): draw a comment as a note with a speech bubble, not an inline-code pill - #365

Merged
vite-hub[bot] merged 3 commits into
mainfrom
fix/critic-comments
Nov 5, 2026
Merged

vite-hub[bot] merged 3 commits into
mainfrom
fix/critic-comments

Conversation

@onmax

@onmax onmax commented Nov 5, 2026 •

Copy link
Copy Markdown
Owner

A CriticMarkup comment, such as {>>Pineapple still needs a vote.<<}, draws as a tinted pill with a hairline edge. That is how most docs themes draw inline code, so the note reads as code inside the sentence.

This PR removes the edge and puts Lucide's speech bubble, in the comment's color, before the text. The tint, size, and margins stay the same. Comments no longer read --comark-border, so the token table drops it.

The docs app doesn't load these styles yet (#366 fixes that), so the before/after on Drop compares main's and this branch's css on the same @comark/html render, at 390px.

The new test fails on main and passes here.

pnpm ready passes with all six demo fixes merged (133 test files, 2,748 tests, builds, typechecks, Doctor). I checked light mode at 390px and 1280px in Chromium, not dark mode or other browsers.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-05T17:33:14.821612Z
We couldn’t complete this review. Comment @codex review to try again.
581403c 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.

@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.

Important

The visual change is sound, but the newly embedded third-party icon needs its redistribution notices included before release.

Reviewed changes Reviewed the CriticMarkup comment presentation and its documentation and test coverage.

  • Comment styling Removes the bordered pill treatment and adds a current-color speech-bubble mask while preserving the existing tint, type size, spacing, and theme variables.
  • Documentation Describes comments as muted notes, removes the obsolete --comark-border token use, and credits Lucide.
  • Regression coverage Verifies unchanged comment markup, absence of the edge, and presence of the mask; the focused 13-test suite and package build passed.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using gpt-5.6-sol | 𝕏

Comment thread packages/critic/src/styles.ts Resolved
@vite-hub

vite-hub Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed Not started —

Latest result

Pull request merged.

Final answers

Session

Pull request merged.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

Session

Pushed 8ae86ed resolving the merge conflict while preserving the completed clipboard-write wait. Critic tests passed 13/13; focused Playwright passed both clipboard cases. Scoped lint, formatting, typecheck, and git diff --check passed. Pullfrog’s prior license finding remains fixed; no actionable findings remain. Awaiting hosted checks and automated review.

@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.

✅ No new issues found.

Reviewed changes Reviewed the follow-up commit since the prior Pullfrog review.

  • License notices Appended the Lucide ISC and applicable Feather MIT notices for the embedded message-square icon, resolving the prior release-blocking concern.
  • Clipboard E2E synchronization Replaced clipboard-type polling with a wait for the Copied status, which is emitted only after navigator.clipboard.write() resolves, before decoding the PNG.
  • Verification All 13 focused Critic tests pass; the targeted annotate E2E could not launch locally because the runner lacks the Playwright Chromium binary.

Pullfrog  | View workflow run | Using gpt-5.6-sol | 𝕏

@pkg-pr-new

pkg-pr-new Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

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

comark-badge

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

comark-cards

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

comark-carousel

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

comark-cast

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

comark-charts

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

comark-chat

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

comark-chips

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

comark-cjk

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

comark-code

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

comark-code-notes

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

comark-colors

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

comark-comments

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

comark-critic

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

comark-deflist

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

comark-details

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

comark-diagrams

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

comark-diff

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

comark-embed

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

comark-fields

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

comark-figure

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

comark-file-tree

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

comark-footnotes

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

comark-github

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

comark-icon

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

comark-include

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

comark-keys

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

comark-links

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

comark-linter

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

comark-magic-move

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

comark-mark

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

markdown-it-to-comark

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

marked-to-comark

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

comark-mathml

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

comark-media

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

comark-metrics

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

migrate-to-comark

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

comark-outline

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

comark-properties

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

comark-qr

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

comark-quiz

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

comark-reading-time

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

remark-to-comark

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

comark-sources

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

comark-steps

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

comark-table

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

comark-tabs

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

comark-tests

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

comark-time

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

comark-ui

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

comark-xref

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

comark-zoom

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

commit: 8ae86ed

@vite-hub
vite-hub Bot merged commit 8753a18 into main Nov 5, 2026
6 checks passed
@vite-hub
vite-hub Bot deleted the fix/critic-comments branch November 5, 2026 18:37
This was referenced Nov 5, 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