Skip to content

feat: Support runtime configuration - #379

Merged
arbrandes merged 1 commit into
openedx:open-release/olive.masterfrom
arbrandes:support-runtime-config-olive
Dec 9, 2022
Merged

feat: Support runtime configuration#379
arbrandes merged 1 commit into
openedx:open-release/olive.masterfrom
arbrandes:support-runtime-config-olive

Conversation

@arbrandes

@arbrandes arbrandes commented Dec 8, 2022

Copy link
Copy Markdown
Contributor

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

codecov Bot commented Dec 8, 2022

Copy link
Copy Markdown

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