Skip to content

Collapse the FEATURES dictionary into boolean settings #36890

Open
@kdmccormick

Description

@kdmccormick

Both LMS and CMS settings have a big FEATURES dictionary. The values are all booleans.

There are also many boolean settings outside of the FEATURES dictionary.

It adds unnecessary complexity to have so many booleans stuffed into one FEATURES dictionary. It makes these values harder to override individually, both in unit tests and in the settings files themselves. There is no particular reason why these are in a dictionary.

Goals:

  • Flatten the keys of FEATURES into the settings namespace
  • Update all references in edx-platform
  • Create a proxy FEATURES dictionary which allows external code to seamlessly read and write these settings as is they were still part of the FEATURES dictionary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions