Releases: elsevierlabs-os/cpld-viewer
Releases · elsevierlabs-os/cpld-viewer
Auto-reload, Open links, Proxy
- Auto-reload on file save (both for HTML as associated local JSON-LD files)
- Double-click on id-value in subject, predicate, object pane will attempt to open that URI in a browser.
- Clearer error messages when failing to load a file.
- Clearer info message when loading data from external locations (including count of triples added)
- Basic Python proxy code in Flask, useful to circumvent CORS and/or redirect to APIs.
- CSS tweaks
Stability improvements
- Correct handling of XPath selectors (the viewer injects elements under the
<body>
which broke some XPaths) - Decorate any HTML element that's mentioned in the RDF (rather than only those appearing in
HAS_PART
relation) - Removed need to specify
hasPart IRI
in settings. - Open CPLD viewer in the same tab for each file. Reload in the same tab.
- More visible highlighting
- Keyboard shortcut added for opening CPLD viewer (
ctrl+alt+p
)
Auto Reload
CPLD viewer will now auto-reload upon save of a previously opened file.
This only works for the HTML file, not the associated JSON-LD files.
v1.0.2
Changes:
- Can now reliably load multiple referenced JSON-LD files (circumvents an issue with rdflib.js)
- Moved menu bar to bottom to improve use of screen, and support scrollTo behavior
- Parts of the text with a mention in the RDF are now clearly marked
- Now click on an annotated part of the text to show the associated triples
- Clicking on URIs in the toasts to the right will more reliably scroll to the relevant position in the text.
- Triple layouts are now more consistent and easier to read. Literals can break into multiple lines, improving readability.
- More aggressive truncating of long IRIs.
- Various other improvements to the CSS (e.g. navbar collapsing).
v1.0.0
Release of the CP/LD Viewer under an MIT open source license.