biigle / largo

:m: BIIGLE module to review image annotations in a regular grid
GNU General Public License v3.0
0 stars 1 forks source link

Taxonomic grouping #155

Open mzur opened 9 months ago

mzur commented 9 months ago

Users wished to be able to show patches of a whole sub–label tree in Largo. This could work similar to the label select component we have elsewhere in BIIGLE (e.g. the restrict to labels option for reports). If a label is selected with Ctrl and click, the label and all child labels are selected. If a label is selected with Alt and click, the label and all sibling labels are selected. Largo then shows the patches of all selected labels.

If more than one label is selected, we should show this as "x selected labels" above the label trees in the sidebar.

The patches could be loaded with one request for each label. But with many labels it is probably better to implement a new API endpoint that can return everything at once (or update the existing endpoint, but remember that it might be used elsewhere, too).

This feature could also be implemented in the annotation catalog.

agnanas commented 2 months ago

This would also resolve my original problem in https://github.com/biigle/largo/issues/170 imo.