Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:invanalabs/invana-studio into de…
Browse files Browse the repository at this point in the history
…velop
  • Loading branch information
rrmerugu committed Jun 2, 2021
2 parents c3db067 + ecc49f2 commit 6a04c16
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "invana-studio",
"version": "0.0.10",
"version": "0.0.11",
"description": "Open source graph visualiser.",
"private": true,
"homepage": "/",
Expand Down
37 changes: 25 additions & 12 deletions src/web/views/console.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ export default class ConsoleView extends DefaultRemoteRoutableComponent {
onChange={this.onQueryChange.bind(this)}
onKeyDown={this.onEnterPress.bind(this)}
canvasQueryString={this.state.canvasQueryString || ''}
style={{
// "overflow": "scroll",
// "height": "calc(100vh - 90px)"
}}
/>
<div className={"pl-3 pt-2 pb-2 pr-3 bg-white border-top"}>
<Button variant={"outline-primary position-relative pt-0 pb-0"} size="sm"
Expand Down Expand Up @@ -205,18 +209,27 @@ export default class ConsoleView extends DefaultRemoteRoutableComponent {
</Col>

<Col className={"pl-0 pt-3 m-0"} size={"4"} style={{"width": 0}}>
<div id="consoleResultDiv" className={"pl-3 border-left"}
style={{"minHeight": "120px"}}>
<h6 className={"pb-2 pt-2 border-bottom"}>Responses</h6>
{
responsesToRender.map((response, key) => {
console.log("++++=====response", response);
return <RawResponsesCanvas
key={key}
response={response}/>
})
}
<div className="clearfix"/>

<div className={"border"}>
<h6 className={"pb-2 pl-3 pr-3 pt-2 border-bottom"}>Responses</h6>

<div id="consoleResultDiv"
className={"m-3 overflow-scroll"}
style={{
"minHeight": "120px",
"overflow": "scroll",
"height": "calc(100vh - 95px)"
}}>
{
responsesToRender.map((response, key) => {
console.log("++++=====response", response);
return <RawResponsesCanvas
key={key}
response={response}/>
})
}
<div className="clearfix"/>
</div>
</div>
</Col>
</Row>
Expand Down

0 comments on commit 6a04c16

Please sign in to comment.