-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2nd attempt: Merge "Shared Annotations" with "My annotations" #6287
Conversation
@jstriebel could you have a look here at the latest commits? after broadening the access context, which solved the 404 error, the second bug was that annotations that were public were also listed on this page. however, the semantics of “public” is really “unlisted” (since such a list did not exist before and we cannot just change that semantics as it was communicated like this to the users). so now I added a separate list access query. i also added a slight performance improvement for fetching shared teams from the db |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, code looks mostly good to me, see my one comment though. I didn't test this myself so far.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Second attempt to merge #6230. However, there seems to be a bug with the
annotations/readable
route which fails sometimes with a 404 status.https://webknossos.org/api/annotations/readable?isFinished=false&pageNumber=0 failed for me in prod (isFinished=true worked).