Skip to content

Commit

Permalink
Update the wording
Browse files Browse the repository at this point in the history
Signed-off-by: popcorny <[email protected]>
  • Loading branch information
popcornylu committed Jan 16, 2025
1 parent 2af4b6b commit 2447216
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions js/src/components/lineage/LineageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import {
MenuDivider,
Checkbox,
Switch,
Badge,
} from "@chakra-ui/react";
import React, {
Ref,
Expand Down Expand Up @@ -836,16 +837,19 @@ export function PrivateLineageView(
</Panel>
<Panel position="top-left">
<Flex direction="column">
<Switch
isChecked={advancedImpactRadius}
onChange={(e) => {
const advancedImpactRadius = e.target.checked;
setAdvancedImpactRadius(advancedImpactRadius);
highlightImpactRadius(advancedImpactRadius);
}}
>
Advanced Impact Radius (Experimental)
</Switch>
<Flex direction="row" alignItems="center" gap="5px">
<Switch
isChecked={advancedImpactRadius}
onChange={(e) => {
const advancedImpactRadius = e.target.checked;
setAdvancedImpactRadius(advancedImpactRadius);
highlightImpactRadius(advancedImpactRadius);
}}
>
Breaking Change Analysis{" "}
</Switch>
<Badge>Beta</Badge>
</Flex>
{nodes.length == 0 && (
<Text fontSize="xl" color="grey" opacity={0.5}>
No nodes
Expand Down

0 comments on commit 2447216

Please sign in to comment.