The Terminology Service Suite project is a collection of interactive widgets designed to ease the integration of terminology service functions into third-party applications.
Problem: Slow and and shows not found string instead of fall back text - the TitleWidget shows "No title available" even though default_value is set
Suggestion: widget could show the default_value string in addition to the loading spinner while the data is loading
Use case: In the StudyHub, we store the IRI and the label for keywords. I think that in some cases the IRIs are outdated and no longer load, so we would like to display the keyword label as fallback.
Example: https://csh.nfdi4health.de/resource/9 under General information, open the tab "Details". 5/6 keywords don't load and do not show the fallback label.
Solution: The default TitleWidget shows the queried title if available (a). If not available, it shows a not available message (b) or the default value (c), if defined. While loading, a loading spinner is displayed beneath the text (d). If a title text is defined, it always shows the title text (e).
fix for https://github.com/ts4nfdi/terminology-service-suite/issues/112
Problem: Slow and and shows not found string instead of fall back text - the TitleWidget shows "No title available" even though default_value is set
Suggestion: widget could show the default_value string in addition to the loading spinner while the data is loading
Use case: In the StudyHub, we store the IRI and the label for keywords. I think that in some cases the IRIs are outdated and no longer load, so we would like to display the keyword label as fallback. Example: https://csh.nfdi4health.de/resource/9 under General information, open the tab "Details". 5/6 keywords don't load and do not show the fallback label.
Solution: The default TitleWidget shows the queried title if available (a). If not available, it shows a not available message (b) or the default value (c), if defined. While loading, a loading spinner is displayed beneath the text (d). If a title text is defined, it always shows the title text (e).
(a)
(b)
(c)
(d)
(e)