skohub-io / skohub-editor

Apache License 2.0
5 stars 4 forks source link

Share editor with specific schema loaded. #84

Closed TobiasNx closed 2 years ago

TobiasNx commented 2 years ago

In context of ORCA the link https://skohub.io/editor/ is shared with the intention to distribute the schema sample of the ORCA application profil but that obviously not the right link.

There should be an option to share the editor with an loaded schema.

acka47 commented 2 years ago

Duplicate of #5 which is already implemented, see e.g. https://skohub.io/editor/?schema=https://malis21.acka47.net/data/beispielschema.json. Closing.

TobiasNx commented 2 years ago

Okay, thats cool. However as a user I do not know this is possible neither the UI nor the URL resemble the link that you shared if you load it in https://skohub.io/editor

TobiasNx commented 2 years ago

Also the URL does not change if you load another schema: https://skohub.io/editor/?schema=https://malis21.acka47.net/data/beispielschema.json

Should I open another ticket for UI share link and the URL to be dynamic resembling the loaded schema?