diff --git a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx
index 771c158c5..52cf3945b 100644
--- a/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx
+++ b/src/frontend/src/CustomNodes/GenericNode/components/NodeStatus/index.tsx
@@ -39,10 +39,11 @@ export default function NodeStatus({
showNode,
data,
buildStatus,
+ dismissAll,
isOutdated,
isUserEdited,
+ isBreakingChange,
getValidationStatus,
- handleUpdateComponent,
}: {
nodeId: string;
display_name: string;
@@ -52,10 +53,11 @@ export default function NodeStatus({
showNode: boolean;
data: NodeDataType;
buildStatus: BuildStatus;
+ dismissAll: boolean;
isOutdated: boolean;
isUserEdited: boolean;
+ isBreakingChange: boolean;
getValidationStatus: (data) => VertexBuildTypeAPI | null;
- handleUpdateComponent: () => void;
}) {
const nodeId_ = data.node?.flow?.data
? (findLastNode(data.node?.flow.data!)?.id ?? nodeId)
@@ -182,8 +184,6 @@ export default function NodeStatus({
getValidationStatus,
);
- const dismissAll = useUtilityStore((state) => state.dismissAll);
-
const getBaseBorderClass = (selected) => {
let className =
selected && !isBuilding
@@ -191,8 +191,8 @@ export default function NodeStatus({
: "border ring-[0.5px] hover:shadow-node ring-border";
let frozenClass = selected ? "border-ring-frozen" : "border-frozen";
let updateClass =
- isOutdated && !isUserEdited && !dismissAll
- ? "border-warning ring-2 ring-warning"
+ isOutdated && !isUserEdited && !dismissAll && isBreakingChange
+ ? "border-warning"
: "";
return cn(frozen ? frozenClass : className, updateClass);
};
@@ -464,36 +464,6 @@ export default function NodeStatus({
)}
- {dismissAll && isOutdated && !isUserEdited && (
-
+ Updates marked as{" "} + + breaking + {" "} + may change inputs, outputs, or component behavior. In some + cases, they will disconnect components from your flow, requiring + you to review or reconnect them afterward. Components added from + the sidebar always use the latest version. +
+ ) : ( + <> ++ This update may change inputs, outputs, or component behavior. + In some cases, it will{" "} + + disconnect this component from your flow + + , requiring you to review or reconnect it afterward. +
++ Components added from the sidebar always use the latest + version. +
+ > + )} +