Repository navigation
Conversation
…the detail panel RocketMQMessageProvider caps the display body at 64 KiB (48 KiB for binary) and limits displayed properties, and MessageRecordVO carries bodyTruncated / bodyEncoding / propertiesTruncated so the UI can say so. The message page ignored all three: the MessageRecord TS type did not declare them and the detail panel rendered the (possibly partial) body with no indication - a user inspecting a large message saw a truncated body and believed it complete. The DLQ page already surfaces propertiesTruncated with a warning line, so the message page is the inconsistent one. - add bodyEncoding / bodyTruncated / propertiesTruncated to the MessageRecord TS interface (optional, matching the VO); - render a warning line between the body title and the body whenever the server truncated either part (localized, unlike the DLQ page's hardcoded string); - add messagePage.bodyTruncated / propertiesTruncated i18n keys. Test: a message with both truncation flags set renders the warning line on the detail panel. Mutation (badge reverted): the new test fails 1/15; with the fix: 15/15 passed. Signed-off-by: zjncs <18910855655@163.com>
Re-touching so the stale bot clock restarts; the branch is unchanged and ready for review. Signed-off-by: zjncs <18910855655@163.com>
Signed-off-by: zjncs <18910855655@163.com>
This was referenced Oct 16, 2026
Signed-off-by: zjncs <18910855655@163.com>
Signed-off-by: zjncs <18910855655@163.com>
Signed-off-by: zjncs <18910855655@163.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
RocketMQMessageProvidercaps the display body at 64 KiB (48 KiB for binary) and limits displayed properties;MessageRecordVOcarriesbodyTruncated/bodyEncoding/propertiesTruncatedprecisely so the UI can say so.The message page ignored all three:
MessageRecordTS interface did not declare them;The DLQ page already surfaces
propertiesTruncatedwith a warning line; the message page is the inconsistent one.Fix
bodyEncoding/bodyTruncated/propertiesTruncatedto theMessageRecordTS interface (optional, matching the VO);messagePage.bodyTruncated/messagePage.propertiesTruncatedkeys);·.Verification (red → green + mutation)
flags a server-truncated message body and properties on the detail panel).MessagePage.test.tsx).Collision note
11 open PRs touch
message.tsx; this change is confined to the block between thetopic.messageBodytitle (~L946) and the bodyParagraph(~L955). The nearest occupier hunk is #5231 at L965 (a time-formatter rename three rows above) — disjoint.