biigle / core

:large_blue_circle: Application core of BIIGLE
https://biigle.de
GNU General Public License v3.0
11 stars 16 forks source link

Improve annotation session configuration #824

Open mzur opened 1 month ago

mzur commented 1 month ago

I want to move annotation sessions from the volume level to the project level. While this makes more sense from the user perspective, it is hard to implement on the technical side because volumes can belong to multiple projects. Previously I tried to fix this with a new data architecture (#53). But this change was abandoned because of lack of time and by now it would be too much work.

However, I think that we can still move annotation sessions to the project level if the more complicated database queries are implemented efficiently. It can work like this:

In an image/video it should be checked if an annotation session is active. The backend then queries all possible projects (to which the current user belongs) for annotation sessions. If any of the annotation sessions is active, apply the settings of the first one (with the lowest ID) to hide annotations.

This doesn't sound too complicated.

Notes: