Analysis and design of file uploading in the SPA #384
Labels
pm.GREI-d-2.7.1
NIH, yr2, aim7, task1: R&D UI modules for creating datasets and supporting publishing workflows
pm.GREI-d-2.7.2
NIH, yr2, aim7, task2: Implement UI modules for creating datasets and publishing workflows
Size: 3
A percentage of a sprint. 2.1 hours.
SPA: File Upload Page
Overview of the Feature Request
Analyze and design how to implement file uploads in the SPA. Study the existing mechanisms in the API and the options that React offers us to do it in the optimal way.
Some ideas shared in Slack:
From the client side, when uploading a file, we can create an objectUrl to preview the image of the uploaded file from a local blob ( if its an image) else show some icon according to the file extension.
For actually sending those files to the api we will need to create a formData and append every file to it
I’m still not sure how to implement file upload from the client side and if a use case is necessary, or direct API call (or both)
What kind of user is the feature intended for?
Developer
What inspired the request?
Frontend team discussion
What existing behavior do you want changed?
None
Any brand-new behavior do you want to add to Dataverse?
None
Any open or closed issues related to this feature request?
None
The text was updated successfully, but these errors were encountered: