Update Fuseki Edit view CodeMirror usage
- Create CodeMirror component for abstraction
- Replace Edit.vue textarea to CodeMirror element
- Update jena-fuseki-ui package.json to support native legacy mode languages
GitHub issue resolved #3555
Pull request Description: Fixes Fuseki UI graph edit contents for save.
- [ ] Tests are included.
- [ ] Documentation change and updates are provided for the Apache Jena website
- [ ] Commits have been squashed to remove intermediate development commit messages.
- [ ] Key commit messages start with the issue number (GH-xxxx)
By submitting this pull request, I acknowledge that I am making a contribution to the Apache Software Foundation under the terms and conditions of the Contributor's Agreement.
See the Apache Jena "Contributing" guide.
Hi @AtesComp - good to see this PR!
I downloaded the PR and ran the Jena build (mvn clean install) which came across two issues:
1.The file jena-fuseki2/jena-fuseki-ui/src/components/dataset/CodeMirror.vue needs a license header comment (see other files in the same directory).
- The yarn.lock file is not in-step with packages.json.
With workarounds for those two points, the build+tests works.
Also - please could you rebase the code to the latest state of main because today is our "javascript dependencies update day" from dependabot and today's batch changed yarn.lock.
On it. It'll be updated shortly. I've added a .gitignore entry for VSCode as well.
One small request - could you squash the commits down to one commit please?