weso / rdfshape-client

Web client for RDFShape API with human-friendly validations and visualizations.
https://rdfshape.weso.es
MIT License
10 stars 5 forks source link

Improve visualizations of errors #53

Open labra opened 3 years ago

labra commented 3 years ago

The RDFShape server provides better support now for errors which could help the visualizations of errors in rdfshape-client.

In particular, the JSON representation of errors in ShEx now returns the the location (line/col) of the RDFNode and the Shape label. It would be great for a user to be able to get a link from the RDFNode/label to the corresponding position in Turtle or in ShEx.

I suppose that this feature will require modifications in YaSHE or YATE, @mistermboy is the functionality in YaSHE/YATE to go to some specific line/col in the editor or maybe highlight it with a different color?

Maybe, the lint extension from codemirror could be useful?