Skip to content

feat: added process to sync discussions topic on page load #1942

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

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

AhtishamShahid
Copy link
Contributor

@AhtishamShahid AhtishamShahid commented May 13, 2025

Description

This PR integrates a new API that properly synchronizes discussion topics when creating course re-runs. It addresses an issue where discussion topic data wasn't being correctly synced to new courses, particularly affecting larger courses.

Problem

When creating re-runs of larger courses, discussion topic data was inconsistently synchronized to the new course, leading to data inconsistencies in the CSM UI.

Solution

Implemented an API call that ensures discussion topic data is properly synchronized between the original course and its re-run. This guarantees that all discussion data remains up-to-date and consistent in the CMS UI.

Copy link

codecov bot commented May 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.94%. Comparing base (cc47616) to head (0251ea5).
Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1942      +/-   ##
==========================================
+ Coverage   93.82%   93.94%   +0.12%     
==========================================
  Files        1150     1154       +4     
  Lines       24054    24087      +33     
  Branches     5193     5198       +5     
==========================================
+ Hits        22568    22628      +60     
+ Misses       1409     1391      -18     
+ Partials       77       68       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AhtishamShahid AhtishamShahid force-pushed the ahtisham/INF-1846 branch 2 times, most recently from f8d77a5 to 83c001b Compare May 19, 2025 16:46
feat: added process to sync discussions topic on page load

fix: updated failing unit tests

feat: added course creation date in index api

feat: added course creation date in index api

fix: updated unit tests
@AhtishamShahid AhtishamShahid marked this pull request as draft May 20, 2025 13:26
@AhtishamShahid AhtishamShahid marked this pull request as ready for review May 20, 2025 13:43
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.

3 participants