feat: remove LeftSidePanel

This commit is contained in:
karishmas6
2024-10-18 16:36:57 +05:30
parent 14bbb7d6d0
commit a0069e75fb

View File

@@ -114,17 +114,9 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
<ActionProvider> <ActionProvider>
<BrowserStepsProvider> <BrowserStepsProvider>
<div> <div>
{isLoaded ? {isLoaded ? (
<Grid container direction="row" spacing={0}> <Grid container direction="row" spacing={0}>
<Grid item xs={2} ref={workflowListRef} style={{ display: "flex", flexDirection: "row" }}> <Grid id="browser-content" ref={browserContentRef} item xs={10} sx={{ width: '900px', height: '500px'}}>
<LeftSidePanel
sidePanelRef={workflowListRef.current}
alreadyHasScrollbar={hasScrollbar}
recordingName={recordingName ? recordingName : ''}
handleSelectPairForEdit={handleSelectPairForEdit}
/>
</Grid>
<Grid id="browser-content" ref={browserContentRef} item xs>
<BrowserContent /> <BrowserContent />
<InterpretationLog isOpen={showOutputData} setIsOpen={setShowOutputData} /> <InterpretationLog isOpen={showOutputData} setIsOpen={setShowOutputData} />
</Grid> </Grid>
@@ -132,7 +124,9 @@ export const RecordingPage = ({ recordingName }: RecordingPageProps) => {
<RightSidePanel onFinishCapture={handleShowOutputData} /> <RightSidePanel onFinishCapture={handleShowOutputData} />
</Grid> </Grid>
</Grid> </Grid>
: <Loader />} ) : (
<Loader />
)}
</div> </div>
</BrowserStepsProvider> </BrowserStepsProvider>
</ActionProvider> </ActionProvider>