-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[DEPR]: lms/djangoapps/badges #33186
Conversation
5d12a3f
to
7aae68c
Compare
@thezaeemaanwar looking at the failing test case ( Looking at the rest of the file, it looks like there is more Badges related testing in this test file. You'll have to be careful but I think it's safe to remove anything that is testing only the impact of certs on Badges. Some test cases are using DDT to test badges sometimes but not others so you'll have to make sure that the non badge test cases are still retained. For example, |
3381019
to
b6656bb
Compare
8a3ecf9
to
cab920e
Compare
@@ -359,7 +359,7 @@ class TestAccountsAPI(FilteredQueryCountMixin, CacheIsolationTestCase, UserAPITe | |||
|
|||
ENABLED_CACHES = ['default'] | |||
TOTAL_QUERY_COUNT = 24 | |||
FULL_RESPONSE_FIELD_COUNT = 30 | |||
FULL_RESPONSE_FIELD_COUNT = 29 |
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.
FYI: Since the accomplishments_shared
field is removed from the data
openedx/features/learner_profile/static/learner_profile/js/views/learner_profile_view.js
Show resolved
Hide resolved
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 will be great if you could share the screen shots of the UI changes
ac7360e
to
552b20d
Compare
@thezaeemaanwar look like there is a conflict to resolve. What else is left to do before we can merge this change? |
@feanil Just the UI screenshots of learner's profile in the description are left. |
8aaa159
to
7a768ff
Compare
fix: restored badges handlers feat: remove FE code for badges fix: resolved failing tests fix: removed test case for badges app fix: unused import error fix: Response Field Count fix: shareable account response length fix: resolved PR comments fix: revert settings override feat!: Removed Badges App fix: restored badges handlers feat: remove FE code for badges fix: resolved failing tests fix: removed test case for badges app fix: unused import error fix: Response Field Count fix: shareable account response length fix: revert subscription badge
7a768ff
to
0b3e4d7
Compare
This looks good to me. I'll merge tomorrow morning when I can monitor its deploy to edx.org |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
No, we definitely have a CLA for this person, not sure why it would fail |
2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production. |
2U Release Notice: This PR has been deployed to the edX production environment. |
1 similar comment
2U Release Notice: This PR has been deployed to the edX production environment. |
Description
This is phase 1 of Badges deprecation process. The following modifications have been made:
ENABLE_OPENBADGES
switch is removed from settings.FEATURES.accomplishments_shared
field has been removed since it only indicated if the badges are public or not.UI Change
With badges disabled, there is no visible difference in the UI.
Before:
After:
Related Links
Issue: #31541
Ticket: openedx/axim-engineering#852