-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show short name of vocabulary for property values from another vocab #1084
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Codecov Report
@@ Coverage Diff @@
## master #1084 +/- ##
=========================================
Coverage 60.32% 60.32%
Complexity 1592 1592
=========================================
Files 32 32
Lines 4429 4429
=========================================
Hits 2672 2672
Misses 1757 1757
Continue to review full report at Codecov.
|
I wonder if this could be implemented as an option, i.e., as a Skosmos property? Nice work anyway! :) |
If there's a genuine need for both long and short names, then making it configurable would make sense. I'm a bit skeptical. I'd prefer just to merge this change as-is, since I think that short vocabulary names are better in any case. They are already used in other contexts in the UI, e.g. search results. |
I see your point. The advantage of your solution is that it is simpler, however, for example |
Short names are (or can be) language specific too, just like long names of vocabularies. |
I stand corrected (it seems like this has been like that, as your said, since v0.6). I suppose there is no problem then and you have pointed out your preference on this matter. Go on and merge! :) |
This one-line (plus test) PR will change the vocabulary names that are shown on the concept page next to property values that come from another vocabulary known to Skosmos. This change was requested by the Kanto/finaf project. The long vocabulary names clutter the display of property values. Using the short names instead makes the display a bit cleaner.
Before this PR:
After: