feat: Add multiple file upload support #30
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR introduces support for multiple file uploads, significantly enhancing the user experience. Previously, users could only upload one file at a time, which was inefficient, especially when needing to upload multiple related files.
Key Changes:
Frontend: The file input element now includes the
multiple
attribute, allowing users to select multiple files for upload. The UI has been updated to clearly indicate this functionality and provide feedback during the upload process, including progress bars and error messages.Backend: The backend has been modified to handle multiple file uploads concurrently. Robust error handling has been implemented to gracefully manage potential issues during the upload process, such as network errors or file size limitations.
Why this change is needed:
The ability to upload multiple files simultaneously is a highly requested feature. This improvement streamlines the workflow for users, saving them time and effort. It also aligns with modern web application standards and best practices for file uploads.
Testing:
Thorough testing has been conducted to ensure the stability and reliability of the multiple file upload functionality. Tests include:
This enhancement significantly improves the user experience and efficiency of the application.