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

WT-1754 / 1755 update configs patch + load script only once per version #926

Merged
merged 2 commits into from
Oct 4, 2023

Conversation

andrearampin
Copy link
Contributor

@andrearampin andrearampin commented Oct 3, 2023

Summary

Patch small bugs in Checkout

Why the changes

When using UpdateConfig the function simply updates the window.ImtblCheckoutWidgetConfig object but it should update the widgetconfig DOM prop
https://immutable.atlassian.net/browse/WT-1754

Screen.Recording.2023-10-04.at.9.09.02.am.mov

If the script has already been loaded with version x.y.z and the new script is reloaded then prevent from adding a new script tag.
https://immutable.atlassian.net/browse/WT-1755

Screenshot 2023-10-04 at 8 58 35 am

Things worth calling out

Before submitting the PR, please consider the following:

  • Prefix your PR title with feat: , fix: , chore: , docs:, or refactor:.

@andrearampin andrearampin requested a review from a team as a code owner October 3, 2023 22:13
Copy link
Contributor

@dreamoftrees dreamoftrees left a comment

Choose a reason for hiding this comment

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

Nice work @andrearampin

@andrearampin andrearampin enabled auto-merge (squash) October 4, 2023 04:43
@andrearampin andrearampin merged commit c03355f into main Oct 4, 2023
6 checks passed
@andrearampin andrearampin deleted the WT-1754-1755 branch October 4, 2023 04:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants