Skip to content

增强:告警通知渠道支持多选 #68

Description

@coderabbitai

功能描述

当前告警规则配置页面的通知渠道选择器仅支持单选,建议增强为多选组件,以便用户可以为单个告警规则配置多个通知渠道。

当前实现

  • 位置:frontend/src/pages/settings/alerts-settings-page.tsx (约 1005-1028 行)
  • UI:单选下拉框 (Select 组件)
  • 后端:已支持多个通道 ID(通过逗号分隔的字符串 + split 逻辑)

改进建议

将单选 Select 组件替换为多选组件或复选框列表,使用户能够选择多个通知渠道。

相关链接

备注

此功能已在 PR #67 的代码审查中识别为有效的后续增强。当前的单选实现是初始版本的有意设计,后端已为多选功能做好准备。


由 @pescn 请求创建

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions