This is an automated email from the ASF dual-hosted git repository.
dstandish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new b57fc45861 Use arrow with no circle for setup / teardown (#33098)
b57fc45861 is described below
commit b57fc45861a7527541e684c00333d983290a88c0
Author: Daniel Standish <[email protected]>
AuthorDate: Fri Aug 4 01:12:26 2023 -0700
Use arrow with no circle for setup / teardown (#33098)
Just seems easier to see.
---
airflow/www/static/js/dag/details/graph/Node.tsx | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/airflow/www/static/js/dag/details/graph/Node.tsx
b/airflow/www/static/js/dag/details/graph/Node.tsx
index 25827f2595..f2d6f92c09 100644
--- a/airflow/www/static/js/dag/details/graph/Node.tsx
+++ b/airflow/www/static/js/dag/details/graph/Node.tsx
@@ -28,10 +28,7 @@ import { getGroupAndMapSummary, hoverDelay } from
"src/utils";
import Tooltip from "src/components/Tooltip";
import InstanceTooltip from "src/dag/InstanceTooltip";
import { useContainerRef } from "src/context/containerRef";
-import {
- MdOutlineArrowCircleUp,
- MdOutlineArrowCircleDown,
-} from "react-icons/md";
+import { ImArrowUpRight2, ImArrowDownRight2 } from "react-icons/im";
export interface CustomNodeProps {
label: string;
@@ -145,10 +142,10 @@ export const BaseNode = ({
{taskName}
</Text>
{setupTeardownType === "setup" && (
- <MdOutlineArrowCircleUp size={18} color={colors.gray[800]} />
+ <ImArrowUpRight2 size={15} color={colors.gray[800]} />
)}
{setupTeardownType === "teardown" && (
- <MdOutlineArrowCircleDown size={18} color={colors.gray[800]} />
+ <ImArrowDownRight2 size={15} color={colors.gray[800]} />
)}
</Flex>
{!!instance && instance.state && (