-
Notifications
You must be signed in to change notification settings - Fork 24
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
Combine both download modals into one #7068
Conversation
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.
Well done! Code LGTM, I'll report back tomorrow after testing :)
frontend/javascripts/oxalis/view/action-bar/download_modal_view.tsx
Outdated
Show resolved
Hide resolved
frontend/javascripts/oxalis/view/action-bar/download_modal_view.tsx
Outdated
Show resolved
Hide resolved
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.
Co-authored-by: Daniel <[email protected]>
…bknossos into combine-download-modals
…bine-download-modals
…ot an annotation)
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, only one small suggestion :)
frontend/javascripts/oxalis/view/action-bar/download_modal_view.tsx
Outdated
Show resolved
Hide resolved
…ty-list-drawings * 'master' of github.com:scalableminds/webknossos: [Docs] Update embedded YouTube URLs (#7102) Show organization in dataset info tab (#7087) Added Tutorials to Docs (#7095) Combine both download modals into one (#7068) Add "merge" blend mode (#6936) Changed the spacing/width of VX reports runs selection (#7094) Allow dataset managers to see all workflow reports of their orga (#7081) Fix rectangle at 0,0,0 (#7088) Allow to disable automatic reloading of meshes during proofreading (#7076)
This pr combines the two download modals by merging the python modal that was used in the dataset view mode. The only python modal was deleted afterward.
The download modal now supports tiff export in view mode but not wkw download because there is no annotation to download from view mode.
For the review, I suggest turning off showing changes in whitespace. This will drastically decrease the number of changed lines.
URL of deployed dev instance (used for testing):
Steps to test:
yarn enable-jobs
and start a local wk worker. ( <-- needed to test whether the tiff export works)download_modal_view.tsx
and decrease the max limit 112 to something small by e.g. replacing the value that is compared to the variablevolume
with1000
. Reloading and reopening the dataset should show the tiff export modal tab but the download should be disabled, as the layer is too large.Issues:
(Please delete unneeded items, merge only when none are left open)