tju-yxq opened a new pull request, #6166:
URL: https://github.com/apache/rocketmq-dashboard/pull/6166
> Resubmission of #5157 — the original PR and its linked issue were closed
by the repo's 7-day stale bot while awaiting review, not because the change was
rejected. The fix is rebased unchanged onto the current `rocketmq-studio` head
(5e4c39b0) and the linked issue is still reproducible on trunk.
### Which Issue(s) This PR Fixes
- Fixes #3165
### Brief Description
Re-submits the previously reviewed change (supersedes #4485, which was
auto-closed by the stale bot after 7 days without activity) rebased onto
current `master` at `0228dad5` — no conflicts. Maintenance windows (alert
silences) can now be edited after creation instead of only being ended, with
the edit form reusing the creation schedule validation.
### How Did You Test This Change?
Run on the rebased branch (`bca9aa90`):
```
cd server && mvn -B -ntp
'-Dtest=AlertSilenceControllerTest,AlertSilenceServiceTest,MybatisPlusAlertSilenceRepositoryTest'
test
AlertSilenceControllerTest: 3, AlertSilenceServiceTest: 14,
MybatisPlusAlertSilenceRepositoryTest: 6
Tests run: 23, Failures: 0, Errors: 0, Skipped: 0 — BUILD SUCCESS
cd web && npm test -- SystemAlertsPage ops.test --run
Test Files 3 passed (3)
Tests 51 passed (51)
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]