Skip to content
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

Add File Upload Component (pc.upload) #238

Closed
Alek99 opened this issue Jan 10, 2023 · 2 comments · Fixed by #622
Closed

Add File Upload Component (pc.upload) #238

Alek99 opened this issue Jan 10, 2023 · 2 comments · Fixed by #622
Assignees
Labels
feature request A feature you wanted added to reflex help wanted Extra attention is needed
Milestone

Comments

@Alek99
Copy link
Member

Alek99 commented Jan 10, 2023

Another good first issue but this would be a harder than the date picker but if someone is up for the challenge this would be a huge help. This component with allow the user to upload a file to the server.

We can investigate if chakra input has this functionality using type="file". Otherwise we can make it from scratch or use another react lib to wrap.

Some requirements would be:

  • Can upload multiple types of files: images, json, txt, video...
  • User can specify path where the file is stored on the backend

See here for an intro into wrapping a react component in pynecone.

@Alek99 Alek99 added good first issue Good for newcomers feature request A feature you wanted added to reflex help wanted Extra attention is needed and removed good first issue Good for newcomers labels Jan 10, 2023
@Alek99
Copy link
Member Author

Alek99 commented Jan 10, 2023

A good library may be react-drag-drop-files.

@picklelo picklelo added this to the v0.1.15 milestone Jan 30, 2023
@picklelo picklelo self-assigned this Jan 31, 2023
@picklelo picklelo modified the milestones: v0.1.15, backlog Feb 4, 2023
@flozi00
Copy link

flozi00 commented Feb 12, 2023

Would love to help, but have no experience with react.
Came up to this framework after checking huggingface spaces.
File upload would be one of the most useful features for AI applications.
This lib seems interesting because gradio is good for demos, but this could be for products

@picklelo picklelo modified the milestones: backlog, v0.1.17, v0.1.19 Feb 21, 2023
@picklelo picklelo moved this to In Progress in Pynecone Feb 27, 2023
@picklelo picklelo moved this from In Progress to In Review in Pynecone Mar 2, 2023
@picklelo picklelo linked a pull request Mar 4, 2023 that will close this issue
@github-project-automation github-project-automation bot moved this from In Review to Done in Pynecone Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature you wanted added to reflex help wanted Extra attention is needed
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants