From 0f22e79ea88ab4bffedbb4ffa8c1105124e0e222 Mon Sep 17 00:00:00 2001 From: cef Date: Mon, 26 Aug 2024 12:03:29 -0500 Subject: [PATCH] feat: set links for CourseAuthoring dicussion alert --- .../rest_api/v1/views/tests/test_course_index.py | 4 ++-- cms/envs/common.py | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/cms/djangoapps/contentstore/rest_api/v1/views/tests/test_course_index.py b/cms/djangoapps/contentstore/rest_api/v1/views/tests/test_course_index.py index eafc2b37aa0c..fa2f75bbd811 100644 --- a/cms/djangoapps/contentstore/rest_api/v1/views/tests/test_course_index.py +++ b/cms/djangoapps/contentstore/rest_api/v1/views/tests/test_course_index.py @@ -61,8 +61,8 @@ def test_course_index_response(self): "blocks": [], "advance_settings_url": f"/settings/advanced/{self.course.id}" }, - "discussions_incontext_feedback_url": "", - "discussions_incontext_learnmore_url": "", + "discussions_incontext_feedback_url": "https://discuss.openedx.org/t/new-and-improved-discussions-forum/9183", # lint-amnesty, pylint: disable=line-too-long + "discussions_incontext_learnmore_url": "https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-redwood.master/manage_discussions/discussions.html", # lint-amnesty, pylint: disable=line-too-long "is_custom_relative_dates_active": True, "initial_state": None, "initial_user_clipboard": { diff --git a/cms/envs/common.py b/cms/envs/common.py index 1eb21cd502c5..d4159ec98dde 100644 --- a/cms/envs/common.py +++ b/cms/envs/common.py @@ -2891,8 +2891,9 @@ BRAZE_COURSE_ENROLLMENT_CANVAS_ID = '' -DISCUSSIONS_INCONTEXT_FEEDBACK_URL = '' -DISCUSSIONS_INCONTEXT_LEARNMORE_URL = '' +# pylint: disable=line-too-long +DISCUSSIONS_INCONTEXT_FEEDBACK_URL = "https://discuss.openedx.org/t/new-and-improved-discussions-forum/9183" +DISCUSSIONS_INCONTEXT_LEARNMORE_URL = "https://edx.readthedocs.io/projects/open-edx-building-and-running-a-course/en/open-release-redwood.master/manage_discussions/discussions.html" #### django-simple-history## # disable indexing on date field its coming django-simple-history.