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

Support for SystemJS in MadKudu integration #765

Merged
merged 2 commits into from
Jul 27, 2023

Conversation

GhassenRjab
Copy link
Contributor

What does this PR do?

This PR adds support for SystemJS in MadKudu integration.

When ran on a SystemJS environment window.define.amd is defined but not window.require. Which prevented the MadKudu script from loading.

Are there breaking changes in this PR?

No.

Testing

Testing not required because we just add a new check for window.require for UMD. If not present, we will use this.load.

Any background context you want to provide?

The PR is crated based on this issue #761

Is there parity with the server-side/android/iOS integration components (if applicable)?

No.

Does this require a new integration setting? If so, please explain how the new setting works

No.

Links to helpful docs and other external resources

@GhassenRjab
Copy link
Contributor Author

@varadarajan-tw can I have your review on this please? 🙏
This is needed by one of our clients

Copy link
Contributor

@varadarajan-tw varadarajan-tw left a comment

Choose a reason for hiding this comment

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

LGTM! Could you update the patch version in package.json here?

@GhassenRjab
Copy link
Contributor Author

@varadarajan-tw I updated the version. Do I need to rebase my branch?

@varadarajan-tw
Copy link
Contributor

Hey, Yes. Please rebase the branch!

@GhassenRjab
Copy link
Contributor Author

I just rebased the branch is up to date!

@varadarajan-tw varadarajan-tw merged commit 78627f8 into segmentio:master Jul 27, 2023
@GhassenRjab GhassenRjab deleted the support-systemjs branch July 28, 2023 16:50
@varadarajan-tw
Copy link
Contributor

Hey @GhassenRjab, this change has been deployed to all the customers.

AnkitSegment added a commit that referenced this pull request Aug 4, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* STRATCONN-2841 added msgid as event id in propertyMap

Added this property to test on stage branch

* updating version

* resolve conflit

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
AnkitSegment added a commit that referenced this pull request Aug 4, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* STRATCONN-2841 added msgid as event id in propertyMap

Added this property to test on stage branch

* updating version

* resolve conflit

* added console to track

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
AnkitSegment added a commit that referenced this pull request Aug 4, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* msg id and version updated

* fixed walkme test case file

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
AnkitSegment added a commit that referenced this pull request Aug 4, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* msg id and version updated

* fixed walkme test case file

* msg id added in productPropertyMap

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
AnkitSegment added a commit that referenced this pull request Aug 7, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* msg id and version updated

* fixed walkme test case file

* msg id added in productPropertyMap

* removed msgId from propertyMap

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
AnkitSegment added a commit that referenced this pull request Aug 7, 2023
* [Walkme] Add option to choose a custom bucket (#759)

* Add option to choose a custom bucket

---------

Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>

* bump walkme integration version to 1.2.0 (#768)

* fixes typo and related test (#771)

* fixes typo and related test
some test were returning false positive, update the way to check on them

* bump package version to 1.2.1

---------

Co-authored-by: Varadarajan V <[email protected]>

* Support for SystemJS in MadKudu integration (#765)

* UMD need window.require

* Update version

* msg id and version updated

* fixed walkme test case file

* msg id added in productPropertyMap

* removed msgId from propertyMap

* added logs in track and page events

---------

Co-authored-by: paco-walkme <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Varadarajan V <[email protected]>
Co-authored-by: Ghassen Rjab <[email protected]>
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