Skip to content

Upload audio changes - #833

Open
SonAndrea wants to merge 2 commits into
mainfrom
upload-audio-changes
Open

Upload audio changes#833
SonAndrea wants to merge 2 commits into
mainfrom
upload-audio-changes

Conversation

@SonAndrea

Copy link
Copy Markdown
Collaborator

Modified the audio component to allow a user to upload audio when the microphone is disabled. Additionally, in the original pr that was merged, @GracefulLemming, asked:

"I also see you are modifying the recording component directly. Is there a reason you avoided the existing upload code held in the same folder?"

I used and modified the existing upload code and put it directly within the audio recording as I find that typically on other sites with similar features, the record and upload are within the same component. With using the current implementation in upload.tsx, there would be two separate sections where users can do both at the same time. I wanted to limit the freedom to simplify it and prevent any complications of a user being able to submit uploaded and recorded audio in different places.

@netlify

netlify Bot commented Jul 24, 2026

Copy link
Copy Markdown

Deploy Preview for dailp canceled.

Name Link
🔨 Latest commit ce48e4d
🔍 Latest deploy log https://app.netlify.com/projects/dailp/deploys/6a6a5bade65e4b0008f5fa66

@SonAndrea SonAndrea linked an issue Jul 24, 2026 that may be closed by this pull request

@GracefulLemming GracefulLemming left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for these changes @SonAndrea and thank you for explaining why you didn't use the existing upload component. I see that users now do not need to allow their microphone access to upload audio, and I see you updated some of the prompt text for browsers that don't support audio recording.

Based on your comments, it might be helpful if you remove the old upload code so we can cut back on clutter but that can be done in a separate PR. For this PR, we should merge to main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adjustments to Uploading Audio

2 participants