-
Notifications
You must be signed in to change notification settings - Fork 16
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
[Proposal] Uppy-based UI for file uploads in RDM #86
Comments
@mirekys sorry if you were waiting from us on this. It looks great to me!
For the React 18 upgrade, I think that it should not be too complex to upgrade the various UI components. |
i saw the react 18 reference. if we update InvenioRDM to react 18, keep in mind that packages like react-override have to be updated too |
Thanks @ntarocco, I was quite unfamiliar with how the rfc proposal process goes and was waiting for it to be approved. I definitely agree on those points you mentioned. Nowadays when mentioning React upgrade, I would aim even at v19, which is now stable (not sure how many blockers will there be regarding other library deps, tho). I have a question regarding where the implementation should live. Currently FileUploader lives as part of invenio-rdm-records. If this feature should be optional/toggleable and basically will be a React-only project, I think it makes sense for it to be a separate repo/NPM package, rather than to be a part of the main codebase with all the extra dependencies, but please let me know your thoughts :). General idea is, that this package would then export React components needed for UI, and its own DepositFilesService.js implementation. It could then be toggled on by |
Yes, I agree!
Totally OK with that, if it is simple enough to integrate the deposit form with this other component. This will probably mean publishing the component in
Just an idea: can we, instead, have the feature toggle in Python, and somehow in Jinja, inject one or the other? Or inject via Jinja extra props to drive the UI to use one or the other? |
Motivation
RDM users would like to:
We would like to:
Current UI implementation covers just a subset of these requirements, especially
lacks in department of large files uploads
Summary
Integrate Uppy.io, together with the AWS S3 plugin for a file uploader UI.
Can be probably done either by a headless approach (using its functionality, but leaving most of UI representation as is), or
by replacing current UI altogether with full Uppy Dashboard (examples).
Latest Uppy.io version (v4) requires React 18, but previous version compatible with React 16 is still usable for this case
This RFC will rely on features coming from: #76
Resources
CESNET is willing to take over implementation, we'll need it done approx. by the end of November
The text was updated successfully, but these errors were encountered: