-
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
Backport critical Discussions changes to Olive #31345
Merged
arbrandes
merged 16 commits into
openedx:open-release/olive.master
from
arbrandes:olive-backport-discussions-fixes
Dec 8, 2022
Merged
Backport critical Discussions changes to Olive #31345
arbrandes
merged 16 commits into
openedx:open-release/olive.master
from
arbrandes:olive-backport-discussions-fixes
Dec 8, 2022
Conversation
This file contains 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
This change documents some of the workings of the discussions app for reference.
Course topics are now created by traversing the entire course structure from top to bottom instead of starting at the sequential level and then moving up or down as needed. This also introduces a lot of debug logs to pontetially find the reason why under some circumstances new units don't get processed and end up without a discussions topic.
When running in a sharded MongoDB setup it's possible that querying the modulestore right after the course publish signal will not return the latest data. This commit adds a delay similar to the one used in other places in the codebase for a similar reason.
Co-authored-by: adeel.tajamul <[email protected]>
* fix: updated topic sorting for discussions MFE * feat: updated topic sorting test case
…uctor paced courses
Co-authored-by: adeel.tajamul <[email protected]>
Co-authored-by: adeel.tajamul <[email protected]>
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.
👍
When you're ready to merge, add a comment that says
@openedx-community-bot merge
and we'll handle the rest!
This was referenced Nov 25, 2022
Note to self: pull this one in when it lands. (As well as the MFE equivalent). |
Approved by @asadazam93 in Slack. |
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.
Because frontend-app-discussions is now a candidate for inclusion in Olive, this backports the important changes to discussions in
master
sinceolive.master
was cut, primarily to synchronize the edx-platform clients and APIs with the corresponding cs_comments_service backport.