-
Notifications
You must be signed in to change notification settings - Fork 27
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
✨ Link to dispatch study with file-only and 🐛 fixes download link #4043
✨ Link to dispatch study with file-only and 🐛 fixes download link #4043
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4043 +/- ##
========================================
- Coverage 85.5% 84.9% -0.6%
========================================
Files 957 885 -72
Lines 41448 40064 -1384
Branches 954 824 -130
========================================
- Hits 35467 34044 -1423
- Misses 5765 5830 +65
+ Partials 216 190 -26
Flags with carried forward coverage won't be shown. Click here to find out more.
|
33ce077
to
9a66d1b
Compare
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.
Didnt check everything in Detail, Just some comments. Thanks a lot!
packages/models-library/src/models_library/utils/pydantic_tools_extension.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_constants.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_errors.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_projects.py
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.
Nice, please have a look at some doubts
services/web/server/src/simcore_service_webserver/studies_dispatcher/_core.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_models.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_models.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_projects.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_projects.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_rest_handlers.py
Outdated
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_rest_handlers.py
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.
👍
9a66d1b
to
f48877c
Compare
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.
👍
services/web/server/src/simcore_service_webserver/studies_dispatcher/_models.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_projects.py
Show resolved
Hide resolved
services/web/server/src/simcore_service_webserver/studies_dispatcher/_rest_handlers.py
Outdated
Show resolved
Hide resolved
Code Climate has analyzed commit 4fb47ca and detected 0 issues on this pull request. View more on Code Climate. |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
We need another iteration. Dominic will provide an nicer looking icon and we have to adapt the text and explain who can get an account (on the resources&tool page as well as on the panda page). Also, synchronize language with the Open in osparc button |
Changes were implemented and ready to test in staging |
What do these changes do?
view
links can now dispatch a new study with a single file-picker that can pull data from the portal (or any other download link)simcore_service_webserver/studies_dispatcher
plugin_errors.py
and_constants.py
)STUDIES_DEFAULT_SERVICE_THUMBNAIL
,STUDIES_DEFAULT_FILE_THUMBNAIL
for default thumbnailsSTUDIES_MAX_FILE_SIZE_ALLOWED
max file sizedownload_link
decoding that causes Portal "viewers" sometimes don't get the file in the FilePicker #3951Related issue/s
How to test
make devenv source .venv/bin/activate cd services/web/server make install-dev pytest -vv tests/unit/**/test_*dispatch*.py
Manual exploratory testing
Login and try the following links to dispatch a study with ...