Skip to content

Conversation

@ggamnunq
Copy link
Contributor

@ggamnunq ggamnunq commented Sep 7, 2025

Summary by CodeRabbit

  • New Features
    • Chat messages now include a visible message type, allowing users to distinguish between different kinds of messages (e.g., system vs. user) within conversations.
    • Enhanced chat list items with type indicators for clearer context while browsing message history.

@ggamnunq ggamnunq self-assigned this Sep 7, 2025
@ggamnunq ggamnunq merged commit 5073382 into main Sep 7, 2025
1 check passed
@coderabbitai
Copy link

coderabbitai bot commented Sep 7, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Adds MessageType to ChatInfoDto and wires it through ChatMongoService so chat responses include the message type. No other structures changed.

Changes

Cohort / File(s) Summary
DTO schema update
src/main/kotlin/busanVibe/busan/domain/chat/dto/websocket/ChatMessageResponseDTO.kt
Added import and new public field type: MessageType to ChatInfoDto; constructor signature extended to include type after isMy.
Service mapping update
src/main/kotlin/busanVibe/busan/domain/chat/service/ChatMongoService.kt
Updated mapping to construct ChatInfoDto with type sourced from chat.type; no other logic changes.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

I twitch my ears at types that chime,
A message tag arrives in time.
From chat to DTO we glide,
Now “type” can proudly ride.
Thump-thump—release is tight,
Carrots up! The fields are right. 🥕


📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 742ada3 and 06e8905.

📒 Files selected for processing (2)
  • src/main/kotlin/busanVibe/busan/domain/chat/dto/websocket/ChatMessageResponseDTO.kt (2 hunks)
  • src/main/kotlin/busanVibe/busan/domain/chat/service/ChatMongoService.kt (1 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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