lizhimins opened a new pull request, #6916:
URL: https://github.com/apache/rocketmq-dashboard/pull/6916
## Summary
Three-commit UI audit round over the instance / ops / cluster pages, driven
by a page-by-page
browser inspection (headless Chromium against a live deployment) plus a
modal-by-modal audit.
- **fix(web): alignment, table/modal containment, layout** — center tag-like
columns (Group sub
type / sub mode, Topic type / status, alert reminder interval / runtime),
right-align the
numeric alert duration column; render an unavailable online-client
inventory as `0` instead of
`不可用` with display and sorting sharing one helper; keep over-long topic
names inside the
sync dialog and the DLQ detail modal (ellipsis + wider modal) instead of
drawing outside the
modal body; re-budget the alert rule table so its declared widths fit the
1330px container at a
1600px viewport (the delete button in the action column was clipped);
widen columns whose
headers were clipped; let settings cards fill the content width; merge the
create-topic queue
hint into one line that follows the typed values. Guarded by per-page
alignment / table-width /
modal regression tests.
- **fix(web): self-explanatory status wording and metrics** — localize
delivery failure reasons
instead of raw backend English strings; color the audit success rate by
threshold and print its
numerator / denominator; show the client-connection health ring as
`score/100` with a minimum
visible arc; replace the mixed-language clients subtitle with a localized
count.
- **feat(deploy): forward SMTP knobs** — declare `SPRING_MAIL_HOST` /
`SPRING_MAIL_PORT` plus
`mail.smtp.auth` / starttls overrides in the server environment block
(compose only forwards
variable names it declares, so `.env` alone never reached the container);
defaults preserve the
current behavior for real SMTP deployments; `.env.example` documents a
mailpit local-inbox
recipe for test environments.
## Verification
- `npm run build` (tsc -b + vite build + license check) exit 0; `vitest run`
161 files / 1762 tests
green.
- Deployed to a test machine and re-measured in headless Chromium: alert
table `scrollWidth`
1330 = container 1330; DLQ detail modal table 1232 = 1232; clipped headers
now
`scrollWidth == clientWidth`; delivery results localized (19 zh / 0 en);
audit success rate
colored by threshold with numerator/denominator shown; an alert email
delivery reached
`DELIVERED` through a local SMTP sink.
--
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]