ome / omero-web

Django-based OMERO.web client
https://www.openmicroscopy.org/omero
16 stars 29 forks source link

Annotation inheritance for other types (tags, comments, ratings) #556

Open Tom-TBT opened 1 month ago

Tom-TBT commented 1 month ago

I open this issue, regarding the display of other types of inherited annotations (now only works for key-value pairs). https://forum.image.sc/t/simultaneous-display-of-tags-for-the-image-dataset-and-project-levels/96503

This time, this should only require modification of individual display of annotation in JS and templates. For example, in the case of tags: ome.right_panel_tags_pane.js and tags_underscore.html

That's because https://github.com/ome/omero-web/blob/c6314d8a9917ba4112696d683516d89be8fafcb0/omeroweb/webclient/views.py#L1333 can already retrieve annotations from parent objects.

Maybe worth discussing what shouldn't be inherited. Attachements? Tables?

imagesc-bot commented 1 month ago

This issue has been mentioned on Image.sc Forum. There might be relevant details there:

https://forum.image.sc/t/simultaneous-display-of-tags-for-the-image-dataset-and-project-levels/96503/2