Skip to content

Backport critical Discussions changes to Olive - #31345

Merged
arbrandes merged 16 commits into
openedx:open-release/olive.masterfrom
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.masterfrom
arbrandes:olive-backport-discussions-fixes

Conversation

@arbrandes

Copy link
Copy Markdown
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.
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
* fix: updated topic sorting for discussions MFE

* feat: updated topic sorting test case
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>
Co-authored-by: adeel.tajamul <adeel.tajamul@arbisoft.com>

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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