yyqdbngt opened a new pull request, #6495:
URL: https://github.com/apache/rocketmq-dashboard/pull/6495

   ### Related
   
   Replaces #5356, which the inactivity workflow closed. GitHub rejected 
reopening the original PR. Related to #5263.
   
   ### Change
   
   The mock system alerts used clock fragments such as `18:15`, while the alert 
API returns UTC date-time strings. The alert page formatter cannot render those 
fragments, so mock alerts show an empty time. Update the three mock rows to 
full date-time values and add a contract test for the API shape, rendering, and 
alert levels.
   
   This patch applies cleanly to the current `rocketmq-studio` branch.
   
   ### Verification
   
   - `cd web && npx vitest run src/mock/dashboard.test.ts 
src/services/opsService.test.ts` — 17 tests passed.
   - `cd web && npx tsc -b` — passed.
   - `cd web && npx eslint src/mock/dashboard.ts src/mock/dashboard.test.ts` — 
passed.
   


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