Skosmos icon indicating copy to clipboard operation
Skosmos copied to clipboard

Showing the notation in the hierarchy means the copy-button works on the notation code

Open joelit opened this issue 3 years ago • 0 comments

At which URL did you encounter the problem?

https://finto.fi/iptc/en/page/?uri=http%3A%2F%2Fcv.iptc.org%2Fnewscodes%2Fscene%2F011900

What steps will reproduce the problem?

  1. Use a vocabulary with notation codes and without any configuration settings for notations
  2. Notation codes can be seen in the hierarchy view, and the Copy to clipboard button copies the notation code on the heading row
  3. It's not possible to set configuration for the vocabulary that would change the behaviour to showing notations in the hierarchy view and having the Copy to clipboard button pick the preferred label - setting skosmos:showNotation "false" would set preferred copy-button behaviour, but it would hide the notation codes in the hierarchy view

What is the expected output? What do you see instead?

It wold be useful to separate the hierarchy view behaviour and the copy-button behaviour

What browser did you use? (eg. Firefox, Chrome, Safari, Internet explorer)

Chromium

joelit avatar Jun 07 '22 12:06 joelit