Skip to content

Commit f1719cb

Browse files
committed
temporarily disable SubOp View
1 parent 3b124bd commit f1719cb

File tree

1 file changed

+4
-7
lines changed
  • frontend/packages/interface/src

1 file changed

+4
-7
lines changed

frontend/packages/interface/src/App.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,9 @@ function App() {
186186
throw new Error(json.detail);
187187
}
188188
setQueryPlan(json.plan);
189-
console.log(json.subopplan)
190189
setSubOpPlan(json.subopplan)
191-
console.log(json.mlir)
192190
setLayers(json.mlir)
193191
const analyzed= analyzeLayers(json.mlir)
194-
console.log("layerInfo", analyzed)
195192
setLayerInfo(analyzed)
196193

197194
} catch (error) {
@@ -341,8 +338,8 @@ function App() {
341338
<Tab eventKey="queryPlan" title="QueryPlan">
342339

343340
</Tab>
344-
<Tab eventKey="subopPlan" title="SubOperators">
345-
</Tab>
341+
{false&&(<Tab eventKey="subopPlan" title="SubOperators">
342+
</Tab>)}
346343
<Tab eventKey="mlir" title="MLIR (RelAlg)"/>
347344
<Tab eventKey="mlir2" title="MLIR (SubOp)"/>
348345
<Tab eventKey="mlir3" title="MLIR (HL. Imperative)"/>
@@ -362,14 +359,14 @@ function App() {
362359
selectedOps={selectedRelAlgOps}/>
363360
</div>
364361
</div>
365-
<div eventKey="subopPlan" title="SubOperatorPlan"
362+
{false&&(<div eventKey="subopPlan" title="SubOperatorPlan"
366363
style={{visibility: activeTab === "subopPlan" ? "visible" : "hidden", position: 'absolute'}}>
367364
<div style={{height: '50vh', backgroundColor: "gray"}}>
368365
<SubOpPlanViewerWithLoading input={subOpPlan} loading={queryPlanLoading}
369366
error={queryPlanError} selectedOps={selectedSubOpOps}
370367
onOperatorSelect={handleSubOpOpSelection}/>
371368
</div>
372-
</div>
369+
</div>)}
373370
<div eventKey="mlir" title="MLIR"
374371
style={{
375372
visibility: activeTab === "mlir" ? "visible" : "hidden",

0 commit comments

Comments
 (0)