revert: feat: add & expose courseware.use_learning_sequences_api flag (#28054)

The learning_sequences.use_for_outlines flag was recently added,
intended to serve the same purpose
as courseware.use_learning_seuqences_api. We do not need
both flags.

Furthermore, exposing either flag in the Courseware
Metadata API is neither necessary nor helpful, since
the easiest and quickest way for the Learning MFE to see
if the Learning Sequences API is enabled is to hit it,
and fall back to a different API if a 403 is returned.

This reverts commit 78f1e2b3bd.

TNL-8330
This commit is contained in:
Kyle McCormick
2021-07-06 11:34:40 -04:00
committed by GitHub
parent 986f52faab
commit d86aa824c1
4 changed files with 0 additions and 48 deletions

View File

@@ -25,23 +25,6 @@ COURSEWARE_USE_LEGACY_FRONTEND = CourseWaffleFlag(
WAFFLE_FLAG_NAMESPACE, 'use_legacy_frontend', __name__
)
# .. toggle_name: courseware.use_learning_sequences_api
# .. toggle_implementation: CourseWaffleFlag
# .. toggle_default: False
# .. toggle_description: When enbled, frontend-app-learning's courseware pages should use the
# new Learning Sequences API (from ``openedx.core.djangoapps.content.learning_sequences``)
# instead of the Course Blocks API (from ``lms.djangoapps.course_api.blocks``)
# in order to load course structure data.
# .. toggle_warnings: As of 2021-06-25, the frontend-app-learning changes necessary to honor this
# flag's value have not yet been implemented. We expect that they will be implemented in
# the coming weeks.
# .. toggle_use_cases: temporary
# .. toggle_creation_date: 2021-06-25
# .. toggle_target_removal_date: 2021-09-01
COURSEWARE_USE_LEARNING_SEQUENCES_API = CourseWaffleFlag(
WAFFLE_FLAG_NAMESPACE, 'use_learning_sequences_api', __name__
)
# .. toggle_name: courseware.microfrontend_course_team_preview
# .. toggle_implementation: CourseWaffleFlag
# .. toggle_default: False