ols4 icon indicating copy to clipboard operation
ols4 copied to clipboard

Links in descriptions

Open jamesamcl opened this issue 2 years ago • 2 comments
trafficstars

For example

https://www.ebi.ac.uk/ols4/ontologies/ro/properties/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FRO_0002204

The description has CURIEs in it. It would be quite simple to turn these into links. The same goes for URLs in text (which I believe OLS3 handles).

jamesamcl avatar Mar 03 '23 13:03 jamesamcl

Couldn't resist implementing this one as it was a very minor change with a visible impact on core OBO ontologies.

OLS3:

Screenshot 2023-03-07 at 01 48 15

OLS4:

Screenshot 2023-03-07 at 01 48 27

IRIs in text are also now handled by the frontend, but only if they are present in linkedEntities, which currently means if they are otherwise linked from the entity (e.g. the value of an annotation property referenced in the description would become an entity link). I haven't yet implemented a text scan for IRIs in the linker.

jamesamcl avatar Mar 07 '23 01:03 jamesamcl

That is a pretty cool idea

matentzn avatar Mar 07 '23 08:03 matentzn