From 610dd2f209b5c8ab573d6de6dddc6c0c0bae51a9 Mon Sep 17 00:00:00 2001 From: karishmas6 Date: Sat, 19 Oct 2024 09:41:49 +0530 Subject: [PATCH] feat: align log w.r.t right panel --- .../molecules/InterpretationLog.tsx | 195 +++++++++--------- 1 file changed, 99 insertions(+), 96 deletions(-) diff --git a/src/components/molecules/InterpretationLog.tsx b/src/components/molecules/InterpretationLog.tsx index 69c85fa9..62834603 100644 --- a/src/components/molecules/InterpretationLog.tsx +++ b/src/components/molecules/InterpretationLog.tsx @@ -3,7 +3,7 @@ import SwipeableDrawer from '@mui/material/SwipeableDrawer'; import Typography from '@mui/material/Typography'; import Radio from '@mui/material/Radio'; import RadioGroup from '@mui/material/RadioGroup'; -import { Button, TextField } from '@mui/material'; +import { Button, TextField, Grid } from '@mui/material'; import FormControlLabel from '@mui/material/FormControlLabel'; import FormControl from '@mui/material/FormControl'; import FormLabel from '@mui/material/FormLabel'; @@ -106,108 +106,111 @@ export const InterpretationLog: React.FC = ({ isOpen, se const columns = tableData.length > 0 ? Object.keys(tableData[0]) : []; return ( -
- - + + + + + Output Data Preview + +
- - Output Data Preview - -
- {/* + }}> + {/* {log} */} - {tableData.length > 0 && ( - - - - - {columns.map((column) => ( - {column} - ))} - - - - {tableData.map((row, index) => ( - + {tableData.length > 0 && ( + +
+ + {columns.map((column) => ( - {row[column]} + {column} ))} - ))} - -
-
- )} -
- - -

What is the maximum number of rows you want to extract?

-
- - } label="10" /> - } label="100" /> - } label="Custom" /> - {selectedOption === 'custom' && ( - - )} - -
-
-

How can we find the next item?

-

Select and review the pagination setting this webpage is using

- + + + {tableData.map((row, index) => ( + + {columns.map((column) => ( + {row[column]} + ))} + + ))} + + + + )} +
+ + +

What is the maximum number of rows you want to extract?

+
+ + } label="10" /> + } label="100" /> + } label="Custom" /> + {selectedOption === 'custom' && ( + + )} + +
+
+

How can we find the next item?

+

Select and review the pagination setting this webpage is using

+ +
+
-
-
- -
+ + + ); } \ No newline at end of file