Aias00 opened a new issue, #7016:
URL: https://github.com/apache/rocketmq-dashboard/issues/7016

   ## Branch and reproduction
   `rocketmq-studio` at c34535db0. On Active page 3, delete its rows while the 
DELETE remains pending; switch to Archived page 1, then complete deletion. The 
old callback executes setPage(3 - 1), moving the newer Archived query to page 
2. Confirmed with real component + query-coherent mocked API.
   
   ## Cause and relation to existing work
   ConversationListModal.remove captures page and rowCount before awaiting 
deletion. PR #6295 fixes the shared reload callback, but explicitly excludes 
this captured-previous-page branch. This issue is for deletion completion and 
is independently fixable.
   
   ## Design and implementation
   Refresh the current query after deletion rather than moving to a page 
calculated from the old snapshot. Reuse useConversationList existing 
server-total clamp to recover an emptied last page. Keep current 
active-conversation deletion notifications, partial failures and unmount 
behavior. Add delayed deletion regressions covering scope/search/page changes 
and unchanged-query last-page recovery.
   
   ## Validation
   Real component and hook tests, TypeScript, ESLint, production build. No API 
or deletion scope changes.


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