Skip to content
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

Drag'n'drop hybrid import #4837

Merged
merged 11 commits into from
Oct 7, 2020
Merged

Drag'n'drop hybrid import #4837

merged 11 commits into from
Oct 7, 2020

Conversation

youri-k
Copy link
Contributor

@youri-k youri-k commented Sep 29, 2020

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • drop hybrid annotation into wk
  • => should be imported correctly
  • drop in data.zip only
  • => should fail

Issues:


Copy link
Contributor Author

@youri-k youri-k left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backend is ready for review.
The frontend works, but there are some code questions left. See my comments below @philippotto

Copy link
Member

@fm3 fm3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backend LGTM, I didn’t read the front-end code yet. A few thoughts to make sure everything works well:

  • does the frontend get to know the increased version number after merging a tracing?
  • is this route also called if there is no volume data? (i.e. skeleton only)
  • does it handle empty data.zips gracefully?
  • is dragging in a zipfile with multiple volume annotations also supported?

@youri-k
Copy link
Contributor Author

youri-k commented Sep 30, 2020

* does the frontend get to know the increased version number after merging a tracing?

Yes, it updates the state internally after a successful response.

* is this route also called if there is no volume data? (i.e. skeleton only)

No, then only the skeleton updates are applied.

* does it handle empty data.zips gracefully?

Yes.

* is dragging in a zipfile with multiple volume annotations also supported?

No.

@fm3
Copy link
Member

fm3 commented Sep 30, 2020

Yes, it updates the state internally after a successful response.
No, then only the skeleton updates are applied.
Yes.

Cool stuff!

No.

Okay, let’s maybe create a follow-up issue for that then :)

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! I left some smaller feedback, but the main stuff looks really good 👍

@youri-k
Copy link
Contributor Author

youri-k commented Sep 30, 2020

I hope I addressed all of the feedback. Feel free to test again 🙂

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent :)

@youri-k youri-k merged commit 760db41 into master Oct 7, 2020
@philippotto philippotto deleted the dnd-hybrid-import branch June 14, 2022 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drag'n'drop import for hybrid annotations
3 participants