Skip to content
Snippets Groups Projects
Commit 914109b3 authored by Vink, S.A. (Sjoerd)'s avatar Vink, S.A. (Sjoerd)
Browse files

feat(visManager): full screen for vis

parent 2918bca7
No related branches found
No related tags found
2 merge requests!135geo intergation,!129Feat/visManager
Pipeline #131644 passed
......@@ -59,7 +59,7 @@ export function App(props: App) {
const [authCheck, setAuthCheck] = useState(false);
const [tab, setTab] = useState<SideNavTab>('Schema');
const [visFullSize, setVisFullSize] = useState<boolean>(true);
const [visFullSize, setVisFullSize] = useState<boolean>(false);
return (
<div className="h-screen w-screen overflow-clip">
......@@ -115,7 +115,7 @@ export function App(props: App) {
</div>
) : null}
<div className="h-full w-full flex-grow">
{visFullSize ? (
<Resizable divisorSize={3} horizontal={false}>
<div className="w-full h-full border">
<VisualizationPanel
manager={manager}
......@@ -126,22 +126,10 @@ export function App(props: App) {
}}
/>
</div>
) : (
<Resizable divisorSize={3} horizontal={false}>
<div className="w-full h-full border">
<VisualizationPanel
manager={manager}
fullSize={() => {
setVisFullSize(!visFullSize);
setTab(undefined);
}}
/>
</div>
<div className="w-full h-full border">
<QueryBuilder onRunQuery={runQuery} />
</div>
</Resizable>
)}
<div className="w-full h-full border">
<QueryBuilder onRunQuery={runQuery} />
</div>
</Resizable>
</div>
</Resizable>
<div className="h-full w-60 ml-1">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment