panel icon indicating copy to clipboard operation
panel copied to clipboard

Add FileDropper widget

Open philippjfr opened this issue 1 year ago • 1 comments

Adds FileDropper widget based on the FilePond library. This upload component has more modern styling, support image previews and now supports chunked uploads, making it possible to upload large files.

  • [x] Settle on API for value attribute
  • [x] Add docs
  • [ ] Add tests

philippjfr avatar May 13 '24 10:05 philippjfr

Codecov Report

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

Project coverage is 81.52%. Comparing base (ec70c62) to head (3ef749d). Report is 2 commits behind head on main.

Files Patch % Lines
panel/tests/ui/widgets/test_input.py 72.50% 11 Missing :warning:
panel/widgets/input.py 80.39% 10 Missing :warning:
panel/models/file_dropper.py 93.93% 2 Missing :warning:
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #6826       +/-   ##
===========================================
+ Coverage   39.87%   81.52%   +41.64%     
===========================================
  Files         307      319       +12     
  Lines       44938    46895     +1957     
===========================================
+ Hits        17921    38230    +20309     
+ Misses      27017     8665    -18352     

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

codecov[bot] avatar May 14 '24 11:05 codecov[bot]

Thanks for the tests! They look good, could you approve and merge?

philippjfr avatar May 30 '24 08:05 philippjfr