-
Notifications
You must be signed in to change notification settings - Fork 33
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
fix: video status badge translation #438
fix: video status badge translation #438
Conversation
Thanks for the pull request, @CefBoud! Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket as you can:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
b8a98b9
to
8cd7225
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #438 +/- ##
==========================================
+ Coverage 89.25% 90.58% +1.32%
==========================================
Files 246 227 -19
Lines 4475 4130 -345
Branches 917 831 -86
==========================================
- Hits 3994 3741 -253
+ Misses 454 369 -85
+ Partials 27 20 -7 ☔ View full report in Codecov by Sentry. |
Hi @openedx/teaching-and-learning! This is ready for review. Thanks! |
938c06c
to
b3ebe6f
Compare
I've created issue TNL-11332 in the private 2U Jira. |
@CefBoud 👍 Just left a small nit and a question.
|
defaultMessage: 'Any status', | ||
description: 'Dropdown label for no filter (any status)', | ||
description: 'label for video status (any status)', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit:
description: 'label for video status (any status)', | |
description: 'Label for video status (any status)', |
// Filter Dropdown | ||
filterByVideoStatusAny: { | ||
id: 'authoring.selectvideomodal.filter.videostatusnone.label', | ||
// Video status labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like that it is a bit more generic now 👍, as it can be reused in other places. However, I still see it only being used in filterMessages
. So, I am curious about the motivation behind this change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is used in the status badge display.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah! Cool. :)
b3ebe6f
to
2f8e96c
Compare
Hi @openedx/2u-tnl! Would someone be able to please review / merge this for us? If so, we can work on the branch conflicts. Thanks! |
Friendly ping on this, @openedx/2u-tnl! |
@mphilbrick211 any updates here? |
Hi @openedx/2u-tnl - is someone able to review this please? Thanks! |
@CefBoud conflicts need to be resolved before this can be merged |
2f8e96c
to
3006641
Compare
@KristinAoki Thanks for the review. Fixed. |
@CefBoud 🎉 Your pull request was merged! Please take a moment to answer a two question survey so we can improve your experience in the future. |
This PR is related to:
The changes are minimal:
status
field is replaced by the newstatus_nontranslated
field (introduced in the PR above).FormattedMessage
instead of a plain render to handle translation within React.