-
Notifications
You must be signed in to change notification settings - Fork 30
feat: Browser-SDK Automatically start streaming based on event handlers. #592
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
Merged
Merged
Changes from all commits
Commits
Show all changes
58 commits
Select commit
Hold shift + click to select a range
cf3131a
WIP on goals.
kinyoklion 543cfc9
Add tests for GoalTracker.
kinyoklion 0288923
Add goal manager tests.
kinyoklion 56684f7
Add options for goals and fix bugs.
kinyoklion 97a90ed
Merge branch 'main' into rlamb/sc-254419/implement-goals
kinyoklion f30141a
Simplify tests.
kinyoklion 40f78fe
Lint browser package.
kinyoklion 2ff006c
Lint
kinyoklion a11e73d
Add tests for location watcher.
kinyoklion 7067a28
WIP: Implement support for event URLs.
kinyoklion fdf4a43
feat: Add URLs for custom events and URL filtering.
kinyoklion 29cd72a
Merge branch 'main' into rlamb/sdk-10/support-event-urls
kinyoklion 2f730ab
Revert jest.config.js
kinyoklion dbfe431
Remove duplicate merged code.
kinyoklion 57e835d
Remove unused import.
kinyoklion bcb3c4d
WIP: Refactor data handling.
kinyoklion 0695c74
WIP: JS style initialization.
kinyoklion 1439258
Add correct typing to createIdentifyPromise.
kinyoklion 312fb49
Basic data manager functioning.
kinyoklion 4318393
Basic functionality.
kinyoklion dd0e5fb
fix: Ensure browser contract tests run during top-level build.
kinyoklion f35f804
WIP: js-style-initialization
kinyoklion e020e86
Merge remote-tracking branch 'origin/rlamb/fix-browser-contract-test-…
kinyoklion 80b5b61
Disable goals.
kinyoklion a83184d
Fix identify options.
kinyoklion c3cbd46
Merge remote-tracking branch 'origin/rlamb/fix-browser-contract-test-…
kinyoklion bba88a1
Add todo.
kinyoklion 22b89a9
WIP
kinyoklion d1a59c8
Lint
kinyoklion 60ea015
Fix tests.
kinyoklion 2bdc298
Testing progress.
kinyoklion 16b7732
More tests
kinyoklion fda525e
Lint.
kinyoklion b3b724f
Merge branch 'main' into rlamb/sdk-195/support-js-style-initialization
kinyoklion 7722641
Cleanup sdk client tests.
kinyoklion 045a784
Allow shared test code.
kinyoklion b097038
Cleanup imports
kinyoklion 72139de
Revert event processor changes and disable auto-start for client SDKs.
kinyoklion 6951966
Add log tag for mobile data manager.
kinyoklion 3f1bb24
Remove pointless docs.
kinyoklion aa33fa4
Correct docs.
kinyoklion 0da9d31
Change option to streaming.
kinyoklion 1ef3126
feat: Automatically start streaming based on event handlers.
kinyoklion 6d29928
Add truth table.
kinyoklion dc354d4
Automatic update streaming state on identify.
kinyoklion cced478
Add more tests.
kinyoklion 10c48e7
Remove todo
kinyoklion df9dd9d
Remove event handler in base implementation.
kinyoklion 5a3c8b4
Fix logger.
kinyoklion 65e68cd
Merge branch 'main' into rlamb/sdk-710/automatic-start-streaming
kinyoklion 1dedc7c
Lint
kinyoklion 71caed5
Fix event tests. Add developer notes.
kinyoklion 816a594
Revert unintentional merge change.
kinyoklion d13b8e4
Remove file that was re-created in merge.
kinyoklion fdd6331
Revert another merge change.
kinyoklion b4e0aa4
Revert another merge change.
kinyoklion 719dd4b
Merge branch 'main' into rlamb/sdk-710/automatic-start-streaming
kinyoklion 681af9f
Merge branch 'main' into rlamb/sdk-710/automatic-start-streaming
kinyoklion File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left the default err catcher for now, but we may need to remove it in the future.
The old emitter had this functionality:
Basically if you were listening for errors, then you get to handle them. If you were not listening to errors, then it would log them.
Which is potentially useful functionality to have, but out of the scope of this PR.