regression: Jump to message not working for audio played from quoted messages - #41601
Conversation
|
Looks like this PR is ready to merge! 🎉 |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (4)
📜 Recent review details⏰ Context from checks skipped due to timeout. (3)
🧰 Additional context used📓 Path-based instructions (1)**/*.{ts,tsx,js}📄 CodeRabbit inference engine (.cursor/rules/playwright.mdc)
Files:
🧠 Learnings (2)📚 Learning: 2026-03-27T14:52:56.865ZApplied to files:
📚 Learning: 2026-05-06T12:21:44.083ZApplied to files:
🔇 Additional comments (4)
WalkthroughQuote attachment rendering now propagates audio attachment source metadata from room and thread messages through ChangesQuote attachment source propagation
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning Review ran into problems🔥 ProblemsErrors were encountered while retrieving linked issues. Errors (1)
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 |
|
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## release-8.7.0 #41601 +/- ##
================================================
Coverage ? 68.40%
================================================
Files ? 4139
Lines ? 158310
Branches ? 28307
================================================
Hits ? 108287
Misses ? 44894
Partials ? 5129
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
When audio is played from a quoted or forwarded message, the Jump to message action in the Now Playing sidebar card did nothing.
Quote attachments are split out of the message's attachment list and rendered by a separate
<Attachments>call inRoomMessageContent/ThreadMessageContentthat did not pass thesourcecontext (rid/mid), andQuoteAttachmentdropped it for its inner attachments as well. The track registered byAudioAttachmenttherefore had no room/message reference andopenConversationinNowPlayingSectionbailed out early.Now
sourceis passed to the quotes render in both message variants and threaded throughAttachmentsItem→QuoteAttachment→ innerAttachments, so the card jumps to the message containing the quote. The track name is taken from the quote'sauthor_name, so the card attributes the audio to the quoted author rather than the quoting user.Verified end-to-end with Playwright against a local server: playing from a quote, switching rooms, and clicking Jump to message navigates to
/channel/<room>?msg=<quoting message id>; non-quoted audio unchanged.Issue(s)
https://rocketchat.atlassian.net/browse/CORE-2486
Steps to test or reproduce
Further comments
Summary by CodeRabbit