Merge branch 'develop' into out-ss

This commit is contained in:
Karishma Shukla
2025-06-28 17:52:49 +05:30
committed by GitHub
23 changed files with 25 additions and 73 deletions

View File

@@ -307,4 +307,4 @@ const Canvas = ({ width, height, onCreateRef }: CanvasProps) => {
};
export default memo(Canvas);
export default memo(Canvas);

View File

@@ -19,7 +19,7 @@ const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) =
throw new Error("No workflow found");
}
}
).catch((error) => { console.log(error.message) })
).catch((error) => { console.log(`Failed to fetch workflow:`,error.message) })
};
interface LeftSidePanelProps {

View File

@@ -32,7 +32,7 @@ const fetchWorkflow = (id: string, callback: (response: WorkflowFile) => void) =
throw new Error("No workflow found");
}
}
).catch((error) => { console.log(error.message) })
).catch((error) => { console.log(`Failed to fetch workflow:`,error.message) })
};
interface RightSidePanelProps {
@@ -256,7 +256,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
);
updateListStepData(currentListId, extractedData);
console.log("✅ Client-side extraction completed:", extractedData);
console.log("✅ UI extraction completed:");
} catch (error) {
console.error("Error in client-side data extraction:", error);
notify("error", "Failed to extract data client-side");
@@ -276,7 +276,7 @@ export const RightSidePanel: React.FC<RightSidePanelProps> = ({ onFinishCapture
pagination: { type: "", selector: "" },
});
console.log("📤 Sent extraction request to backend");
console.log("📤 Sent extraction request to server");
} catch (error) {
console.error("Error in backend data extraction:", error);
}