You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As already discussed, the SkoHub Vocabs published via GitHub Pages does not support content negotiation. I am afraid, there is currently no way to enable the lookup and the SkoHub Editor code has to be adjusted for this.
Actually, the lookup (without typeahead search) works when you provide a valid JSON Schema. (I had a typo in the versions I tested and the editor would somehow load the last valid schema...) So, this is not too important now. With @literarymachine I agreed to add some configuration option like this at a later point:
As already discussed, the SkoHub Vocabs published via GitHub Pages does not support content negotiation. I am afraid, there is currently no way to enable the lookup and the SkoHub Editor code has to be adjusted for this.
@sroertgen already adjusted the SkoHub Editor code for WLO to directly look for the json vocab and the FlexSearch index, see
https://github.com/openeduhub/oeh-add-content/blob/4a80a03b4ba75b5c1d1e8cd89b8f20ae4b3903e8/frontend/src/components/JSONPointerForm/SkohubLookup.js#L84-L109
Thus, a solution for this problem would be to add this as fallback in the editor when content negotiation fails.
The text was updated successfully, but these errors were encountered: