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: Support runtime configuration #379

Conversation

arbrandes
Copy link
Contributor

@arbrandes arbrandes commented Dec 8, 2022

frontend-platform supports runtime configuration since 2.5.0 (see the PR that introduced it), but it requires MFE cooperation. This implements just that: by avoiding making configuration values constant, it should now be possible to change them after initialization.

Almost all changes here relate to the LMS_BASE_URL setting, which in most places was treated as a constant.

This is a backport to Olive of #377

frontend-platform supports runtime configuration since 2.5.0 (see the PR
that introduced it[1], but it requires MFE cooperation.  This implements
just that: by avoiding making configuration values constant, it should
now be possible to change them after initialization.

Almost all changes here relate to the `LMS_BASE_URL` setting, which in
most places was treated as a constant.

[1] openedx/frontend-platform#335

This is a backport to Olive of
openedx#377
@arbrandes arbrandes changed the title fix: handled thread not found result on frontend feat: Support runtime configuration Dec 8, 2022
@codecov
Copy link

codecov bot commented Dec 8, 2022

Codecov Report

❗ No coverage uploaded for pull request base (open-release/olive.master@e89792b). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@                     Coverage Diff                      @@
##             open-release/olive.master     #379   +/-   ##
============================================================
  Coverage                             ?   85.05%           
============================================================
  Files                                ?      134           
  Lines                                ?     2677           
  Branches                             ?      741           
============================================================
  Hits                                 ?     2277           
  Misses                               ?      378           
  Partials                             ?       22           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@arbrandes arbrandes merged commit 8d35a72 into openedx:open-release/olive.master Dec 9, 2022
@arbrandes arbrandes deleted the support-runtime-config-olive branch December 9, 2022 10:40
moonesque pushed a commit to edSPIRIT/frontend-app-discussions that referenced this pull request Nov 12, 2023
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.

2 participants