Improve rule state filter placeholder wording (#16361)

Technically, we are not filtering by the state of a single rule, but by the
whole rule group state (if even a single alert is firing within a group,
filtering for "Pending" won't show the group, even if it has pending
alerts).

Signed-off-by: Julius Volz <julius.volz@gmail.com>
This commit is contained in:
Julius Volz 2025-03-31 19:19:46 +02:00 committed by GitHub
parent ad3e200e9a
commit b1f03f83cf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -427,7 +427,7 @@ export default function AlertsPage() {
o as keyof typeof alertsPageData.globalCounts
]
}
placeholder="Filter by rule state"
placeholder="Filter by rule group state"
values={(stateFilter?.filter((v) => v !== null) as string[]) || []}
onChange={(values) => setStateFilter(values)}
/>