jena icon indicating copy to clipboard operation
jena copied to clipboard

Update Fuseki Edit view CodeMirror usage

Open AtesComp opened this issue 3 months ago • 2 comments

  • 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.

AtesComp avatar Dec 08 '25 23:12 AtesComp

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).

  1. 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.

afs avatar Dec 10 '25 10:12 afs

On it. It'll be updated shortly. I've added a .gitignore entry for VSCode as well.

AtesComp avatar Dec 10 '25 20:12 AtesComp

One small request - could you squash the commits down to one commit please?

afs avatar Dec 16 '25 19:12 afs