Fix the wrong voice recording label in the channel list item#6134
Fix the wrong voice recording label in the channel list item#6134
Conversation
PR checklist ✅All required conditions are satisfied:
🎉 Great job! This PR is ready for review. |
WalkthroughThree message preview formatting components now handle audio recordings. When a message contains audio, the preview displays a localized audio-info string styled with italics instead of regular text or attachments, addressing incorrect voice recording label display in channel list items. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Suggested labels
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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. Comment |
SDK Size Comparison 📏
|
|



Goal
Fix the wrong voice recording label in the channel list item. #6045
Implementation
Show
Voice Messageinstead of the filename in the channel list item when the message contains an audio recording.Note
This is a quick-win. In the v7 release we might align the entire message preview formatter with compose and other platform SDKs
🎨 UI Changes
Testing
Summary by CodeRabbit