Skip to content

feat(social): ::conversation - #501

Merged
vite-hub[bot] merged 2 commits into
mainfrom
feat/social-conversation
Nov 28, 2026
Merged

vite-hub[bot] merged 2 commits into
mainfrom
feat/social-conversation

Conversation

@onmax

@onmax onmax commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Adds ::conversation to comark-social: a DM or group chat drawn as one card, with :::message blocks as bubbles. It builds on ::post from #496.

Plan: https://drop.vitehub.dev/d/wtn1zg3tajmt/social-poll-drop-plan

What changed

  • Block. ::conversation{me platform title request} holds :::message{from avatar time} blocks and draws them in order.
    • me's messages sit on the right, in the primary color. Everyone else's sit on the left, by their avatar or their initial.
    • The header shows the title (or the other people's names), the platform's logo, and a "Message request" pill when request is set.
    • A message's body is Markdown, and pictures alone in a paragraph become a grid, as in a post.
  • Renderers. HTML, Vue, React, and Svelte each get a Conversation component. The card carries data-comark-frame, and each bubble starts with the sender's name for screen readers.
  • Issues.
    • COMARK4912 conversation-content: a block in a conversation that isn't a message. It's left out.
    • COMARK4913 empty-conversation: a conversation with no messages. It renders nothing.
    • COMARK4914 missing-sender: a message with no from. It shows on the left with no name.
    • unknown-prop, invalid-url, invalid-time, and unknown-platform cover the new props too. Each rule has a doctor page.
  • Wiring. comark-ui's tags (ol, li), vue-lazy, and info include the conversation and the message. The docs page, the skill reference, SKILL.md, and the README cover it. comark-ui's preset lists message in its blocks, and comark-linter and the docs' doctor know it, since the parse draws each message into its conversation and no renderer has a message component.

Decisions

  • Color. me's bubbles use --comark-primary, so the card follows the page's theme rather than each platform's blue.
  • Runs. Consecutive messages from one sender are a run: the avatar shows by the run's last message, as Messages and Instagram do.
  • Names. A sender's name shows over their first message only in a group, when more than one other person writes. In a one-to-one chat the header already names them.
  • Avatars. A sender's avatar, written on any one of their messages, shows by all of them, so it's written once.
  • Times. A date shows as a date; an instant shows the date and the time of day, in timeZone.
  • Links. With comark-chips or comark-github's references on, the card sets chip="false" and references="false", so handles and #7 stay as written, as in a post.
  • Empty. A conversation with no messages renders nothing, with an issue, rather than an empty frame.

How it was checked

  • vp test run for packages/social: sides, runs, group names, shared avatars, times, the request pill, stray and empty content, a missing sender, and HTML, Vue, React, and Svelte giving the same markup (Svelte compiled).
  • comark-ui's ui (handles stay as written), tags, info, and browser-plugins tests, and the root doctor and workspace tests.
  • pnpm typecheck, the package's Vite Doctor run under the strict preset plus lint:docs, vp fmt, and vp lint.

🤖 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-28T13:40:27.156123Z
We couldn’t complete this review. Comment @codex review to try again.
2f32b35 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.

@onmax

onmax commented Nov 28, 2026

Copy link
Copy Markdown
Owner Author

Before/after on Drop

@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

Outgoing bubbles can render fenced code nearly unreadable, and a custom title can hide who sent the incoming messages. Timestamp validation also disagrees with rendering around daylight-saving transitions.

Approach: Normalizing conversations to plain elements during parsing is a good fit for keeping all four renderers in sync.

Reviewed changes against feat/social-post:

  • Conversation parsing and rendering. Reviewed message attribution, avatar reuse, timestamps, Markdown and media, empty blocks, and the HTML, Vue, React, and Svelte wrappers.
  • Preset and authoring integration. Reviewed lazy loading, component metadata, lint and Doctor rules, examples, and skill documentation.
  • Verification. All 862 focused tests passed. The findings below were reproduced separately through public renderers and, for contrast, in Chromium.

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

Comment thread packages/social/src/styles.ts Resolved
Comment thread packages/social/src/conversation.ts Resolved
Comment thread packages/social/src/conversation.ts Resolved
@vite-hub
vite-hub Bot changed the base branch from feat/social-post to main November 28, 2026 13:50
@onmax
onmax force-pushed the feat/social-conversation branch from 2f32b35 to 195a160 Compare November 28, 2026 14:00
@onmax
onmax force-pushed the feat/social-conversation branch from 195a160 to 2a65dd4 Compare November 28, 2026 14:01
@vite-hub

vite-hub Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor
Session Status Started Duration
Pending Completed 2026-11-28T14:43:56.237Z 23s
View session Completed 2026-11-28T14:37:07.942Z 4m 11s
View session Last seen running 2026-11-28T14:16:49.512Z 1s
View session Cancelled 2026-11-28T14:13:58.438Z 2m 11s

Latest result

Merged 7035e46 directly: required checks passed and review threads were resolved.

Final answers

Session

Merged 7035e46 directly: required checks passed and review threads were resolved.

View session

PR #501 is ready to merge. The current head fixes outgoing Markdown contrast, sender attribution with custom titles, timestamp validation, and lint locations after skipped blocks. All review threads are resolved and all GitHub checks passed. Locally, 36 focused tests passed and `vp lint` completed with warnings but no errors. No new commit was needed.

Session

Pull request evidence changed.

Session

Waiting for running checks before the next pass.

Session

Waiting for running checks before the next pass.

@pkg-pr-new

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

Copy link
Copy Markdown

Open in StackBlitz

comark-annotate

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

comark-badge

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

comark-bundle

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

comark-cards

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

comark-carousel

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

comark-cast

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

comark-charts

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

comark-chat

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

comark-chips

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

comark-cjk

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

comark-code

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

comark-code-notes

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

comark-colors

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

comark-comments

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

comark-critic

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

comark-deflist

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

comark-details

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

comark-diagrams

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

comark-diff

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

comark-embed

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

comark-fields

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

comark-figure

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

comark-file-tree

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

comark-footnotes

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

comark-git-graph

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

comark-github

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

comark-icon

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

comark-include

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

comark-keys

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

comark-links

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

comark-linter

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

comark-magic-move

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

comark-mark

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

markdown-it-to-comark

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

marked-to-comark

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

comark-mathml

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

comark-media

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

comark-metrics

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

migrate-to-comark

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

comark-motion

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

comark-outline

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

comark-properties

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

comark-qr

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

comark-quiz

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

comark-reading-time

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

remark-to-comark

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

comark-social

pnpm add https://pkg.pr.new/comark-social@501

comark-sources

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

comark-steps

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

comark-table

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

comark-tabs

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

comark-tests

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

comark-time

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

comark-ui

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

comark-xref

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

comark-zoom

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

commit: 7035e46

@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 P0 or P1 findings. One lint location regression is noted inline.

Reviewed changes since 2f32b354:

  • Rebased onto the merged ::post implementation: Kept the reviewed conversation rendering and adopted the base branch’s fetch policy and quote completion.
  • Combined post and conversation traversal: Checked how the shared walk numbers blocks for lint diagnostics while deciding which ones to render.

All 33 focused tests passed. I reproduced the misplaced diagnostics separately through lint().

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

Comment thread packages/social/src/index.ts Resolved

@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; no P0 or P1 findings remain.

Reviewed changes since 2a65dd4:

  • Restored outgoing Markdown contrast. Checked quotes, fenced code, and inline code in neutral and branded light themes.
  • Preserved sender attribution. Verified that a custom title no longer hides the incoming sender’s name.
  • Aligned timestamp validation and rendering. Verified that both use the configured time zone, including across a daylight-saving gap.
  • Preserved lint locations. Verified that skipped nested blocks still count toward source ordinals in both nesting directions.

All 402 focused tests and all 8 Chromium contrast tests passed.

Pullfrog  | View workflow run | Using gpt-6.2-sol(high) | 𝕏

@vite-hub
vite-hub Bot merged commit 708af10 into main Nov 28, 2026
7 checks passed
@vite-hub
vite-hub Bot deleted the feat/social-conversation branch November 28, 2026 14:44
@github-actions github-actions Bot mentioned this pull request Nov 28, 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