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: add new setting variable to enable or disable programs #97

Merged
merged 2 commits into from
Jan 22, 2025

Conversation

Faraz32123
Copy link
Collaborator

@Faraz32123 Faraz32123 commented Jan 21, 2025

This PR includes:

Without above changes, users will have to add this value from site configurations and also enable the programs from "programapiconfig" model in LMS Admin panel.
With above changes, users will need to run tutor config save --set ENABLE_PROGRAMS=True or False and restart the MFE container to make Programs tab visible on MFEs.

Muhammad Faraz Maqsood added 2 commits January 21, 2025 17:33
This commit includes:
- This aligns with the frontend, which now also utilizes this environment variable. To view the frontend related changes, click here: https://github.com/openedx/frontend-app-learner-dashboard/pull/506/files.
- Additionally, it automates the enabling of programs in the "programapiconfig" model on the LMS admin panel through init tasks.
- Update the documentation accordingly.
Copy link
Contributor

@DawoudSheraz DawoudSheraz left a comment

Choose a reason for hiding this comment

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

I have not been able to test it locally as my docker is currently broken. The changes look good and precise. Nice one.

@Faraz32123 Faraz32123 merged commit d34cc5d into release Jan 22, 2025
3 checks passed
@Faraz32123 Faraz32123 deleted the feat/faraz_add_setting_variable_for_programs branch January 22, 2025 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

2 participants