feat: support audio in quizzes#1733
Draft
huyenltnguyen wants to merge 3 commits intofreeCodeCamp:mainfrom
Draft
Conversation
dba43aa to
286f613
Compare
huyenltnguyen
commented
Feb 12, 2026
| // English Challenges | ||
| final FillInTheBlank? fillInTheBlank; | ||
| final EnglishAudio? audio; | ||
| final EnglishScene? audio; |
Member
Author
There was a problem hiding this comment.
I'm adding a new QuizAudio class so I renamed EnglishAudio to EnglishScene, to better differentiate the two.
|
|
||
| class EnglishAudio { | ||
| final String fileName; | ||
| abstract class AudioClip { |
Member
Author
There was a problem hiding this comment.
Implemented a shared class so both scene and quiz audio can share audio logic. (I did try to make the scene and quiz audio schema as close as possible for this purpose).
5e3a386 to
dfdb891
Compare
This reverts commit c3a9d33.
dfdb891 to
4b89805
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Checklist:
mainbranch of the repo.This PR:
Note: There are currently no quizzes in prod with audio. The Language Curricula team is starting to add audio to English quizzes, but these quizzes are not yet available in prod (
isUpcomingChange: true). This change is purely preparatory, but it is required in order to release the quizzes. Otherwise, quizzes will reference audio that doesn't exist in the mobile app.Screenshot
Steps to test
Since there are no quiz challenges with audio in staging or prod, I used mock challenge data to test.
You can: