The JSON editor is a temporary workaround to more easily edit configuration files until the Web2Cit-Editor is available.
Because the Web2Cit-Editor may take some time to implement, and because the JSON editor can become a tool independent of Web2Cit, we may consider making some improvements:
- Have the editor accept an optional "fallback" parameter, indicating an alternative JSON file to pre-populate the form with, in case the main file could not be loaded. In the Web2Cit case, we could use this to load the fallback template.
- Pass the timestamp of when the pre-existing JSON file was fetched to the mediawiki editor, to handle edit conflicts.
- If the schema file specified can't be retrieved, json-editor fails and the error isn't caught by our script. This must be fixed.
- Split the script out of the HTML and create a TS file instead.
- The itemwise option is not overwritten with its default when switching transformation step types.