Skip to content

[Studio] feat: support exporting selected alert rules as YAML - #762

Merged
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080205
Aug 3, 2026
Merged

[Studio] feat: support exporting selected alert rules as YAML#762
lizhimins merged 1 commit into
apache:rocketmq-studiofrom
yx9o:dev-080205

Conversation

@yx9o

@yx9o yx9o commented Aug 2, 2026

Copy link
Copy Markdown

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.

@lizhimins
lizhimins merged commit 38fb3c2 into apache:rocketmq-studio Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants