[Backport] feat: add ora reminder notification#38828
Conversation
* feat: added ora reminder notification
|
Thanks for the pull request, @AhtishamShahid! This repository is currently maintained by Once you've gone through the following steps feel free to tag them in a comment and let them know that your changes are ready for engineering review. 🔘 Get product approvalIf you haven't already, check this list to see if your contribution needs to go through the product review process.
🔘 Provide contextTo help your reviewers and other members of the community understand the purpose and larger context of your changes, feel free to add as much of the following information to the PR description as you can:
🔘 Get a green buildIf one or more checks are failing, continue working on your changes until this is no longer the case and your build turns green. DetailsWhere can I find more information?If you'd like to get more details on all aspects of the review process for open source pull requests (OSPRs), check out the following resources: When can I expect my changes to be merged?Our goal is to get community contributions seen and reviewed as efficiently as possible. However, the amount of time that it takes to review and merge a PR can vary significantly based on factors such as:
💡 As a result it may take up to several weeks or months to complete a review and merge your PR. |
There was a problem hiding this comment.
Pull request overview
Backports support for a new ora_reminder notification type so learners can be reminded about pending ORA self/peer review steps, and updates the ORA dependency to a version that includes the reminder sweeper.
Changes:
- Add
ora_reminderto the notifications registry (enabled for web + email, daily cadence) with a content template/context. - Add an icon mapping for the new notification type.
- Update notification preference aggregation tests and bump
ora2to7.1.0across compiled requirement sets.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| requirements/edx/base.txt | Bumps ora2 to 7.1.0 in the base lockfile. |
| requirements/edx/development.txt | Propagates the ora2==7.1.0 bump into the dev lockfile. |
| requirements/edx/doc.txt | Propagates the ora2==7.1.0 bump into the docs lockfile. |
| requirements/edx/testing.txt | Propagates the ora2==7.1.0 bump into the testing lockfile. |
| openedx/core/djangoapps/notifications/base_notification.py | Registers the new ora_reminder notification type and its templates. |
| openedx/core/djangoapps/notifications/email/notification_icons.py | Maps ora_reminder to the ORA icon. |
| openedx/core/djangoapps/notifications/tests/test_views.py | Extends expected notification preference payloads to include ora_reminder. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Backport
Backport of #38298 (commit 6ec5d41) to
release/verawood.Cherry-picked cleanly with no conflicts.
Description
Introduces a new notification type
ora_reminderfor Open Response Assessment (ORA) reminders, ensuring learners are notified about pending self or peer review steps.ora_reminderto theNotificationTypedictionary (grading app), with web and email channels enabled, daily email cadence, and a content template for pending ORA steps.ora_remindernotification type to its icon in the notification icon mapping.test_views.pytest data for notification settings and non-editable preferences.ora2from7.0.0to7.1.0(the version that ships the ORA reminder sweeper).Original PR
#38298