Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creators and Learners can access voiceovers with accent #20163

Merged
merged 109 commits into from
Jun 3, 2024

Conversation

Nik-09
Copy link
Member

@Nik-09 Nik-09 commented Apr 15, 2024

Overview

The PR introduces the changes so that creators and voiceover artists can now add voiceovers for state content in a specific accent of a language. And learners can access those voiceovers on the exploration player page.
This feature will be hidden behind the feature flag to smoothly launch the functionality.

Essential Checklist

Please follow the instructions for making a code change.

  • I have linked the issue that this PR fixes in the "Development" section of the sidebar.
  • I have checked the "Files Changed" tab and confirmed that the changes are what I want to make.
  • I have written tests for my code.
  • The PR title starts with "Fix #bugnum: " or "Fix part of #bugnum: ...", followed by a short, clear summary of the changes.
  • I have assigned the correct reviewers to this PR (or will leave a comment with the phrase "@{{reviewer_username}} PTAL" if I can't assign them directly).

Testing doc (for PRs with Beam jobs that modify production server data)

  • A testing doc has been written: ... (ADD LINK) ...
  • (To be confirmed by the server admin) All jobs in this PR have been verified on a live server, and the PR is safe to merge.

Proof that changes are correct

Description: The below video demonstrates that voice artists can add manual voiceover using the new UI for the English language in a Canadian accent.

add_voiceover_in_a_language.mp4

Description: The below video demonstrates that voice artists can add manual voiceovers using the new UI for English in a Canadian accent and Hindi language in an Indian accent.

add_voiceover_in_two_different_languages.mp4

Description: The below video demonstrates that learners can access English voiceover in the Canadian language.

learning_in_english.online-video-cutter.com.mp4

Description: The below video demonstrates that learners can access Hindi voiceover in the Indian language.

learning_in_hindi.mp4

Proof of changes on desktop with slow/throttled network

Proof of changes on mobile phone

Proof of changes in Arabic language

PR Pointers

Copy link
Member Author

@Nik-09 Nik-09 left a comment

Choose a reason for hiding this comment

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

Hi @vojtechjelinek PTAL once you are free.
Also, @Lawful2002 I have addressed the comment. PTAL
Thank you

@Nik-09 Nik-09 assigned Lawful2002 and unassigned Nik-09 May 30, 2024
Copy link
Member

@vojtechjelinek vojtechjelinek left a comment

Choose a reason for hiding this comment

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

LGTM!

@vojtechjelinek vojtechjelinek removed their assignment May 31, 2024
Copy link

oppiabot bot commented Jun 2, 2024

Unassigning @Lawful2002 since they have already approved the PR.

@oppiabot oppiabot bot added the PR: LGTM label Jun 2, 2024
Copy link

oppiabot bot commented Jun 2, 2024

Hi @Nik-09, this PR is ready to be merged. Please address any remaining comments prior to merging, and feel free to merge this PR once the CI checks pass and you're happy with it. Thanks!

@oppiabot oppiabot bot assigned Nik-09 Jun 2, 2024
@Nik-09 Nik-09 added this pull request to the merge queue Jun 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 3, 2024
@Nik-09 Nik-09 added this pull request to the merge queue Jun 3, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 3, 2024
@Nik-09 Nik-09 added this pull request to the merge queue Jun 3, 2024
Merged via the queue into oppia:develop with commit fd3b3b6 Jun 3, 2024
81 checks passed
@Nik-09 Nik-09 deleted the access_voiceovers_with_accent_creators branch June 3, 2024 13:17
AFZL210 pushed a commit to AFZL210/oppia that referenced this pull request Jun 12, 2024
* Adds flag to prevent voiceover contribution

* Adds feature flag to add voiceover with accent.

* Fixes lint issues

* Fixes lint issues

* Fixes lint, mypy, prettier, frontend, backend tests

* updates variable name

* Updates UI

* updates variable name

* Fixes backend test

* Removes platform param variable

* Removes redundant code.

* Updates flag name.

* Fixes frontend tests

* Adds helper method to enable voiceover contribution feature flag.

* Fixes e2e test

* Adds voiceover update helper method

* Adds entity voiceover helper methods.

* Fixes e2e test

* Enabled video recording

* Adds get voiceover APIs

* Fixes E2E test

* Adds voiceover card

* Updates UI

* Updates feature flag name from snake case to camel case

* Updates feature flag for voiceovers

* Enabled video recording for debugging e2e.

* Adds voiceover removal functionality

* Disables video recording for e2e tests

* Removes waitfor method

* Fixes backend tests

* Adds progress bar

* Enables videos recording

* Fixes exploration editor bug

* Updates UI

* Add backend API methods

* Enables flag for recording voiceovers

* Changes logged in username

* updates e2e test

* Updates e2e test

* Updates model

* Updates e2e tests

* Disable video recording for e2e test

* Adds backend code comments.

* Adds docstring.

* Fixes frontend test

* Updates frontend methods

* Updates frontend methods

* Updates frontend

* Adds voiceover from change list

* Updates status graph code on voiceover addition

* Updates UI

* Removes console

* Fixes state translation frontend tests

* Fixes frontend tests for translator overview.

* Fixes frontend test for translation status service

* Fixes lint issues

* Adds frontend tests

* Fixes lint issues

* Adds CSS

* Updates learner facing UI.

* Updates minute variable names and code comments

* Adds backend + frontend unit tests

* Adds frontend tests

* Fixes frontend tests

* Fixes lint checks

* Fixes mypy checks

* removes redundant code

* Fixes typescript checks

* Updates test case names

* Adds backend coverage tests

* Adds backend coverage tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants