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

[Data rearchitecture] Fix bug in UpdateTimeslicesCourseDate to support drastic course dates changes #6185

Conversation

gabina
Copy link
Member

@gabina gabina commented Feb 7, 2025

What this PR does

This PR adds a new update_timeslices_if_drastic_change method to handle cases in which the previous course period and the current one have no overlap. In those cases, we delete the timeslices and create them again.

Open questions and concerns

< anything you learned that you want to share, or questions you're wondering about related to this PR >

… course dates. Now when the previous course period and the current one have no overlap, delete the existing timeslices and generate new ones. Add basic specs for it.
@gabina gabina marked this pull request as ready for review February 7, 2025 19:26
@gabina gabina merged commit 42a3448 into WikiEducationFoundation:data-rearchitecture-for-dashboard Feb 7, 2025
1 check passed
@gabina gabina deleted the data-rearchitecture-support-drastic-course-dates-changes branch February 7, 2025 19:56
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.

1 participant