You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🤖 fix: preserve review formatting in queued messages (#1149)
## Summary
Previously, reviews in queued messages were displayed as raw text with
`<review>` XML tags. Now they render with the same nice formatting as
sent user messages (file path, line range, code snippet, comment).
## Changes
- Add `reviews` field to `QueuedMessage` type and
`queued-message-changed` event schema
- Extract shared `UserMessageContent` component for rendering user
messages
- `MessageQueue.getReviews()` exposes reviews from stored metadata
- Add `QueuedMessageWithReviews` story to cover the new functionality
## Refactoring
The `UserMessageContent` extraction deduplicates ~60 lines of code
between `UserMessage` and `QueuedMessage` components. Both components
now use the shared component with a `variant` prop to control styling
differences.
## Testing
- Added story: `App/Reviews/QueuedMessageWithReviews`
- Existing `MessageQueue` tests continue to pass
- All static checks pass
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-5` • Thinking:
`high`_
0 commit comments