gbv / cocoda

A web-based tool for creating mappings between knowledge organization systems.
https://coli-conc.gbv.de/cocoda/
MIT License
40 stars 5 forks source link

Allow to edit names of concordance contributors #708

Closed nichtich closed 1 year ago

nichtich commented 1 year ago

Concordance contributors are edited in a simple text input field with one URI per line. This should be extended to URI, optionally followed by spaces and a name. The name should be saved as prefLabel of the contributor (probably default language en) so the concordance record can include contributor names.

Example input

https://coli-conc.gbv.de/login/users/xxx Darth Vader
https://coli-conc.gbv.de/login/users/yyy

JSON:

[
  { "uri": "https://coli-conc.gbv.de/login/users/xxx", "prefLabel": { "en": "Darth Vader" } },
  { "uri": "https://coli-conc.gbv.de/login/users/yyy"  }
]
stefandesu commented 1 year ago

Now implemented in Dev, exactly liked described above (only that any number of whitespace can separate URI and name; it was a regex anyway).

There's an issue in jskos-server that does not allow removing names from concordances via PATCH. This is separate from this issue though.

stefandesu commented 1 year ago

The jskos-server issue will be fixed in the upcoming v2 release.