tju-yxq opened a new pull request, #5156:
URL: https://github.com/apache/rocketmq-dashboard/pull/5156
### Which Issue(s) This PR Fixes
- Fixes #3295
### Brief Description
Re-submits the previously reviewed change (supersedes #4484, which was
auto-closed by the stale bot after 7 days without activity) rebased onto
current `master` at `0228dad5` — no conflicts. Operators can now delete their
own query history records (per-row delete plus scope-aware clearing) from the
message query history drawer.
### How Did You Test This Change?
Run on the rebased branch (`7d1d09ea`):
```
cd server && mvn -B -ntp
'-Dtest=QueryHistoryControllerTest,QueryHistoryServiceTest' test
QueryHistoryControllerTest: 6, QueryHistoryServiceTest: 14
Tests run: 20, Failures: 0, Errors: 0, Skipped: 0 — BUILD SUCCESS
cd web && npm test -- MessageQueryHistoryDrawer --run
Test Files 1 passed (1)
Tests 5 passed (5)
cd web && npm run lint
0 errors (11 pre-existing warnings in unrelated files)
```
### Checklist
- [x] One coherent change; unrelated modifications are not bundled in
- [x] Commit subject follows Conventional Commits
- [x] Tests added or updated for non-trivial changes, test methods named
`...Test`
- [x] New UI text has both Chinese and English entries under `web/src/i18n/`
- [x] Architecture constraints stay green (`mvn test` runs the ArchUnit
checks)
- [x] New source files carry the ASF license header
- [ ] Documentation touched where behaviour changed (README / `docs/` /
in-app help)
--
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]