Skip to content

Disable dropped-audio submit check by default#168

Merged
mfwolffe merged 1 commit intoLab-Lab-Lab:mainfrom
espadonne:disable-dropped-audio-submit-check
Apr 10, 2026
Merged

Disable dropped-audio submit check by default#168
mfwolffe merged 1 commit intoLab-Lab-Lab:mainfrom
espadonne:disable-dropped-audio-submit-check

Conversation

@mfwolffe
Copy link
Copy Markdown
Collaborator

@mfwolffe mfwolffe commented Apr 10, 2026

Summary

  • disable dropped-audio detection in normal recorder submit flows by default
  • keep the dropped-audio detection code and warning modal in place
  • make detection opt-in via the Recorder prop enableDroppedAudioDetection

Why

Normal student recording submits were still invoking the dropped-audio scan and could be blocked by the warning flow. This change keeps the feature available without firing during the regular activity submit path.

Opt in

If we still want pre-submit dropped-audio scanning in a specific flow, render the recorder with:

<Recorder enableDroppedAudioDetection />

That re-enables the existing catchSilence(...) pre-submit check and warning modal for that recorder instance.

@mfwolffe mfwolffe merged commit 11370ef into Lab-Lab-Lab:main Apr 10, 2026
1 check passed
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.

2 participants