tju-yxq opened a new pull request, #3459:
URL: https://github.com/apache/rocketmq-dashboard/pull/3459

   ## What changed
   
   The Queue Browser previously rendered every queue of the selected topic in 
one unbounded table. On topics with many queues, finding the relevant broker or 
queue required scrolling the entire list, and empty queues added noise when 
diagnosing uneven backlog.
   
   This change makes the existing queue list navigable without changing the 
pull-at-offset API:
   
   - add broker/queue search over the already-loaded queue metadata;
   - add an explicit backlog column based on `maxOffset - minOffset`, clamped 
at zero;
   - allow sorting by broker, queue ID, and backlog, with backlog descending by 
default;
   - add a toggle to show only non-empty queues;
   - keep topic-wide queue and message totals visible while showing the 
filtered row count separately;
   - keep the existing queue-offset slider and pull behavior unchanged;
   - split the queue table and pulled-message cards into focused components to 
keep the result render readable;
   - add regression coverage for backlog calculation, search, empty-queue 
filtering, and sorting.
   
   Closes #3400
   
   ## Validation
   
   - `npm test -- QueueBrowser.test.tsx --run` — 13 tests passed
   - `npm test -- MessagePageAsyncState.test.tsx MessagePage.test.tsx 
QueueBrowser.test.tsx --run` — 40 tests passed
   - `npm run lint -- --quiet` — 0 errors; 10 existing warnings remain 
elsewhere in the tree
   - `npm run build` — passed
   - `git diff --check` — passed
   
   The GitHub Actions status is not being described as green here; the checks 
above are local validation on this branch.


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