Skip to content

[SE-3401] Sorts Modules and Descriptors Before Writing Them - #264

Closed
nizarmah wants to merge 1 commit into
pooja/fix-juniper-theme-compilation-issuefrom
nizar/xmodules_theme_compilation_sorting_tweak
Closed

[SE-3401] Sorts Modules and Descriptors Before Writing Them#264
nizarmah wants to merge 1 commit into
pooja/fix-juniper-theme-compilation-issuefrom
nizar/xmodules_theme_compilation_sorting_tweak

Conversation

@nizarmah

@nizarmah nizarmah commented Sep 30, 2020

Copy link
Copy Markdown

This sorts the modules and descriptors before writing them. This helps guarantee that a similar issue will not happen in the future, or that if any addition is added later on, they wouldn't have to worry about adding the sorted in the _write_... method.

JIRA tickets: SE-3401, SE-3149

Sandbox URL:

Testing instructions:

  1. Spawn a new edX juniper instance and check the css files generated in /edx/var/edxapp/staticfiles/css and /edx/var/edxapp/staticfiles/js.
  2. Run paver update_assets command and recheck that no new css files are generated in /edx/var/edxapp/staticfiles/css and /edx/var/edxapp/staticfiles/js.
  3. Spawn multiple instances and add to load-balancer. Verify that the assets are getting loaded correctly.

Reviewers

@nizarmah
nizarmah marked this pull request as draft September 30, 2020 13:12
@nizarmah

Copy link
Copy Markdown
Author

Will mark the PR ready for review once I redeploy. Currently fixing some issues in #265

@nizarmah
nizarmah marked this pull request as ready for review October 1, 2020 07:23
@nizarmah

nizarmah commented Oct 6, 2020

Copy link
Copy Markdown
Author

Closing pull request since changes to this will be included in #265 and #268

@nizarmah nizarmah closed this Oct 6, 2020
Agrendalath pushed a commit that referenced this pull request Jul 8, 2022
This PR adds MFE API. This is part of the work that is being done to obtain the MFE Runtime Configurations and that has been discussed in the BTR WG.

Discussion: https://discuss.openedx.org/t/how-to-use-microfrontend-in-a-multitenant-instance/6936/14?u=mafermazu
MFE Runtime configuration - eduNEXT: https://docs.google.com/document/d/1-FHIQmyeQZu3311x8eYUNMru4JX7Yb3UlqjmJxvM8do/edit?usp=sharing

feat: add lms setting to set mfe config cache (#262)

Co-authored-by: María Fernanda Magallanes Z <maria.magallanes@edunext.co>

feat: make mfe config api disabled by default (#263)

* feat: make mfe config api disabled by default

* fix: simple is better than complex

test: add mfe config tests (#264)

* test: add mfe config tests

* test: fix it and simplify it

* test: correct pylint issues

fix: correct pep 8 violations

fix: add mfe api unit test in github workflow

fix: correct unit tests

refactor: move mfe api to lms

fix: try mfe api urls without regex

fix: add app_namespace in lms urls

fix: try url without conditional

Revert "fix: try url without conditional"

This reverts commit 694aab546134b4bd9ad2642e24927b42cac24459.

fix: set enable_mfe_config_api feature to true in the tests

test: try to add failed test case

Revert "test: try to add failed test case"

This reverts commit cee6bf656ab1b96492b0b6199ddff32a6d6a65bd.

docs: improve explanation and documentation

fix: ensure the response is a json object

refactor: be consistent with the variable names

fix: allow overriding mfe api config cache timeout in production

fix: handle 404 response in view

refactor: use a guard instead if-else

feat: add the possibility to show mfe specific config
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.

1 participant