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

feat: add LearningAssistantCourseEnabled model to store course overrides #48

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

MichaelRoytman
Copy link
Member

Description

Jira: COSMO-134

This commit adds a LearningAssistantCourseEnabled model to store overrides for whether the Learning Assistant feature is enabled. Although whether the feature is enabled will first be controlled by a CourseWaffleFlag, eventually, this model will allow course team members to selectively disable or re-enable the feature themselves.

"""
This model stores whether the Learning Assistant is enabled for a particular course ID.

For now, the purpose of this model is to store overrides added by course team members. By default, the Learning
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let me know if you think I should remove this. It does risk falling out of date when we remove the CourseWaffleFlag 🤔.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's okay to leave this in! We may want to update the ticket for removing the course waffle flag to include cleaning up this comment, just so we don't forget.

"""
This model stores whether the Learning Assistant is enabled for a particular course ID.

For now, the purpose of this model is to store overrides added by course team members. By default, the Learning
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's okay to leave this in! We may want to update the ticket for removing the course waffle flag to include cleaning up this comment, just so we don't forget.

This commit adds a LearningAssistantCourseEnabled model to store overrides for whether the Learning Assistant feature is enabled. Although whether the feature is enabled will first be controlled by a CourseWaffleFlag, eventually, this model will allow course team members to selectively disable or re-enable the feature themselves.
@MichaelRoytman MichaelRoytman force-pushed the michaelroytman/COSMO-134-course-toggle-model branch from ddc2e5e to 368dbb7 Compare January 5, 2024 15:23
@MichaelRoytman MichaelRoytman merged commit 79c38b7 into main Jan 5, 2024
8 checks passed
@MichaelRoytman MichaelRoytman deleted the michaelroytman/COSMO-134-course-toggle-model branch January 5, 2024 16:26
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.

2 participants