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

Lk/learning language selection #1299

Merged

Conversation

leangseu-edx
Copy link
Contributor

What changed?

  • downgrade jest because I couldn't do individual test. npx jest {path} -u. This make writing test so much faster.
  • add jest-console-group-reporter to group logs. With it, I was able to kick out a few of the unnecessary console like missing props etc. There are still a lot more.
language-selection.mov

chore: update tests so we have less error message

test: update test
Copy link

codecov bot commented Feb 26, 2024

Codecov Report

Attention: Patch coverage is 98.30508% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 88.49%. Comparing base (8335dec) to head (23b571a).
Report is 2 commits behind head on feat/whole-course-translations.

Files Patch % Lines
...ce/Unit/translation-selection/TranslationModal.jsx 88.88% 1 Missing ⚠️
Additional details and impacted files
@@                        Coverage Diff                         @@
##           feat/whole-course-translations    #1299      +/-   ##
==================================================================
+ Coverage                           88.36%   88.49%   +0.12%     
==================================================================
  Files                                 291      297       +6     
  Lines                                4941     5005      +64     
  Branches                             1245     1258      +13     
==================================================================
+ Hits                                 4366     4429      +63     
- Misses                                561      562       +1     
  Partials                               14       14              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@leangseu-edx leangseu-edx changed the base branch from master to feat/whole-course-translations February 26, 2024 16:13
Copy link
Member

@BrandonHBodine BrandonHBodine left a comment

Choose a reason for hiding this comment

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

Lgtm! I'm still really new to this codebase and not sure if you needs others to take a look.

Copy link
Contributor

@Rodra Rodra left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@nsprenkle nsprenkle left a comment

Choose a reason for hiding this comment

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

@leangseu-edx leangseu-edx merged commit 60ae8b3 into feat/whole-course-translations Feb 28, 2024
7 checks passed
@leangseu-edx leangseu-edx deleted the lk/learning-language-selection branch February 28, 2024 14:41
leangseu-edx added a commit that referenced this pull request Mar 20, 2024
* feat: add language selection

chore: update tests so we have less error message

test: update test

* test: update tests

* chore: remove duplicate translation

* chore: lint for console

* chore: remove comments

* chore: make sure the affect url frame refresh after the language selection change
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.

4 participants