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
Development on this project seems to have started a few weeks ago. Why are you already using an older and deprecated version of CodeMirror (v5) https://github.com/OP-TED/ted-open-data/blob/develop/index.html#L332 when a newer, much better, v6 version is available? cf. https://codemirror.net/ v5 is using old CommonJS, while v6 uses modern EcmaScript Modules (ESM), which is much better for code optimization and just overall better to build an application ready for the future.
Thank you for your suggestions and your interest in our work.
We chose CodeMirror 5 because it is a stable tool that meets our current needs. At this point, it provides all the functionality we require, and its simplicity is an advantage. While we initially considered customizing the Monaco editor, we decided to defer the decision to adopt a more feature-rich SPARQL editor until it becomes necessary. Switching from one editor to another involves only a few lines of code, so it does not significantly impact our development process.
Our current priority is to build a comprehensive query library and explore the potential for further improvements. As we progress, we will certainly consider upgrading to CodeMirror 6, YASGUI, or Monaco to enhance the user experience.
We have recently added syntax checking with basic error highlighting in CodeMirror. Our next goal is to explore options for autocomplete. When we reach that stage, we will evaluate the benefits of using a more advanced SPARQL editor.
Ok, but if you start to spend time implementing autocomplete and other features for CM5, it will be harder and take more time to migrate to CM6 (which has quite a different API). And the devs behind code mirror are already warning about the fact CM6 is better maintained in the CM5 repository
NOTE: CodeMirror 6 exists, and is more mobile-friendly, more accessible, better designed, and much more actively maintained.
Development on this project seems to have started a few weeks ago. Why are you already using an older and deprecated version of CodeMirror (v5) https://github.com/OP-TED/ted-open-data/blob/develop/index.html#L332 when a newer, much better, v6 version is available? cf. https://codemirror.net/ v5 is using old CommonJS, while v6 uses modern EcmaScript Modules (ESM), which is much better for code optimization and just overall better to build an application ready for the future.
If you wanted to use CodeMirror v5 why not just reusing the popular YASGUI interface and configure it? (https://github.com/zazuko/Yasgui, or https://github.com/sib-swiss/sparql-editor for a YASGUI with custom autocomplete based on a SPARQL endpoint predicates and classes)
It would have saved you development time while giving your users more features.
The text was updated successfully, but these errors were encountered: