hereisSwapnil / ExamTime

Share/Download notes PDF helps during exams
https://exam-time.vercel.app
MIT License
55 stars 113 forks source link

File Uploads Trigger Automatically Without Submission #17

Open Slacky300 opened 5 months ago

Slacky300 commented 5 months ago

Issue: File Uploads Trigger Automatically Without Submission

Description: Currently, in the note sharing web application, files are uploaded to Firebase automatically whenever a user selects a file for upload, without requiring explicit submission. To improve user control and prevent accidental uploads, the file upload process should occur only after the user clicks the submit function.

Steps to Reproduce:

  1. Open the web application.
  2. Navigate to the file upload section.
  3. Select a file for upload.
  4. Observe in the network tab that the file upload process initiates immediately upon file selection, before any explicit submission.

Expected Behavior:

Proposed Solution: Modify the file upload functionality to execute only when the user clicks the submit button. This ensures that users have control over when their files are uploaded to Firebase and prevents accidental uploads. Additionally, consider updating the user interface to provide clear instructions and visual cues, guiding users through the upload process and informing them about the required actions to complete the upload.

ritik7739 commented 5 months ago

Hello @hereisSwapnil As a GSSOC 2024 contributor, I'm keen to tackle new challenges. Please assign me this issue to showcase my skills and grow as a developer. Thanks for considering me!