-
Notifications
You must be signed in to change notification settings - Fork 4.3k
feat [FC-86]: update course_about & catalog link generation #37342
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
Merged
feanil
merged 12 commits into
openedx:master
from
raccoongang:nanai/axm-2166/update-link-generation
Sep 29, 2025
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
f018cfe
feat: update course_about & catalog link generation
Serj-N 1c1fa1b
refactor: switch to global mfe state check
Serj-N f85c86e
chore: updated settings for mfes
peterkulko 18ec2a1
fix: fix gettings ENABLE_CATALOG_MICROFRONTEND FEATURE
Serj-N c64ec1f
fix: append /catalog to CATALOG_MICROFRONTEND_URL
Serj-N 47f5cb8
test: fix ddt in test_link_with_new_catalog_page
Serj-N 94c00af
fix: put CATALOG_MICROFRONTEND_URL with the other mfe urls
Serj-N b448b0f
fix: look up ENABLE_CATALOG_MICROFRONTEND in settings directly, adjus…
Serj-N 02b8724
refactor: move filter out of if, extract about_base_url
Serj-N e2d50f5
test: fix ENABLE_CATALOG_MICROFRONTEND look up in tests
Serj-N 13f450f
fix: use getattr in use_catalog_mfe
Serj-N cb4dcb0
test: fix test overrides
Serj-N File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are now saying that this returns a boolean, which means in should never return
Nonewhich can currently happen if the setting is not set. Either set a default for this value here or in the common.py settings file (I would prefer in the common.py settings file).Also note, we have stopped using the
FEATURESdictionary as a part of the platform settings simplification work. You should not use it in your new code and update anything that you're touching to drop its usage as it makes sense. You don't need to fix everything but do the minimal necessary to not add new code that uses this deprecated setting.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ENABLE_CATALOG_MICROFRONTENDis already in common.py. I changed this line to look up the key directly in settings, and adjusted the many tests that looked up this value fromFEATURES.