Skip to content
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
merged 16 commits into from
Dec 8, 2022
Merged

Backport critical Discussions changes to Olive #31345

merged 16 commits into from
Dec 8, 2022

Conversation

arbrandes
Copy link
Contributor

Because frontend-app-discussions is now a candidate for inclusion in Olive, this backports the important changes to discussions in master since olive.master was cut, primarily to synchronize the edx-platform clients and APIs with the corresponding cs_comments_service backport.

xitij2000 and others added 15 commits November 25, 2022 12:23
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.
* fix: updated topic sorting for discussions MFE

* feat: updated topic sorting test case
Copy link
Contributor

@github-actions github-actions bot left a 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!

@arbrandes
Copy link
Contributor Author

Note to self: pull this one in when it lands. (As well as the MFE equivalent).

@arbrandes arbrandes merged commit afe259a into openedx:open-release/olive.master Dec 8, 2022
@arbrandes arbrandes deleted the olive-backport-discussions-fixes branch December 8, 2022 10:40
@arbrandes
Copy link
Contributor Author

Approved by @asadazam93 in Slack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants