Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

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

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
- Extract shared UserMessageContent component for rendering user messages
- MessageQueue.getReviews() exposes reviews from stored metadata
- Add QueuedMessageWithReviews story to cover the new functionality

The UserMessageContent extraction also deduplicates ~60 lines of code
between UserMessage and QueuedMessage components.
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Repo admins can enable using credits for code reviews in their settings.

@ammario ammario merged commit 27aa56e into main Dec 14, 2025
46 of 50 checks passed
@ammario ammario deleted the reviews-gxnn branch December 14, 2025 18:42
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