gbv / cocoda

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

ConceptTree: highlight mapped concepts #458

Closed nichtich closed 5 years ago

nichtich commented 5 years ago

Mapping a whole classification or part of it requires some better way to see which concepts have been mapped and which have not been mapped yet. A simple approach could be this:

If a concept scheme is selected on both sides. For all concepts in a ConceptTree do a query for mappings from the concepts shown to concepts in the currently selected registry to the currently selected other concept scheme. If a mapping is found, highlight the concept label as bold as shown here for 17 and 20:

image

This feature could be disabled/enabled in ConceptTree settings as it requires additional API queries that may slow down the application and for fully mapped schemes you don't always want to show every concept as bold.

stefandesu commented 5 years ago
stefandesu commented 5 years ago

I added a first implementation suggestion in dev, using a green dot on the right side of the item. Note that it's disabled by default and has to be enabled using the ConceptList settings.

Please check the following:

Known issues:

Examples to test it with: Try BK -> DDC, select Concordance Registry, and open "7-8 Sozialwissenschaften" on the BK side. You'll see that some of the concepts have been mapped already. You can also select Local Mappings and create mappings between the systems.

stefandesu commented 5 years ago

This is currently not working when using Wikidata as a mapping registry. See https://github.com/gbv/wikidata-jskos/issues/45.

stefandesu commented 5 years ago

Since there is no change on Cocoda's side necessary for the Wikidata fix, I'll close this issue now.