coder999o opened a new pull request, #3064: URL: https://github.com/apache/rocketmq-dashboard/pull/3064
## What is the purpose of the change Add a local payload preflight panel to the Topic send message modal. The preflight summarizes the final message body, Tag, Key, and custom properties before sending, detects malformed or duplicate properties, warns about reserved RocketMQ property names, and reuses the normalized payload for the actual send request. ## Brief changelog - Add a message payload preview utility for body format detection, byte sizing, property parsing, reserved-key checks, and blocking issue collection. - Show a live send preflight summary in the Topic send message modal. - Prevent duplicate or malformed custom properties from silently reaching the send API. - Add utility and page-level tests for payload preview, normalized send parameters, and duplicate-property blocking. ## Verifying this change - `npm run test -- messagePayloadPreview TopicPage` - `npm run lint` - `npm run build` - `git diff --check` - `git ai status` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
