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

feat: Add sideloaded kit example #494

Merged
merged 20 commits into from
Mar 16, 2023

Conversation

rmi22186
Copy link
Member

@rmi22186 rmi22186 commented Mar 10, 2023

Instructions

  1. PR target branch should be against development
  2. PR title name should follow this format: https://github.com/mParticle/mparticle-workflows/blob/stable/.github/workflows/pr-title-check.yml
  3. PR branch prefix should follow this format: https://github.com/mParticle/mparticle-workflows/blob/stable/.github/workflows/pr-branch-check-name.yml

Summary

This PR includes a custom sideloaded kit that will fire on every mapped mParticle method. The sideloaded kit was placed as a sibling of higgs-shop-sample-app.

Testing Plan

  • Launched Higgs app and checked the console to see if the sideloaded kit properly console.log'd mapped methods. See example below:
    image

Master Issue

@rmi22186 rmi22186 changed the base branch from main to development March 10, 2023 15:31
@rmi22186 rmi22186 force-pushed the feat/SQDSDKS-5116-add-side-loaded-kit branch 2 times, most recently from 70c4824 to ceac3ae Compare March 10, 2023 15:38
@rmi22186 rmi22186 force-pushed the feat/SQDSDKS-5116-add-side-loaded-kit branch from 9fe58e3 to 85d750d Compare March 13, 2023 14:20
@rmi22186 rmi22186 closed this Mar 13, 2023
@rmi22186 rmi22186 reopened this Mar 13, 2023
@@ -0,0 +1,683 @@
'use strict';
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should we have a build task that produces these, rather than have them get committed?

@einsteinx2
Copy link

Seems like the sideloaded kit wasn't checked in, just the app changes?

@rmi22186
Copy link
Member Author

Seems like the sideloaded kit wasn't checked in, just the app changes?

@einsteinx2 - this was included initially but alex had some feedback about moving it, and it was dropped in one of the commits. it has now been added back after testing.

einsteinx2
einsteinx2 previously approved these changes Mar 14, 2023
Copy link

@einsteinx2 einsteinx2 left a comment

Choose a reason for hiding this comment

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

LGTM, I'll defer to Alex on final approval

@rmi22186
Copy link
Member Author

rmi22186 commented Mar 14, 2023

This is blocked by a release for the web sdk to support the feature. Once that has been released, we can merge this upon approval. We should update the package.json for the @mparticle/web-sdk to be 2.20.x

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please delete this file

@rmi22186 rmi22186 merged commit 5bda38c into development Mar 16, 2023
@rmi22186 rmi22186 deleted the feat/SQDSDKS-5116-add-side-loaded-kit branch March 16, 2023 14:58
rmi22186 added a commit that referenced this pull request Mar 20, 2023
rmi22186 added a commit that referenced this pull request Mar 20, 2023
github-actions bot pushed a commit that referenced this pull request Mar 21, 2023
# [1.5.0](v1.4.2...v1.5.0) (2023-03-21)

### Features

* Add sideloaded kit example ([#494](#494)) ([bba9c2c](bba9c2c))
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.

3 participants