OpenHands icon indicating copy to clipboard operation
OpenHands copied to clipboard

feat(frontend): upload/download files and folders

Open amanape opened this issue 1 year ago • 1 comments

Summary

Extend the frontend file explorer to support uploading and downloading files and folders (resolves #1379)

Todo

  • [x] User can upload directories via input
    • Because of the nature of the input element with file-handling, we have to create a separate input for uploading files, and another for folders. For this, I implemented a dropdown when clicking the upload icon, that prompts the user to select the type of upload.
  • [ ] User can upload file/directory via drag-and-drop
  • [ ] User can download selected files/directories (ZIP?)

Any suggestions or additional requirements are welcomed

amanape avatar May 11 '24 15:05 amanape

Codecov Report

Attention: Patch coverage is 0% with 9 lines in your changes are missing coverage. Please review.

:exclamation: No coverage uploaded for pull request base (main@00c0eda). Click here to learn what that means.

Files Patch % Lines
opendevin/server/listen.py 0.00% 9 Missing :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1718   +/-   ##
=======================================
  Coverage        ?   64.29%           
=======================================
  Files           ?       99           
  Lines           ?     4055           
  Branches        ?        0           
=======================================
  Hits            ?     2607           
  Misses          ?     1448           
  Partials        ?        0           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar May 11 '24 15:05 codecov-commenter