edx-platform
edx-platform copied to clipboard
feat: in-context discussion for units can be disabled by default
Description
Currently for all new units which are added to a course, the in-context discussions is enabled by default, which the course instructor can disable individually.
This PR, adds to the ability to keep the in-context discussions disabled by default. That way all new units which are added will have the discussions sidebar disabled and can be individually enabled by the course instructors.
Testing instructions
- Checkout this branch in your local dev environment
- Create a new course and add a unit there.
- Check that the in-context discussions sidebar is enabled for that unit by default. Go to the LMS and verify that the same.
- Now set
IN_CONTEXT_DISCUSSION_ENABLED_DEFAULT
feature flag to False - Create a new unit again and this time check that the in-context discussion is disabled by default for that unit. Go to the LMS and verify the same.
Deadline
"None" if there's no rush, or provide a specific date or event (and reason) if there is one.
Other information
Private Ref : BB-9112