qiyu-lu opened a new issue, #3337:
URL: https://github.com/apache/rocketmq-dashboard/issues/3337

   ## Problem
   
   After a Topic is created successfully, the Topic page only prepends the 
returned item to the current inmemory list. The server-backed total is not 
refreshed, so the header and pagination  continue showing the old Topic count 
until the page is reloaded.
   
   This can also make a full or non-first page inconsistent with the 
server-side ordering and pagination.
   
   <img width="1349" height="530" alt="Image" 
src="https://github.com/user-attachments/assets/7360a451-3d1c-4a33-8c94-adfbce344722";
 />
   
   ## Steps to reproduce
   
     1. Open the Topic management page for an instance.
     2. Note the displayed Topic count.
     3. Create a new Topic.
     4. Observe that creation succeeds, but the displayed total remains 
unchanged.
     5. Reload the page and observe that the total is updated.
   
   ## Expected behavior
   
   After successful creation, reload the current paginated Topic query and use 
the server-returned `items` and `total`.
   
   ## Scope
   
   This issue only covers single Topic creation. Topic import and Consumer 
Group flows are out of scope.
   


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