refactor(canvas): share thread and PR artifact logic (1/4) - #3812
Merged
trunk-io[bot] merged 2 commits intoJul 28, 2026
Conversation
|
😎 Merged successfully - details. |
2 tasks
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
2 tasks
Contributor
Author
This stack of pull requests is managed by Graphite. Learn more about stacking. |
This was referenced Jul 25, 2026
puemos
marked this pull request as ready for review
July 27, 2026 07:07
Extract the task thread conversation behavior and PR artifact presentation used by existing channel surfaces. This is behavior-neutral groundwork for the structured Activity view. Generated-By: PostHog Code Task-Id: 6190e713-9b80-43d9-a05c-5e3b1ecdf297
Generated-By: PostHog Code Task-Id: 6190e713-9b80-43d9-a05c-5e3b1ecdf297
puemos
force-pushed
the
posthog-code/channels-stack-1-activity-refactors
branch
from
July 27, 2026 18:44
0b813d4 to
e04e1a2
Compare
k11kirky
approved these changes
Jul 28, 2026
Contributor
Author
Merge activity
|
trunk-io
Bot
deleted the
posthog-code/channels-stack-1-activity-refactors
branch
July 28, 2026 08:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Problem
Task thread behavior and pull request artifact rendering were duplicated across channel surfaces, making the upcoming Activity view harder to review and easier to drift.
Changes
This is PR 1 of the channel spaces stack and is safe with the layout flag either off or on: both states retain the existing experience.
How did you test this?
pnpm exec vitest run src/features/canvas/components/ThreadPanel.test.tsx src/utils/posthogLinks.test.tspnpm typecheckinpackages/uiAutomatic notifications
Created with PostHog Code