-
Notifications
You must be signed in to change notification settings - Fork 144
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
👷♀️ [RUM 5088] Reduce INP Null Target #2950
Merged
Merged
Changes from 32 commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
2f089aa
Add telemetry for null INP target
cy-moi c031764
Format
cy-moi 8fe1537
Add feature flag and reduce the amount of telemetry
cy-moi c072151
Format
cy-moi 2ee800a
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi 518f9c6
Rename ff
cy-moi d6e9575
Rename
cy-moi 784a92f
Simplify and collect isElementNode
cy-moi 32dfdcf
Format
cy-moi 18a0a3d
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi 29f89ab
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi c98fd4b
Add selector timestamp implementation and telemetry
cy-moi 48282ce
test in processPointerDown
cy-moi 09b0bea
Test with both pointerup and pointerdown timestamp
cy-moi 1c99ed5
remove unused function
cy-moi 7d8b514
remove testing
cy-moi e9e1823
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi afa3ed9
Format
cy-moi add9d1a
Add map clearing in view ended
cy-moi 92daf77
format
cy-moi 028ccd8
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi 33ecfda
Clear the map in perf timing unsubscribe
cy-moi d6a41d0
Add pointerUp selector collect and clear outdated entries
cy-moi 62c4f63
Change one hour to one day
cy-moi 74268f8
Fix bug in comparing time
cy-moi 0b6e4a0
Remove unused import
cy-moi 4ae666f
Clear the map at 10 seconds
cy-moi 6afb5d5
Remove telemetry after experiments
cy-moi 399fb3a
Fix for comments and remove telemetry feature flag
cy-moi a64b276
Fix type for mouse event
cy-moi e8356a8
Add trackClickAction test coverage
cy-moi 9ba6691
Remove ff NULL_INP_TELEMETRY
cy-moi b2ad82b
Extract logic to a separate file and fix tests
cy-moi 309100d
Separate cache object to functions
cy-moi e5b8894
Simplify and avoid verbose
cy-moi 780f181
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi bee48e3
Remove commented codes
cy-moi 9d24694
Rename functions to be more precise
cy-moi 986bfe0
Fix tests with relative now timestamp
cy-moi f029cd9
avoid using emulateClick with delay
cy-moi e4a2494
Avoid using arrow functions
cy-moi 8d67742
Merge branch 'main' into congyao/RUM-5590-add-telemetry-for-INP-null
cy-moi 768e1a4
Test with ci unit test with emulateClick
cy-moi 6e862a6
Move unit tests to standalone file
cy-moi 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 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 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 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 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 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 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 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 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 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
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.
💬 suggestion: instead of checking for
set
/get
/delete
calls on Map, why not check if the expected value is actually ininteractionSelectorMap
directly?I think it would be more explicit and a bit "safer" (we are sure the value was set on the right Map)
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.
Thank you! The tests should be fixed with checking the map directly. This way is indeed more effective! TIL