Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: replace la waffle flag with django setting #34236

Merged
merged 1 commit into from
Feb 20, 2024

Conversation

alangsto
Copy link
Contributor

@alangsto alangsto commented Feb 14, 2024

Description

COSMO-191

As we prepare for a wider release of the learning assistant, the feature should be controlled by a django setting as opposed to a per-course flag.

This PR should not be merged until edx/learning-assistant#67 has been merged, and a new release of the plugin has been deployed to production.

@alangsto alangsto force-pushed the alangsto/update_la_waffle_flag branch 2 times, most recently from d0709c6 to ae73d07 Compare February 14, 2024 20:56
@ddt.idata(itertools.product((True, False), (True, False)))
@ddt.unpack
def test_learning_assistant_enabled(self, setting_enabled, flag_enabled):
with override_settings(LEARNING_ASSISTANT_AVAILABLE=setting_enabled):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit.

You don't have to nest the context managers, if you don't want to. You can use them on one line.

@alangsto alangsto force-pushed the alangsto/update_la_waffle_flag branch 4 times, most recently from 6acca89 to 3b3bbac Compare February 14, 2024 21:46
@alangsto alangsto force-pushed the alangsto/update_la_waffle_flag branch from 3b3bbac to bf8ccef Compare February 20, 2024 13:07
@alangsto alangsto merged commit 4fb1dba into master Feb 20, 2024
46 checks passed
@alangsto alangsto deleted the alangsto/update_la_waffle_flag branch February 20, 2024 14:00
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX staging environment in preparation for a release to production.

@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

1 similar comment
@edx-pipeline-bot
Copy link
Contributor

2U Release Notice: This PR has been deployed to the edX production environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants