-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
📝 (NodeStatus): Remove unused import and hook from NodeStatus component
♻️ (get-class-from-build-status): Remove console.log statement for currentNodeId and validationStatus.id ✨ (AstraDB): Increase size of AstraDB icon and update fill color based on dark mode 🔧 (index.tsx): Add dark mode support to AstraDBIcon component ♻️ (flowStore): Add method clearEdgesRunningByNodes to reset edges animation state ♻️ (flowStore): Add currentBuildingNodeId property and setCurrentBuildingNodeId method to track currently building nodes ♻️ (flowStore): Refactor updateEdgesRunningByNodes method to use edge data source handle id for comparison 🔧 (buildUtils): Add isStringArray utility function to check if value is an array of strings ♻️ (buildUtils): Update buildFlowVertices function to use new setCurrentBuildingNodeId and clearEdgesRunningByNodes methods 🔧 (utils): Add isStringArray utility function to check if value is an array of strings
- Loading branch information
1 parent
d7e0f43
commit ddf9fb8
Showing
9 changed files
with
59 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
import { useDarkStore } from "@/stores/darkStore"; | ||
import React, { forwardRef } from "react"; | ||
import AstraSVG from "./AstraDB"; | ||
|
||
export const AstraDBIcon = forwardRef< | ||
SVGSVGElement, | ||
React.PropsWithChildren<{}> | ||
>((props, ref) => { | ||
return <AstraSVG ref={ref} {...props} />; | ||
const isDark = useDarkStore((state) => state.dark); | ||
return <AstraSVG ref={ref} isDark={isDark} {...props} />; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters