yx9o opened a new pull request, #762: URL: https://github.com/apache/rocketmq-dashboard/pull/762
## What is the purpose of the change The alert management page only supports exporting all enabled rules, making it difficult to export a specific subset. This change allows users to select enabled alert rules and export only the selected rules while preserving the existing behavior when no rules are selected. ## Brief changelog - Add row selection for enabled alert rules. - Display the selected rule count in the YAML export button. - Export selected enabled rules when available, otherwise export all enabled rules. - Preserve selections while filtering and clear invalid selections when rules are disabled, deleted, edited, or refreshed. ## Verifying this change Added tests covering selected rule export, default export behavior, disabled rule selection cleanup, and selection preservation while filtering. Ran the focused tests, full frontend test suite, ESLint, production build, Prettier check, and browser interaction verification. -- 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]
