UUDigitalHumanitieslab / I-analyzer

The great textmining tool that obviates all others
https://ianalyzer.hum.uu.nl
MIT License
6 stars 2 forks source link

Add `url` display type #1520

Closed lukavdplas closed 1 month ago

lukavdplas commented 3 months ago

This affects places where the frontend renders the content of fields:

https://github.com/UUDigitalHumanitieslab/I-analyzer/blob/fb1d88c068bc7e8a74372baa0c6951c1eba90c14/frontend/src/app/document-view/document-view.component.html#L21-L29

There is a special rule for URL fields (rendering the content as a link), but this is based on the field name.

It would be more appropriate to set te the display_type attribute accordingly.

Suggestion: