-
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
feat: Populate notification context with post, comment and response ids #36008
Conversation
0e70ca2
to
1391010
Compare
@@ -362,6 +373,12 @@ def send_reported_content_notification(self): | |||
]} | |||
self._send_course_wide_notification("content_reported", audience_filters, context) | |||
|
|||
def _populate_context_with_ids_for_mobile(self, context, additional_context=False): |
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.
Is additional_context
needed as parameter here? It is not being used in the code
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.
Initially I added it to add more context but we don't need it now. Let me remove it.
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.
@muhammadadeeltajamul I have removed extra param.
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 change will populate notification context with post, comment and response ids. In mobile we need these ids to load relevant screen for a notification.
Useful information to include:
Supporting information
https://2u-internal.atlassian.net/browse/LEARNER-10328
Testing instructions
Please provide detailed step-by-step instructions for testing this change.
Deadline
ASAP.