RockteMQ-AI commented on issue #2143: URL: https://github.com/apache/rocketmq-dashboard/issues/2143#issuecomment-5286423718
**Issue Evaluation** Category: `bug` | Status: **Confirmed** This is a valid bug. The prompt input submits on Enter without checking compositionstart/compositionend IME state, causing premature submission when confirming CJK candidates. Additionally, the AI page lacks a submission guard that prevents duplicate streams when two submissions occur in the same event loop before React state updates. **Root Cause:** Missing isComposing check on keydown handler; no atomic submission guard for AI prompt. **Impact:** Premature navigation/submission during IME input; duplicate AI streams on rapid clicks. **Severity:** medium An automated fix proposal will be generated. Reply `/approve` to proceed with PR generation. --- *Automated evaluation by RockteMQ-AI* -- 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]
