pwin / turtle-editor-viewer

MIT License
9 stars 4 forks source link

enable sorting of subjects #38

Open ssfd7 opened 1 year ago

ssfd7 commented 1 year ago

It would be nice for subjects in the select widget to be sortable.

For ttl files with lots of subjects it is helpful to have them sorted case sensitive - classes at the top and relationships to follow - like that: for http://localhost:8070/turtle-editor-viewer-master/?dot=https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/rdf/dcat3.ttl image

I have used this SO code snippet to implement this feature locally.

pwin commented 1 year ago

are you submitting a PR?

ssfd7 commented 1 year ago

I could do so - if that is ok with your team

pwin commented 1 year ago

Thanks

On Mon, 13 Feb 2023, 20:13 ssfd7, @.***> wrote:

I could do so - if that is ok with your team

— Reply to this email directly, view it on GitHub https://github.com/pwin/turtle-editor-viewer/issues/38#issuecomment-1428614282, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIFYTAN4CQRY4BNX4T4ORLWXKIWRANCNFSM6AAAAAAU2EZ5AU . You are receiving this because you commented.Message ID: @.***>

ssfd7 commented 1 year ago

trying to push (index.html file changes) for this branch and getting this error:

PS C:\nginx-1.22.1\html\turtle-editor-viewer> git push -u origin issue-38-enable-sorting-subjects-in-select-options
C:\Users\Radu\scoop\apps\gh\current\bin\gh.exe auth git-credential get: C:UsersRaduscoopappsghcurrentbingh.exe: command not found
remote: Permission to pwin/turtle-editor-viewer.git denied to ssfd7.
fatal: unable to access 'https://github.com/pwin/turtle-editor-viewer.git/': The requested URL returned error: 403

Any idea why?

pwin commented 1 year ago

not at the moment, but if you paste here I can add

pwin commented 1 year ago

One of the useful things about the default is that they are roughly in the order that they occur in the turtle, so it's easy to select neighbouring nodes