Skip to content

fix(canvas): render full activity messages and native references - #3942

Merged
trunk-io[bot] merged 6 commits into
mainfrom
posthog-code/native-thread-mention-chips
Jul 29, 2026
Merged

fix(canvas): render full activity messages and native references#3942
trunk-io[bot] merged 6 commits into
mainfrom
posthog-code/native-thread-mention-chips

Conversation

@puemos

@puemos puemos commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Problem

Structured references in task comments were shown as raw XML-like tags instead of native inline chips.

Changes

  • Render the shared structured-reference format through existing native chip components in task comments and activity previews.
  • Keep chips inline and truncate long labels without introducing new lines.
  • Validate GitHub references before making them interactive.

Why: Task discussions should display references consistently with the composer and agent transcript instead of exposing their serialization format.

Show me!!

image

How did you test this?

  • pnpm --filter @posthog/ui exec vitest run src/features/canvas/components/MentionText.test.tsx
  • pnpm --filter @posthog/ui typecheck
  • pnpm exec biome check packages/ui/src/features/canvas/components/MentionText.tsx packages/ui/src/features/canvas/components/MentionText.test.tsx

Automatic notifications

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
@trunk-io

trunk-io Bot commented Jul 29, 2026

Copy link
Copy Markdown

😎 Merged successfully - details.

@github-actions

github-actions Bot commented Jul 29, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 458f1ce.

@posthog

posthog Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

👋 Visual changes detected for this PR.

Review and approve in PostHog Visual Review

If these changes are unexpected, they may be caused by a flaky test or a broken snapshot on master. Don't approve — rerun the job or wait for a fix.

puemos added 4 commits July 29, 2026 14:44
Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
@puemos puemos changed the title Render structured thread references as inline chips fix(canvas): render full activity messages and native references Jul 29, 2026
Generated-By: PostHog Code
Task-Id: 6b917101-5b31-4195-81cf-f258a46a56a2
@puemos
puemos marked this pull request as ready for review July 29, 2026 13:56
@trunk-io
trunk-io Bot merged commit 271fe9b into main Jul 29, 2026
39 checks passed
@trunk-io
trunk-io Bot deleted the posthog-code/native-thread-mention-chips branch July 29, 2026 14:24
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.

2 participants