yuluo-yx opened a new pull request, #2200:
URL: https://github.com/apache/rocketmq-dashboard/pull/2200

   ## What is the purpose of the change
   
   This PR consolidates four related frontend input and data-fidelity fixes, 
following the maintainer guidance in #2107. It replaces the closed one-off PRs 
#2148, #2149, #2150, and #2159 without reopening them.
   
   IME confirmation can submit prompts prematurely, and rapid same-tick actions 
can start duplicate AI requests. CSV imports do not fully reverse 
spreadsheet-injection escaping for control-character prefixes and misreport 
line locations after quoted carriage returns. Producer connection summaries 
normalize duplicates differently from distinct counts. Batch message properties 
silently discard malformed or duplicate entries before sending.
   
   ## Brief changelog
   
   - ignore Enter while IME composition is active and synchronously guard AI 
submissions against duplicate requests
   - restore escaped control-character prefixes and count CR/CRLF locations 
consistently during CSV parsing
   - normalize producer identities before both duplicate detection and distinct 
counting
   - parse pasted message properties through a reusable validator and block 
malformed or duplicate keys
   - add focused regression tests for each input and round-trip boundary
   
   ## Verifying this change
   
   - `npm test -- --run src/pages/home/__tests__/HomePage.test.tsx 
src/pages/ai/__tests__/AiPage.test.tsx src/utils/resourceCsvImport.test.ts 
src/api/producer.test.ts src/pages/instance/__tests__/TopicPage.test.tsx` (42 
tests passed)
   - ESLint and Prettier checks passed for all changed files
   - `npm run build` passed
   - `git diff --check` passed
   
   Fixes #2143
   Fixes #2144
   Fixes #2145
   Fixes #2154
   
   


-- 
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]

Reply via email to