smurp / huviz

interactive, customizable semantic web visualization
GNU General Public License v3.0
14 stars 4 forks source link

re-expose parsing error messages in the commands box #95

Closed smurp closed 6 years ago

smurp commented 6 years ago

https://github.com/smurp/huviz/commit/f07b62e

The .box__error element is no longer formatted to be visible, so the error messages which used to be presented there during parsing of a chosen file are no longer visible.

To encounter these error messages you've got to try to load (for example) a Turtle file with syntax errors.

The following big nasty url is to a snapshot of a file which contains such an error: https://raw.githubusercontent.com/cwrc/testData/d2063e6975bc64400f46ca684c395b7b22f60f6b/demoData/DH2017Montreal.ttl

What we had before was the parse error messages being displayed in the drag and drop box -- but that was back when the parsing happened immediately, ie before we were picking the ontology as a separate operations. So I think what we need is a new div just under the area which displays the dataset/ontology names after GO is pressed. Alternatively displaying the message in place of (or appended to) the big blue "fetching" text in the background of the graphing area is also a possibility. I think my preference would be under the "dataset/ontology" labels after GO.