mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-25 05:25:39 +02:00
💬 update texts for heading & trigger
This commit is contained in:
@@ -1807,6 +1807,8 @@
|
|||||||
"alertingHealthChecksBannerTitle": "Monitor Health & Resources",
|
"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.",
|
"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",
|
"alertingTestRule": "Test Alert Rule",
|
||||||
|
"alertingAddActionHeading": "Add New Action",
|
||||||
|
"alertingSelectActionType": "Choose an action type",
|
||||||
"alertingNoActionsTitle": "No actions configured",
|
"alertingNoActionsTitle": "No actions configured",
|
||||||
"alertingNoActionsSaveDescription": "Add at least one action so this rule can notify someone when it fires.",
|
"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.",
|
"alertingNoActionsTestDescription": "Add at least one action before you can test this rule.",
|
||||||
|
|||||||
@@ -144,18 +144,11 @@ export function AddActionPanel({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex flex-col gap-3 items-start">
|
<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}>
|
<Popover open={isPopoverOpen} onOpenChange={setPopoverOpen}>
|
||||||
<PopoverTrigger asChild>
|
<PopoverTrigger asChild>
|
||||||
<Button
|
<Button type="button" variant="outline">
|
||||||
type="button"
|
{t("alertingSelectActionType")}
|
||||||
variant="outline"
|
|
||||||
// disabled={!isBuiltInSelected}
|
|
||||||
// onClick={handleAdd}
|
|
||||||
>
|
|
||||||
{/* <Plus className="h-4 w-4 mr-1" /> */}
|
|
||||||
{/* {t("alertingAddAction")} */}
|
|
||||||
select action
|
|
||||||
<ChevronRightIcon className="size-4" />
|
<ChevronRightIcon className="size-4" />
|
||||||
</Button>
|
</Button>
|
||||||
</PopoverTrigger>
|
</PopoverTrigger>
|
||||||
@@ -180,7 +173,6 @@ export function AddActionPanel({
|
|||||||
)}
|
)}
|
||||||
</PopoverContent>
|
</PopoverContent>
|
||||||
</Popover>
|
</Popover>
|
||||||
{/* */}
|
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user