Skip to content

Conversation

@leangseu-edx
Copy link
Contributor

@leangseu-edx leangseu-edx commented Feb 28, 2024

Disable showing course translation on the flag disabled

Ticket: https://2u-internal.atlassian.net/browse/AU-1858

@codecov
Copy link

codecov bot commented Feb 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (feat/whole-course-translations@60ae8b3). Click here to learn what that means.

Additional details and impacted files
@@                        Coverage Diff                        @@
##             feat/whole-course-translations    #1305   +/-   ##
=================================================================
  Coverage                                  ?   88.49%           
=================================================================
  Files                                     ?      297           
  Lines                                     ?     5008           
  Branches                                  ?     1260           
=================================================================
  Hits                                      ?     4432           
  Misses                                    ?      562           
  Partials                                  ?       14           

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

Copy link

@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.

Left a question but otherwise lgtm.

showCalculator: data.show_calculator,
notes: camelCaseObject(data.notes),
marketingUrl: data.marketing_url,
language: data.language,

Choose a reason for hiding this comment

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

Is this referencing the source/original language for the course?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is just available field for the course overview. TBH, I am not even sure if this would work. Currently it has locale code instead of language code.

Choose a reason for hiding this comment

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

Locale like en-us or locale as in us?

@leangseu-edx leangseu-edx merged commit b2c4e98 into feat/whole-course-translations Feb 29, 2024
@leangseu-edx leangseu-edx deleted the lk/course-translation-waffle-flag branch February 29, 2024 21:00
leangseu-edx added a commit that referenced this pull request Mar 27, 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

* chore: add whole_course_translation and language to courseware meta (#1305)

* feat: Add feedback widget UI mock

Add unit tests

Fix snapshot

Clean Sequence component logEvent calls

Clean unit test

Put feedback widget behind whole course translation flag

Fix useFeedbackWidget test

* chore: add src and dest translation

* feat: first iteration of plugin translation

chore: update plugin instruction

* feat: Connect FeedbackWidget with backend services (#1325)

Connect FeedbackWidget with backend services

Move feedback widget to unit translation plugin

* feat: Add authentication to WCT feedback endpoints (#1329)

* chore: add fetch config and move feedback widget for the plugin

chore: rewrite and test the api request

chore: rebase

chore: update translation feedback

chore: test

chore: add more tests

* chore: rebase

* chore: update requested change

* chore: update package

* chore: upgrade frontend-lib-special-exams and frontend-lib-learning-assistant

* chore: update tests

* chore: remove unneeded package

* chore: update example config

* chore: add source-map-loader

* fix: feedback widget render error after submit feedback (#1335)

* fix: feedback widget render error after submit feedback

* fix: widget logic

---------

Co-authored-by: Rodrigo Martin <rodrigom_94@hotmail.com>
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.

3 participants