-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat(datasets): user can import datasets though the UI #778
Conversation
preview? |
227ee80
to
be613d8
Compare
Updated... and ready to be tested Deployment: https://virginiatest.dev.renku.ch/ |
What is the URL that this lives on? What I mean is, can I do something like
This would make integration with third party pages like dataverse datasets much easier I guess? |
At the moment you can't do that but we can make a new issue to allow this to happen, I guess if you where to put this url in the browser you would be redirected to renku, the field would have the doi and you need to press the import button.... |
Yes! we should investigate what the best flow would be for this, but it would be super useful. |
I edited my comment on top... |
f72c07f
to
fdf4dff
Compare
This is a nice feature. We should use it in the tutorial. I like the UI and the code looks great as well. I have a few bugs that came up in testing:
|
fdf4dff
to
05e9e96
Compare
Fixed:
|
I added tests for those cases and things seem to pass there correctly now.
2.2) requested uri could not be resolved (for example invalid doi or url) in which case you should receive the following response:
Those error message are coming directly from the core module so they should match the same behavior as we have on the CLI. If you need messaging to be improved we should improve it there. Let me know if you are not receiving expected results (after we merge the PR). |
@jsam thanks for the changes, i will test them ASAP!!! |
4e88043
to
97676f8
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.
a9cfc50
to
1a56722
Compare
@lorenzo-cavazzi i just fixed the lint problems and also the error when entering dataset pages, i think this was related to some other PR, should be fixed now after the rebasing. |
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.
Great feature! It works well 👍
I have found a couple of minor details (a missing space in text and <Col>
sizing) to be adjusted.
I think the DatasetImport.present
component has part of the code that should go to the DatasetImport.container
since it's about getting data from the backend and not about the presentation of the content. Feel free not to address this if you think it's not needed, but it may help to maintain the componet in the future.
1a56722
to
6d832d6
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.
All good! I am sure this feature will be appreciated by the users
Closes #528
There is a new button in the UI so the user can import datasets using the UI.
There are some things to be fixed in the backend for this to properly work.
Button:
Form:
Deployment: https://virginiatest.dev.renku.ch/