console icon indicating copy to clipboard operation
console copied to clipboard

🐛 Bug Report: Page Freezes On A Big File Upload

Open ItzNotABug opened this issue 11 months ago • 0 comments

👟 Reproduction steps

  1. Go to Storage > Bucket
  2. Go to File Uploader & Select a big file, Example File.
  3. Click Create > The button disables to start the upload and then re-enables.

The problem regarding big files is that the upload is started but the upload screen stays with the Create button now active again which makes a user click on it again which can either -

  1. Throw an error - A file with the same ID exists if a custom ID was provided or
  2. Re-upload the same file again which would probably go in circles at this point

👍 Expected behavior

The upload page / screen should be dismissed after clicking on Create.

👎 Actual Behavior

The page isn't dismissed which can cause multiple uploads of the same file.

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Linux

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • [X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

ItzNotABug avatar Mar 06 '24 06:03 ItzNotABug