🐛 Bug Report: Page Freezes On A Big File Upload
- Dominant language
- Svelte
- Stars
- 393
- Forks
- 260
- Avg merge
- 6h 53m
- Merged PRs (30d)
- 24
Description
### 👟 Reproduction steps
1. Go to Storage > Bucket
2. Go to File Uploader & Select a big file, [Example File](https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4).
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?
- [X] I have read the [Code of Conduct](https://github.com/appwrite/.github/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.