[AA-304] Create backend for three day streak celebration#26409
Merged
MatthewPiatetsky merged 1 commit intomasterfrom Feb 22, 2021
Merged
[AA-304] Create backend for three day streak celebration#26409MatthewPiatetsky merged 1 commit intomasterfrom
MatthewPiatetsky merged 1 commit intomasterfrom
Conversation
cae9613 to
9ea8b62
Compare
85c65da to
62a70de
Compare
MatthewPiatetsky
commented
Feb 9, 2021
MatthewPiatetsky
commented
Feb 9, 2021
MatthewPiatetsky
commented
Feb 9, 2021
62a70de to
6dbff52
Compare
08db583 to
22a5450
Compare
22a5450 to
c5e7d53
Compare
32d0bc7 to
e391e92
Compare
3dd0287 to
58f81ab
Compare
mikix
reviewed
Feb 18, 2021
mikix
reviewed
Feb 18, 2021
58f81ab to
b5b7f3f
Compare
b6469ab to
4d8c877
Compare
4d8c877 to
faffca2
Compare
mikix
reviewed
Feb 19, 2021
common/djangoapps/student/docs/decisions/0002-streak-celebration.md
Outdated
Show resolved
Hide resolved
66e2933 to
4c6176b
Compare
mikix
approved these changes
Feb 19, 2021
Contributor
mikix
left a comment
There was a problem hiding this comment.
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. |
Contributor
|
EdX Release Notice: This PR has been deployed to the staging environment in preparation for a release to production. |
Contributor
|
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 |
Contributor
|
EdX Release Notice: This PR has been deployed to the production environment. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_streakandlast_day_of_streakfields 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.