Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"reprocessBehavior": "Reprocess Behavior",
"run": "Run Backfill",
"scheduleNotBackfillable": "This Dag's schedule does not support backfills",
"schedulerPriorityHint": "Backfill Dag runs are ordered after non-backfill Dag runs in each scheduler cycle. Backfill runs may remain queued longer if other non-backfill runs are present.",
"selectDescription": "Run this Dag for a range of dates",
"selectLabel": "Backfill",
"title": "Run Backfill",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@
import { Box, Button, HStack, Spacer, Text, type ButtonProps } from "@chakra-ui/react";
import { useQueryClient } from "@tanstack/react-query";
import { useTranslation } from "react-i18next";
import { MdPause, MdPlayArrow, MdStop } from "react-icons/md";
import { MdInfo, MdPause, MdPlayArrow, MdStop } from "react-icons/md";
import { RiArrowGoBackFill } from "react-icons/ri";

import { Tooltip } from "src/components/ui";

import {
useBackfillServiceCancelBackfill,
useBackfillServiceListBackfillsUi,
Expand Down Expand Up @@ -107,6 +109,11 @@ const BackfillBanner = ({ dagId }: Props) => {
<HStack alignItems="center" ml={3}>
<RiArrowGoBackFill />
<Text key="backfill">{translate("banner.backfillInProgress")}:</Text>
<Tooltip content={translate("backfill.schedulerPriorityHint")} showArrow>
<span>
<MdInfo />
</span>
</Tooltip>
<Text fontSize="sm">
{" "}
<Time datetime={backfill.from_date} /> - <Time datetime={backfill.to_date} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const RunBackfillForm = ({ dag, onClose }: RunBackfillFormProps) => {
<ErrorAlert error={errors.date ?? dryRunError ?? error} />
)}
<VStack alignItems="stretch" gap={2} pt={4}>
<Alert status="info">{translate("backfill.schedulerPriorityHint")}</Alert>
<Box>
<Text fontSize="md" fontWeight="semibold" mb={3}>
{translate("backfill.dateRange")}
Expand Down
Loading