feat: Add folder upload support for audio files (#45) #48
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.
Summary -
This pull request introduces support for uploading entire folders of audio files, addressing Issue #45. This feature simplifies the audio uploading process by allowing users to select and upload multiple files from a directory in one action.
🎯 What’s New
✅ Implemented folder upload functionality using
📁 Users can now upload multiple audio files from a folder at once
🔄 Automatically handles nested folder structures and filters valid audio files
💡 Improved UX by reducing the need for repetitive single uploads
🧪 How to Test
Click the new "Upload Folder" button or select a folder via the updated file input
All valid audio files inside the folder will be selected for upload
⚠ Notes
This implementation uses the webkitdirectory attribute which is currently supported in most Chromium-based browsers
Future enhancements can include drag-and-drop support or recursive folder handling via File System Access API (for browsers that support it)
📌 Related Issue
Closes #45