yyqdbngt opened a new pull request, #4101:
URL: https://github.com/apache/rocketmq-dashboard/pull/4101
## Summary
Add a per-status count strip above the notification deliveries table. It
shows the number of PENDING / SUCCEEDED / FAILED rows among the rows loaded
on the current page, rendered with the same status Tag colors as the table.
The counts are deliberately scoped to the loaded page (the page-size-20
window), not the whole filtered result set.
## Why
When triaging an outage an operator currently has to count the status tags
by eye. A compact per-status summary makes the composition of the visible
page obvious at a glance, and the "loaded page" scope keeps the indicator
honest without an extra backend query.
## Testing
- `cd web && ./node_modules/.bin/tsc -b tsconfig.app.json` — passes (exit 0).
- `./node_modules/.bin/vitest run
src/pages/ops/__tests__/NotificationDeliveriesPage.test.tsx`
(Node 20 build server) — 4/4 passed, including the new case asserting the
PENDING/SUCCEEDED/FAILED counts of the loaded rows.
--
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]