fix(sessions): reuse file Markdown styling for artifacts - #3857
Merged
Conversation
|
😎 Merged directly without going through the merge queue, as the queue was empty and the PR was up to date with the target branch - details. |
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
puemos
marked this pull request as ready for review
July 28, 2026 05:35
Contributor
Generated-By: PostHog Code Task-Id: ac25b9a6-5db4-4592-ad52-be66ce043db0
Generated-By: PostHog Code Task-Id: ac25b9a6-5db4-4592-ad52-be66ce043db0
puemos
force-pushed
the
posthog-code/reuse-markdown-file-preview
branch
from
July 29, 2026 08:12
811fdb9 to
467cc83
Compare
Generated-By: PostHog Code Task-Id: ac25b9a6-5db4-4592-ad52-be66ce043db0
tatoalo
approved these changes
Jul 29, 2026
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
Markdown artifacts use a separate preview style that is less consistent with Markdown files opened from the file explorer.
Why: Keep Markdown documents visually consistent regardless of how they are opened.
Show me!!
Changes
How did you test this?
pnpm exec biome check ...pnpm --dir packages/ui exec vitest run src/features/sessions/components/ArtifactPreview.test.tsxpnpm --dir packages/ui typecheckAutomatic notifications
Created with PostHog Code