💬 update texts for heading & trigger

This commit is contained in:
Fred KISSIE
2026-08-13 19:19:55 +02:00
parent 1143404a65
commit 2878d5690c
2 changed files with 5 additions and 11 deletions
+2
View File
@@ -1807,6 +1807,8 @@
"alertingHealthChecksBannerTitle": "Monitor Health & Resources",
"alertingHealthChecksBannerDescription": "Health checks are HTTP or TCP monitors you define once. You can then use them as sources in alert rules so you get notified when a target becomes healthy or unhealthy. Health checks on resources also appear here.",
"alertingTestRule": "Test Alert Rule",
"alertingAddActionHeading": "Add New Action",
"alertingSelectActionType": "Choose an action type",
"alertingNoActionsTitle": "No actions configured",
"alertingNoActionsSaveDescription": "Add at least one action so this rule can notify someone when it fires.",
"alertingNoActionsTestDescription": "Add at least one action before you can test this rule.",
@@ -144,18 +144,11 @@ export function AddActionPanel({
return (
<div className="flex flex-col gap-3 items-start">
<h3>Add new action</h3>
<h3 className="font-medium">{t("alertingAddActionHeading")}</h3>
<Popover open={isPopoverOpen} onOpenChange={setPopoverOpen}>
<PopoverTrigger asChild>
<Button
type="button"
variant="outline"
// disabled={!isBuiltInSelected}
// onClick={handleAdd}
>
{/* <Plus className="h-4 w-4 mr-1" /> */}
{/* {t("alertingAddAction")} */}
select action
<Button type="button" variant="outline">
{t("alertingSelectActionType")}
<ChevronRightIcon className="size-4" />
</Button>
</PopoverTrigger>
@@ -180,7 +173,6 @@ export function AddActionPanel({
)}
</PopoverContent>
</Popover>
{/* */}
</div>
);
}