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

And/backport parser to know path #3

Merged
merged 3 commits into from
Jan 18, 2024

Conversation

andrey-canon
Copy link
Collaborator

Description:

This is a backport of openedx#568 however I'm not sure how to test it, @johanseto could you help me with that?

Copy link

@johanseto johanseto left a comment

Choose a reason for hiding this comment

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

I test with a npm run build in a learning mfe using a frontend-platform with this change.
This change is being carried in the compiles files. No way to test it better, we need to move it into a dist mfe published version.
By the moment the static files keep the code and there is no problem with the built.
Screencast from 17-01-24 15:27:39.webm

This add function to get path from a string url from utils.
Also the function is implemented to the history module. In order to match with URLS as webpack allow.(CDN).
Test were developed for different shaped of string urls with path.
A basic test is also added for the base case in the history variable for the initialize
with base case of PUBLIC_PATH=`/`.
@andrey-canon andrey-canon force-pushed the and/backport_parser_to_know_path branch from 12684e8 to 2501c53 Compare January 18, 2024 00:17
@andrey-canon andrey-canon merged commit d86a0d6 into open-release/palm.nelp Jan 18, 2024
3 checks passed
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