Skip to content

fix(web): keep chat media at a stable size while it loads - #9938

Merged
juliusmarminge merged 6 commits into
mainfrom
t3code/stabilize-chat-media-layout
Sep 5, 2026
Merged

juliusmarminge merged 6 commits into
mainfrom
t3code/stabilize-chat-media-layout

fix(web): forward sanitized image attributes to the rendered image

6d6472c
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - UI Consistency succeeded Sep 5, 2026 in 1m 45s

UI Consistency: no issues found

All clear

Details

Note

Your check run agent prompt is: .macroscope/check-run-agents/ui-consistency.md
More information about how Check Run Agents work can be found in our Help Center.

Reviewed changed lines in apps/web/src/components/ChatMarkdown.tsx and apps/web/src/components/media/MediaVideoPlayer.tsx (test file excluded by scope). No raw elements replacing ui/ primitives, no new global CSS or static inline style objects, and the new ChatMarkdownImage / ChatMarkdownMediaUnavailableLabel helpers compose existing shared class constants and MediaActions rather than duplicating primitive markup.


🔍 Agent activity — reasoning, no tool calls

💭 I'm checking the diff against the three rules — the changes to ChatMarkdown.tsx and MediaVideoPlayer.tsx mostly use Tailwind classes locally, avoid global CSS or raw buttons, and the new ChatMarkdownImage component reuses existing constants for composability. The long class string in the video player's failed state is a pre-existing line being modified, not a new shared variant, so it doesn't seem like a real flag. All clear, no findings.


Agent Credits: 20 credits

Token usage: 2 uncached input · 0 cache-read input · 27,065 cache-write input · 529 output
Agent Credits may also include non-token charges from external tools such as web research.