ISAITB / shacl-validator

Web and command-line application for the validation of RDF data.
https://joinup.ec.europa.eu/collection/interoperability-test-bed-repository/solution/rdf-validator
European Union Public License 1.2
13 stars 1 forks source link

Show Results Only, Hide Form Elements #2

Closed init-dcat-ap-de closed 2 years ago

init-dcat-ap-de commented 2 years ago

See https://github.com/GovDataOfficial/DCAT-AP.de-SHACL-Validation/issues/14:

The validator is a single page application.

To better embed the validator inside an application it would be helpful to only show the results and to hide the form fields.

This could be implemented e.g. by a (hidden) form parameter hide_form.

And the following discussion.

costas80 commented 2 years ago

Viewing the results in text form is the minimal UI would be interesting indeed. In general we try to keep the UI of the minimal UI as concise as possible and avoid adding any superfluous information. My proposal here would be to include two expandable sections in the display of the results, one containing the overview (i.e. what you see today - open by default) and the second one (closed by default) that includes the findings. This should keep the UI quite simple but allow you to review findings without needing to download the report.

costas80 commented 2 years ago

The minimal UI variant of the validator has been extended to allow you to toggle between the current summary view and the report's details. This allows you now to view the reported findings without needing to download the validation report.

To toggle to the detailed display click the "View details" button on the result screen:

image

Which will display the details and their relevant controls:

image

You can switch back to the summary display by clicking the "View summary" button.