Skip to content

Commit

Permalink
Merge pull request #346 from VirtualFlyBrain/vfb_geppetto_application
Browse files Browse the repository at this point in the history
Fix for anat 2 exp query
  • Loading branch information
Robbie1977 authored Jul 23, 2019
2 parents f4d86d8 + c7ab202 commit 0cae045
Show file tree
Hide file tree
Showing 6 changed files with 59 additions and 19 deletions.
1 change: 1 addition & 0 deletions components/VFBMain.js
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,7 @@ export default class VFBMain extends React.Component {
'Examples',
'Source',
'License',
'Related Individuals',
'Relationships',
'Query for',
'Query For',
Expand Down
6 changes: 5 additions & 1 deletion components/configuration/queryBuilderConfiguration.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var queryResultsColMeta = [
"locked": false,
"visible": true,
"customComponent": QueryLinkComponent,
"actions": "window.addVfbId('$entity$');",
"actions": "window.addVfbId('$entity$'.split('----')[0]);",
"displayName": "Name",
"cssClassName": "query-results-name-column",
},
Expand All @@ -26,6 +26,8 @@ var queryResultsColMeta = [
"order": 3,
"locked": false,
"visible": true,
"customComponent": QueryLinkComponent,
"actions": "window.addVfbId('$entity$'.split('----')[1]);",
"displayName": "Expressed_in",
"cssClassName": "query-results-expressed_in-column"
},
Expand All @@ -42,6 +44,8 @@ var queryResultsColMeta = [
"order": 5,
"locked": false,
"visible": true,
"customComponent": QueryLinkComponent,
"actions": "window.addVfbId('$entity$'.split('----')[2]);",
"displayName": "Reference",
"cssClassName": "query-results-reference-column"
},
Expand Down
2 changes: 1 addition & 1 deletion components/interface/ErrorCatcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ErrorCatcher extends React.Component {

handleClose = () => {
var customMessage = "Steps to reproduce the problem: \n\nPlease fill the below with the necessary steps to reproduce the problem\n\n\n\nError Information:\n\n"
var url = "https://github.com/VirtualFlyBrain/VFB2/issues/new?body=" + customMessage + this.state.error.message + "\n\n" + this.state.error.stack;
var url = "https://github.com/VirtualFlyBrain/VFB2/issues/new?body=" + customMessage + this.state.error.message + "\n\n" + escape(this.state.error.stack);
var win = window.open(encodeURI(url), '_blank');
win.focus();
};
Expand Down
1 change: 1 addition & 0 deletions components/interface/VFBTermInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ export default class VFBTermInfoWidget extends React.Component {

GEPPETTO.trigger('spin_logo');
$("body").css("cursor", "progress");
$('#query-results-label')[0].innerText = "Pulling Query Results...";

var callback = function () {
// check if any results with count flag
Expand Down
5 changes: 5 additions & 0 deletions css/VFBMain.less
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@
color: #11bffe;
}

// query results header
#querybuilder .griddle th{
text-align: left !important;
}

// query results rows
.griddle-body {
font-size: 14px !important;
Expand Down
Loading

0 comments on commit 0cae045

Please sign in to comment.