diff --git a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx
index 058b33e4e..ff5be6bab 100644
--- a/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx
+++ b/src/frontend/src/CustomNodes/GenericNode/components/parameterComponent/index.tsx
@@ -167,7 +167,6 @@ export default function ParameterComponent({
)}
diff --git a/src/frontend/src/CustomNodes/GenericNode/index.tsx b/src/frontend/src/CustomNodes/GenericNode/index.tsx
index 5a3e1e8be..00a81bfa0 100644
--- a/src/frontend/src/CustomNodes/GenericNode/index.tsx
+++ b/src/frontend/src/CustomNodes/GenericNode/index.tsx
@@ -39,12 +39,6 @@ export default function GenericNode({
const { sseData, isBuilding } = useSSE();
const refHtml = useRef(null);
- // useEffect(() => {
- // if (reactFlowInstance) {
- // setParams(Object.values(reactFlowInstance.toObject()));
- // }
- // }, [save]);
-
// New useEffect to watch for changes in sseData and update validation status
useEffect(() => {
const relevantData = sseData[data.id];
@@ -90,7 +84,6 @@ export default function GenericNode({
@@ -122,7 +115,6 @@ export default function GenericNode({
{" "}
flow to validate status.
diff --git a/src/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx b/src/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx
index dcfdf5a39..fbb97a710 100644
--- a/src/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx
+++ b/src/frontend/src/alerts/alertDropDown/components/singleAlertComponent/index.tsx
@@ -30,7 +30,6 @@ export default function SingleAlert({
>
Dismiss
@@ -85,7 +83,6 @@ export default function SingleAlert({
@@ -121,7 +118,6 @@ export default function SingleAlert({
>
Dismiss
@@ -163,7 +158,6 @@ export default function SingleAlert({
Dismiss
diff --git a/src/frontend/src/alerts/alertDropDown/index.tsx b/src/frontend/src/alerts/alertDropDown/index.tsx
index 679ac9516..a70c1a3d1 100644
--- a/src/frontend/src/alerts/alertDropDown/index.tsx
+++ b/src/frontend/src/alerts/alertDropDown/index.tsx
@@ -36,17 +36,13 @@ export default function AlertDropdown({}: AlertDropdownType) {
setTimeout(clearNotificationList, 100);
}}
>
-
+
diff --git a/src/frontend/src/alerts/error/index.tsx b/src/frontend/src/alerts/error/index.tsx
index 3bb61da80..c80d803ce 100644
--- a/src/frontend/src/alerts/error/index.tsx
+++ b/src/frontend/src/alerts/error/index.tsx
@@ -46,7 +46,6 @@ export default function ErrorAlert({
diff --git a/src/frontend/src/alerts/notice/index.tsx b/src/frontend/src/alerts/notice/index.tsx
index 6ffb11e5f..8d1a90160 100644
--- a/src/frontend/src/alerts/notice/index.tsx
+++ b/src/frontend/src/alerts/notice/index.tsx
@@ -44,7 +44,6 @@ export default function NoticeAlert({
name="Info"
style="h-5 w-5 text-status-blue "
aria-hidden="true"
- method="LUCIDE"
/>
diff --git a/src/frontend/src/alerts/success/index.tsx b/src/frontend/src/alerts/success/index.tsx
index a15728596..a6d36f5e6 100644
--- a/src/frontend/src/alerts/success/index.tsx
+++ b/src/frontend/src/alerts/success/index.tsx
@@ -41,7 +41,6 @@ export default function SuccessAlert({
diff --git a/src/frontend/src/components/cardComponent/index.tsx b/src/frontend/src/components/cardComponent/index.tsx
index 80e162a07..9e1ef95a5 100644
--- a/src/frontend/src/components/cardComponent/index.tsx
+++ b/src/frontend/src/components/cardComponent/index.tsx
@@ -37,11 +37,7 @@ export const CardComponent = ({
{flow.name}
{onDelete && (
)}
diff --git a/src/frontend/src/components/chatComponent/buildTrigger/index.tsx b/src/frontend/src/components/chatComponent/buildTrigger/index.tsx
index 25279f504..703c67d01 100644
--- a/src/frontend/src/components/chatComponent/buildTrigger/index.tsx
+++ b/src/frontend/src/components/chatComponent/buildTrigger/index.tsx
@@ -193,7 +193,6 @@ export default function BuildTrigger({
)}
diff --git a/src/frontend/src/components/chatComponent/chatTrigger/index.tsx b/src/frontend/src/components/chatComponent/chatTrigger/index.tsx
index cc05270fc..191604f80 100644
--- a/src/frontend/src/components/chatComponent/chatTrigger/index.tsx
+++ b/src/frontend/src/components/chatComponent/chatTrigger/index.tsx
@@ -58,7 +58,6 @@ export default function ChatTrigger({ open, setOpen, isBuilt, canOpen }) {
? "message-button-icon"
: "disabled-message-button-icon")
}
- method="LUCIDE"
/>
diff --git a/src/frontend/src/components/codeAreaComponent/index.tsx b/src/frontend/src/components/codeAreaComponent/index.tsx
index 7bb4373f0..8fa12fbcf 100644
--- a/src/frontend/src/components/codeAreaComponent/index.tsx
+++ b/src/frontend/src/components/codeAreaComponent/index.tsx
@@ -72,7 +72,6 @@ export default function CodeAreaComponent({
{!editNode && (
;
- default:
- console.error("IconComponent: invalid method");
- return ;
- }
+ const TargetIcon = nodeIconsLucide[name] ?? nodeIconsLucide["unknown"];
+ return ;
}
diff --git a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx
index 2e2c163e8..cb4d4596f 100644
--- a/src/frontend/src/components/headerComponent/components/menuBar/index.tsx
+++ b/src/frontend/src/components/headerComponent/components/menuBar/index.tsx
@@ -39,7 +39,7 @@ export const MenuBar = ({ flows, tabId }) => {
return (
-
+
@@ -47,11 +47,7 @@ export const MenuBar = ({ flows, tabId }) => {
@@ -63,11 +59,7 @@ export const MenuBar = ({ flows, tabId }) => {
}}
className="cursor-pointer"
>
-
+
New
{
}}
className="cursor-pointer"
>
-
+
Settings
{
}}
className="cursor-pointer"
>
-
+
Undo
{
}}
className="cursor-pointer"
>
-
+
Redo
- {/* */}
- {/* Projects */}
- {/* {
- setTabId(value);
- }}
- >
- {flows.map((flow, idx) => {
- return (
-
-
- {flow.name}
-
-
- );
- })}
- */}
diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx
index 6bbff0f4e..3e2509aad 100644
--- a/src/frontend/src/components/headerComponent/index.tsx
+++ b/src/frontend/src/components/headerComponent/index.tsx
@@ -51,7 +51,7 @@ export default function Header() {
variant={location.pathname === "/" ? "primary" : "secondary"}
size="sm"
>
-
+
{USER_PROJECTS_HEADER}
@@ -63,7 +63,7 @@ export default function Header() {
}
size="sm"
>
-
+
Community Examples
@@ -105,17 +105,9 @@ export default function Header() {
}}
>
{dark ? (
-
+
) : (
-
+
)}
}
diff --git a/src/frontend/src/components/inputFileComponent/index.tsx b/src/frontend/src/components/inputFileComponent/index.tsx
index f92479ec5..b285585f7 100644
--- a/src/frontend/src/components/inputFileComponent/index.tsx
+++ b/src/frontend/src/components/inputFileComponent/index.tsx
@@ -110,7 +110,6 @@ export default function InputFileComponent({
{!editNode && !loading && (
) : (
@@ -82,11 +81,7 @@ export default function InputListComponent({
onChange(inputList);
}}
>
-
+
)}
diff --git a/src/frontend/src/components/promptComponent/index.tsx b/src/frontend/src/components/promptComponent/index.tsx
index e5828173f..b4f68afa0 100644
--- a/src/frontend/src/components/promptComponent/index.tsx
+++ b/src/frontend/src/components/promptComponent/index.tsx
@@ -90,7 +90,6 @@ export default function PromptAreaComponent({
{!editNode && (
-
+
));
diff --git a/src/frontend/src/components/ui/dialog.tsx b/src/frontend/src/components/ui/dialog.tsx
index 243391d16..6401427b6 100644
--- a/src/frontend/src/components/ui/dialog.tsx
+++ b/src/frontend/src/components/ui/dialog.tsx
@@ -51,7 +51,7 @@ const DialogContent = React.forwardRef<
>
{children}
-
+
Close
diff --git a/src/frontend/src/components/ui/dropdown-menu.tsx b/src/frontend/src/components/ui/dropdown-menu.tsx
index 487e13c27..c491aed66 100644
--- a/src/frontend/src/components/ui/dropdown-menu.tsx
+++ b/src/frontend/src/components/ui/dropdown-menu.tsx
@@ -33,11 +33,7 @@ const DropdownMenuSubTrigger = React.forwardRef<
{...props}
>
{children}
-
+
));
DropdownMenuSubTrigger.displayName =
@@ -110,7 +106,7 @@ const DropdownMenuCheckboxItem = React.forwardRef<
>
-
+
{children}
@@ -133,11 +129,7 @@ const DropdownMenuRadioItem = React.forwardRef<
>
-
+
{children}
diff --git a/src/frontend/src/components/ui/menubar.tsx b/src/frontend/src/components/ui/menubar.tsx
index 24bfd19a7..8e1d6b99b 100644
--- a/src/frontend/src/components/ui/menubar.tsx
+++ b/src/frontend/src/components/ui/menubar.tsx
@@ -62,11 +62,7 @@ const MenubarSubTrigger = React.forwardRef<
{...props}
>
{children}
-
+
));
MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
@@ -144,7 +140,7 @@ const MenubarCheckboxItem = React.forwardRef<
>
-
+
{children}
@@ -166,11 +162,7 @@ const MenubarRadioItem = React.forwardRef<
>
-
+
{children}
diff --git a/src/frontend/src/modals/ApiModal/index.tsx b/src/frontend/src/modals/ApiModal/index.tsx
index 53829949e..45f3c4fdb 100644
--- a/src/frontend/src/modals/ApiModal/index.tsx
+++ b/src/frontend/src/modals/ApiModal/index.tsx
@@ -272,7 +272,6 @@ export default function ApiModal({ flow }: { flow: FlowType }) {
Code
Parameters
diff --git a/src/frontend/src/modals/NodeModal/index.tsx b/src/frontend/src/modals/NodeModal/index.tsx
index 54b9c0079..3512267e0 100644
--- a/src/frontend/src/modals/NodeModal/index.tsx
+++ b/src/frontend/src/modals/NodeModal/index.tsx
@@ -73,7 +73,6 @@ export default function NodeModal({ data }: { data: NodeDataType }) {
name="X"
style="h-6 w-6"
aria-hidden="true"
- method="LUCIDE"
/>
diff --git a/src/frontend/src/modals/codeAreaModal/index.tsx b/src/frontend/src/modals/codeAreaModal/index.tsx
index 273e388ed..a0217d695 100644
--- a/src/frontend/src/modals/codeAreaModal/index.tsx
+++ b/src/frontend/src/modals/codeAreaModal/index.tsx
@@ -85,7 +85,6 @@ export default function CodeAreaModal({
Edit Code
diff --git a/src/frontend/src/modals/exportModal/index.tsx b/src/frontend/src/modals/exportModal/index.tsx
index cc0a7b586..5275cdb09 100644
--- a/src/frontend/src/modals/exportModal/index.tsx
+++ b/src/frontend/src/modals/exportModal/index.tsx
@@ -48,7 +48,6 @@ export default function ExportModal() {
Export
diff --git a/src/frontend/src/modals/flowSettingsModal/index.tsx b/src/frontend/src/modals/flowSettingsModal/index.tsx
index bcfa4a4e6..f52e473da 100644
--- a/src/frontend/src/modals/flowSettingsModal/index.tsx
+++ b/src/frontend/src/modals/flowSettingsModal/index.tsx
@@ -51,11 +51,7 @@ export default function FlowSettingsModal() {
Settings
-
+
{SETTINGS_DIALOG_SUBTITLE}
diff --git a/src/frontend/src/modals/formModal/chatInput/index.tsx b/src/frontend/src/modals/formModal/chatInput/index.tsx
index 4d5d8bbe2..f007302c7 100644
--- a/src/frontend/src/modals/formModal/chatInput/index.tsx
+++ b/src/frontend/src/modals/formModal/chatInput/index.tsx
@@ -80,21 +80,18 @@ export default function ChatInput({
) : noInput ? (
) : (
)}
diff --git a/src/frontend/src/modals/formModal/chatMessage/index.tsx b/src/frontend/src/modals/formModal/chatMessage/index.tsx
index a9d68f54e..f9ef26c2c 100644
--- a/src/frontend/src/modals/formModal/chatMessage/index.tsx
+++ b/src/frontend/src/modals/formModal/chatMessage/index.tsx
@@ -165,7 +165,6 @@ export default function ChatMessage({
style={
"h-3 w-3 transition-all " + (promptOpen ? "rotate-180" : "")
}
- method="LUCIDE"
/>
diff --git a/src/frontend/src/modals/formModal/fileComponent/index.tsx b/src/frontend/src/modals/formModal/fileComponent/index.tsx
index 1f6cfc1a7..33db61c74 100644
--- a/src/frontend/src/modals/formModal/fileComponent/index.tsx
+++ b/src/frontend/src/modals/formModal/fileComponent/index.tsx
@@ -44,7 +44,6 @@ export default function FileCard({ fileName, content, fileType }) {
@@ -64,7 +63,7 @@ export default function FileCard({ fileName, content, fileType }) {
className="h-8 w-8"
/>
) : (
-
+
)}
{" "}
@@ -74,7 +73,6 @@ export default function FileCard({ fileName, content, fileType }) {
diff --git a/src/frontend/src/modals/formModal/index.tsx b/src/frontend/src/modals/formModal/index.tsx
index a6c10850d..2100b5214 100644
--- a/src/frontend/src/modals/formModal/index.tsx
+++ b/src/frontend/src/modals/formModal/index.tsx
@@ -399,7 +399,6 @@ export default function FormModal({
@@ -412,7 +411,6 @@ export default function FormModal({
Input Variables
@@ -516,7 +514,6 @@ export default function FormModal({
: "text-primary hover:text-gray-600"
)}
aria-hidden="true"
- method="LUCIDE"
/>
diff --git a/src/frontend/src/modals/genericModal/index.tsx b/src/frontend/src/modals/genericModal/index.tsx
index 780d5d74d..47019edf8 100644
--- a/src/frontend/src/modals/genericModal/index.tsx
+++ b/src/frontend/src/modals/genericModal/index.tsx
@@ -174,7 +174,6 @@ export default function GenericModal({
{myModalTitle}
@@ -227,7 +226,6 @@ export default function GenericModal({
diff --git a/src/frontend/src/pages/CommunityPage/index.tsx b/src/frontend/src/pages/CommunityPage/index.tsx
index c5abeb834..c01ed7a14 100644
--- a/src/frontend/src/pages/CommunityPage/index.tsx
+++ b/src/frontend/src/pages/CommunityPage/index.tsx
@@ -40,7 +40,7 @@ export default function CommunityPage() {
-
+
Community Examples
@@ -50,11 +50,7 @@ export default function CommunityPage() {
rel="noreferrer"
>
@@ -83,11 +79,7 @@ export default function CommunityPage() {
});
}}
>
-
+
Fork Example
}
diff --git a/src/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx
index 46c6145d5..b4300126b 100644
--- a/src/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx
+++ b/src/frontend/src/pages/FlowPage/components/DisclosureComponent/index.tsx
@@ -29,7 +29,6 @@ export default function DisclosureComponent({
style={`${
open || openDisc ? "rotate-90 transform" : ""
} h-4 w-4 text-foreground`}
- method="LUCIDE"
/>
diff --git a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx
index e7a56f74c..75e5fabb5 100644
--- a/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx
+++ b/src/frontend/src/pages/FlowPage/components/extraSidebarComponent/index.tsx
@@ -65,15 +65,10 @@ export default function ExtraSidebar() {
@@ -84,11 +79,7 @@ export default function ExtraSidebar() {
openPopUp(
);
}}
>
-
+
@@ -98,11 +89,7 @@ export default function ExtraSidebar() {
openPopUp( f.id === tabId)} />);
}}
>
-
+
@@ -117,7 +104,6 @@ export default function ExtraSidebar() {
>
- {/* ! replace hash color here */}
@@ -198,7 +183,6 @@ export default function ExtraSidebar() {
diff --git a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx
index ece265ef3..323957a34 100644
--- a/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx
+++ b/src/frontend/src/pages/FlowPage/components/nodeToolbarComponent/index.tsx
@@ -36,7 +36,7 @@ const NodeToolbarComponent = (props) => {
props.deleteNode(props.data.id);
}}
>
-
+
@@ -61,7 +61,7 @@ const NodeToolbarComponent = (props) => {
);
}}
>
-
+
@@ -90,7 +90,7 @@ const NodeToolbarComponent = (props) => {
}
}}
>
-
+
@@ -110,11 +110,7 @@ const NodeToolbarComponent = (props) => {
props.openPopUp();
}}
>
-
+
diff --git a/src/frontend/src/pages/MainPage/index.tsx b/src/frontend/src/pages/MainPage/index.tsx
index 368e6997a..93259d249 100644
--- a/src/frontend/src/pages/MainPage/index.tsx
+++ b/src/frontend/src/pages/MainPage/index.tsx
@@ -16,7 +16,7 @@ export default function HomePage() {
-
+
{USER_PROJECTS_HEADER}
@@ -26,11 +26,7 @@ export default function HomePage() {
downloadFlows();
}}
>
-
+
Download Collection
@@ -82,7 +70,6 @@ export default function HomePage() {
Edit Flow
diff --git a/src/frontend/src/types/components/index.ts b/src/frontend/src/types/components/index.ts
index d61935176..10e01a1b4 100644
--- a/src/frontend/src/types/components/index.ts
+++ b/src/frontend/src/types/components/index.ts
@@ -169,7 +169,6 @@ export type IconProps = {
};
export type IconComponentProps = {
- method: "SVG" | "LUCIDE";
name: string;
style: string;
iconColor?: string;