diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 0d660e5e..83803271 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -112,57 +112,58 @@ export const InterpretationLog: React.FC = ({ isOpen, se }, [hasScrapeListAction, hasScrapeSchemaAction, hasScreenshotAction, setIsOpen]); return ( - - - + + + Output Data Preview + +
- Output Data Preview - - - - Output Data Preview - -
- {tableData.length > 0 ? ( + {tableData.length > 0 ? ( + <> @@ -173,7 +174,7 @@ export const InterpretationLog: React.FC = ({ isOpen, se - {tableData.map((row, index) => ( + {tableData.slice(0, Math.min(5, tableData.length)).map((row, index) => ( {columns.map((column) => ( {row[column]} @@ -183,28 +184,30 @@ export const InterpretationLog: React.FC = ({ isOpen, se
- ) : ( - - - {hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? ( - <> - - You've successfully trained the robot to perform actions! Click on the button below to get a preview of the data your robot will extract. - - - - ) : ( + Additional rows of data will be extracted once you finish recording. + + ) : ( + + + {hasScrapeListAction || hasScrapeSchemaAction || hasScreenshotAction ? ( + <> - It looks like you have not selected anything for extraction yet. Once you do, the robot will show a preview of your selections here. + You've successfully trained the robot to perform actions! Click on the button below to get a preview of the data your robot will extract. - )} - + + + ) : ( + + It looks like you have not selected anything for extraction yet. Once you do, the robot will show a preview of your selections here. + + )} - )} -
-
- -
+
+ )} +
+
+ - ); + + ); } \ No newline at end of file