Expired

Payout
0.1 ETH

$21.39

Remaining Balance
0.1 ETH

$21.39

Bounties Explorer File Upload Improvements

bounties-network

react

javascript

Description

There are two main issues right now occurring with file uploading:

  • firstly, we are not limiting the filesizes of uploaded files. File sizes should be limited to 1MB.
  • secondly, we are not properly handling errors if users attempt to upload files to IPFS and the call fails (you will see an error logged in the console, but the form acts as if the input is valid rather than invalidating the form)

I would like you to fix both of these issues, first by testing out large files failing with IPFs (and properly handling the error by adding an error message + state to the File Upload component which says "File upload failed, please try again"), and then by adding an error message which also invalidates the form if the file size is above 1MB in size.

Requirements

To complete this bounty, please open a PR to the Bounties Explorer which fixes both of these issues.

Privatebounty

Private bounties require that users apply to fulfill the bounty. Once you are approved by the issuer, you may submit a fulfillment for this bounty.

4 monthsexpired
Intermediatedifficulty
3 revisionsexpected