coder999o opened a new pull request, #3038: URL: https://github.com/apache/rocketmq-dashboard/pull/3038
## What is the purpose of the change Add a local notification template preview to the RocketMQ Studio alert rule editor. The preview renders documented template variables with sample alert context, keeps unknown placeholders visible, highlights invalid or static templates, and provides a default editable template without changing the backend alert rule payload. ## Brief changelog - Add an alert notification template preview utility for variable parsing, rendering, validation, and default template generation. - Show a live notification preview, variable usage summary, unknown-variable notices, and a default template action in the alert rule modal. - Add unit tests for template rendering rules and page-level coverage for the preview UI. ## Verifying this change - `npm run test -- alertTemplatePreview AlertsPage` - `npm run lint` - `npm run build` - `git diff --check` - `git ai status` -- 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]
