-
Notifications
You must be signed in to change notification settings - Fork 21
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: add event for course wide notification request #285
feat: add event for course wide notification request #285
Conversation
4f79c91
to
79c78f9
Compare
79c78f9
to
b75820a
Compare
c4b3a0c
to
f977944
Compare
8cee3f6
to
db3d9aa
Compare
Can we add more information about the event? So we have more context about it. I noticed you attached a jira issue but it's private. |
@mariajgrimaldi sorry about the private jira link. |
849408e
to
1e8a932
Compare
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.
Just a minor request left! Thank you so much
1e8a932
to
86734c3
Compare
…ith wider audience
86734c3
to
e1a2c30
Compare
@mariajgrimaldi i have made the updates requested! |
Thank you! I'll be merging this now. |
Description: This PR adds the
COURSE_NOTIFICATION_REQUESTED
event, that will be emitted whenever there is a request for a notification to be sent to all learners within a course.The event will be emitted whenever there is a request for a notification to be sent out to a course-wide audience. The event has the
course_key
param identifying the course, and also provides theaudience_filter
param to specify subset of users within a course that the notification should be sent out to. Example of scenarios where this event could be used:The event also contains fields like
app_name
,notification_type
,content_context
andcontent_url
that contain information about the notification, and it's content.The notification app in
edx-platform
will listen to this event, and process the notification request for course-wide notifications, delivering the notification to appropriate audience (PR to be created onedx-platform
once this gets merged, and event becomes available).Other
ISSUE: https://2u-internal.atlassian.net/browse/INF-1134
Reviewers:
Merge checklist:
Post merge:
finished.
Author concerns: List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.