-
Notifications
You must be signed in to change notification settings - Fork 296
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
Add GA event tracking for the Audiences Tiles (excluding the "Top content" metric area) #9567
Add GA event tracking for the Audiences Tiles (excluding the "Top content" metric area) #9567
Conversation
…_request_access`, `data_loading_error` and `data_loading_error_retry` GA actions to AudienceTileError.
…s to AudienceTile.
…udienceTileZeroData.
…_request_access`, `data_loading_error` and `data_loading_error_retry` GA actions to AudienceSegmentationErrorWidget.
…nceTileError and AudienceSegmentationErrorWidget.
…ile_partial_data_tooltip`.
… `insufficient_permissions_error_request_access`, `data_loading_error` and `data_loading_error_retry` GA actions.
…vents in AudienceTileZeroData.
…ions_error_request_access`, `data_loading_error` and `data_loading_error_retry` GA actions in AudienceSegmentationErrorWidget.
Build files for 3013ac3 have been deleted. |
Size Change: +4.56 kB (+0.24%) Total Size: 1.87 MB
ℹ️ View Unchanged
|
…op_content_partial_data_tooltip` GA events in AudienceTile.
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.
This file was moved to assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js
, rather than deleted, but Github hasn't picked it up - probably because the moved file was then modified.
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.
This file was also moved, not deleted. It was moved to assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.test.js
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.
This file was also moved, not deleted. It was moved to assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/AudienceTileError/index.js
.
@@ -498,7 +543,51 @@ describe( 'AudienceTilesWidget', () => { | |||
) | |||
).toBeInTheDocument(); | |||
|
|||
await act( () => waitForTimeouts( 100 ) ); | |||
await act( () => waitForTimeouts( 150 ) ); |
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.
This test was still proving to be a bit flaky, hence increasing the timeout which was added to improve stability.
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.
Excellent work on this, thank you @techanvil.
I've left a few comments, but as they are very minor, I'll go ahead and address them myself. Thank you!
...lytics-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.js
Show resolved
Hide resolved
...s-4/components/audience-segmentation/dashboard/AudienceSegmentationErrorWidget/index.test.js
Outdated
Show resolved
Hide resolved
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.
LGTM ✅
Note: I've verified that the failing VRT in CI is unrelated to this PR.
Summary
Addresses issue:
Relevant technical choices
PR Author Checklist
Do not alter or remove anything below. The following sections will be managed by moderators only.
Code Reviewer Checklist
Merge Reviewer Checklist