edx-platform icon indicating copy to clipboard operation
edx-platform copied to clipboard

feat: in-context discussion for units can be disabled by default

Open kaustavb12 opened this issue 5 months ago • 1 comments

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

  1. Checkout this branch in your local dev environment
  2. Create a new course and add a unit there.
  3. Check that the in-context discussions sidebar is enabled for that unit by default. Go to the LMS and verify that the same.
  4. Now set IN_CONTEXT_DISCUSSION_ENABLED_DEFAULT feature flag to False
  5. 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

kaustavb12 avatar Sep 02 '24 12:09 kaustavb12