From f1ce8967c35cb53b8a003b16679fa610954d8d86 Mon Sep 17 00:00:00 2001 From: Zachary Trabookis Date: Mon, 18 Apr 2022 09:50:14 -0400 Subject: [PATCH] feat(badges): Setup Badges tab to be hideable or movable. - Removed the dynamic tab for badges and made this hideable or moveable with `is_default`. Looking at `is_default` we may need to republish Advanced Settings in the course for the Badge tab to appear. https://openedx.atlassian.net/wiki/spaces/AC/pages/30965919/Adding+a+new+course+tab --- lms/djangoapps/courseware/tabs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/djangoapps/courseware/tabs.py b/lms/djangoapps/courseware/tabs.py index 8db83a279dd2..100ac725d3ee 100644 --- a/lms/djangoapps/courseware/tabs.py +++ b/lms/djangoapps/courseware/tabs.py @@ -381,9 +381,9 @@ class BadgesTab(EnrolledTab): type = "badges_progress" title = gettext_noop( "Badges") # We don't have the user in this context, so we don't want to translate it at this level. - priority = 50 + priority = None view_name = "badges_progress" - is_dynamic = True + is_default = True is_movable = True is_hideable = True