mirror of
https://github.com/fosrl/pangolin.git
synced 2026-08-14 08:19:51 +02:00
💬 update texts for heading & trigger
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user