-
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
[AA-304] Create backend for three day streak celebration #26409
Conversation
cae9613
to
9ea8b62
Compare
85c65da
to
62a70de
Compare
62a70de
to
6dbff52
Compare
08db583
to
22a5450
Compare
22a5450
to
c5e7d53
Compare
32d0bc7
to
e391e92
Compare
3dd0287
to
58f81ab
Compare
58f81ab
to
b5b7f3f
Compare
b6469ab
to
4d8c877
Compare
4d8c877
to
faffca2
Compare
common/djangoapps/student/docs/decisions/0002-streak-celebration.md
Outdated
Show resolved
Hide resolved
66e2933
to
4c6176b
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.
Nice! Thank you for putting up with all those comments
fb329c7
to
d7002e2
Compare
This feature uses the first_day_of_streak, last_day_of_streak and last_streak_celebration fields to determine whether the user should see a celebration. AA-304
d7002e2
to
3b45a72
Compare
Your PR has finished running tests. There were no failures. |
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
EdX Release Notice: This PR may have caused e2e tests to fail on Stage. If you're a member of the edX org, please visit #e2e-troubleshooting on Slack to help diagnose the cause of these failures. Otherwise, it is the reviewer's responsibility. E2E tests have failed. https://gocd.tools.edx.org/go/tab/pipeline/history/deploy_to_stage |
EdX Release Notice: This PR has been deployed to the production environment. |
Learning MFE PR
Jira Ticket
When making calls to the courseware_api or course_home_api, this feature will check whether a streak should be celebrated and will return the result within the celebrations dict in the response. The streak data will be updated in the database if necessary as part of this check.
This feature uses the
first_day_of_streak
andlast_day_of_streak
fields to determine whether the user should see a celebration.For example:
The longest_ever_streak field keeps track of the longest ever streak for potential future use in badging.