You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "Loyal-Young (via GitHub)" <gi...@apache.org> on 2026/10/09 08:40:06 UTC

[I] [Bug] AI unread message badge counts a batch of new bubbles as one message [rocketmq-dashboard]

Loyal-Young opened a new issue, #5784:
URL: https://github.com/apache/rocketmq-dashboard/issues/5784

   ### Before Creating the Bug Report
   
   - [x] Searched ChatThread/unread reports. #4715 addressed decreases on stream failure; this report concerns multiple new bubbles arriving together.
   
   ### Studio Version
   
   `rocketmq-studio@c99b9ad50b79467546997e51f3401d57ceebea5f`.
   
   ### Describe the Bug
   
   When the reader has scrolled away from the bottom, ChatThread increments its unread badge by exactly one whenever the total bubble count grows. A timeline page or refreshed transcript can add several messages in the same render, so the badge undercounts the messages that arrived. The component's documented contract is one count per message.
   
   ### Steps to Reproduce
   
   1. Render a conversation with one visible bubble and scroll away from the bottom.
   2. Append three persisted bubbles in one timeline update.
   3. The jump-to-latest badge displays 1 rather than 3.
   
   ### Expected Behavior
   
   Increment by the positive change in bubble count. Same-size streaming updates and decreases should not add unread messages, and jumping to the bottom should clear the count.
   
   ### Verification Plan
   
   Component regression for a batch arrival followed by same-size/decreasing updates and another batch.
   
   ### Are You Willing to Submit a Pull Request?
   
   Yes.


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] AI unread message badge counts a batch of new bubbles as one message [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #5784:
URL: https://github.com/apache/rocketmq-dashboard/issues/5784#issuecomment-6093629243

   Resolved by #5793 (merged into `rocketmq-studio` as 29fe48abc).


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Bug] AI unread message badge counts a batch of new bubbles as one message [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #5784: [Bug] AI unread message badge counts a batch of new bubbles as one message
URL: https://github.com/apache/rocketmq-dashboard/issues/5784


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org