From 46ea7834d587190516ce52b05e525254991ee976 Mon Sep 17 00:00:00 2001 From: Hamza Munir Date: Wed, 20 Jun 2018 16:12:13 +0500 Subject: [PATCH] Adjust default of Course Landing Experience to use expected platform defaults Setting defaults for waffle flags to true. default=true for use_bootstrap in discussions app default=true for show_achievements in learner profile app LEARNER-5509 --- lms/djangoapps/discussion/config/__init__.py | 2 +- openedx/features/learner_profile/__init__.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lms/djangoapps/discussion/config/__init__.py b/lms/djangoapps/discussion/config/__init__.py index 2ab03ad9fc..cdab9d0e00 100644 --- a/lms/djangoapps/discussion/config/__init__.py +++ b/lms/djangoapps/discussion/config/__init__.py @@ -8,4 +8,4 @@ from openedx.core.djangoapps.waffle_utils import WaffleFlag, WaffleFlagNamespace WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='edx_discussions') # Waffle flag to enable the use of Bootstrap -USE_BOOTSTRAP_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'use_bootstrap') +USE_BOOTSTRAP_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'use_bootstrap', flag_undefined_default=True) diff --git a/openedx/features/learner_profile/__init__.py b/openedx/features/learner_profile/__init__.py index 32106375c9..80875eefd0 100644 --- a/openedx/features/learner_profile/__init__.py +++ b/openedx/features/learner_profile/__init__.py @@ -11,3 +11,6 @@ WAFFLE_FLAG_NAMESPACE = WaffleFlagNamespace(name='learner_profile') # Waffle flag for showing a message about the new profile features. # TODO: LEARNER-2554: 09/2017: Remove flag once message is no longer needed. SHOW_PROFILE_MESSAGE = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_message') + +# Waffle flag to show achievements on the learner profile. +SHOW_ACHIEVEMENTS_FLAG = WaffleFlag(WAFFLE_FLAG_NAMESPACE, 'show_achievements', flag_undefined_default=True)