When the GA property is in the partial data state neither the audience or "Top content" partial data badge should display in the audience tiles.
However, the audience partial data badge briefly appears while the property partial data state is being determined, and the "Top content" partial data badge appears and stays in the tile.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Neither of the partial data badges in an audience tile should be displayed until the partial data state for the currently connected Analytics property, the audience, and the googlesitekit_post_type custom dimension have been determined.
This is to ensure that neither of the badges will briefly show up before being removed once the state has been been fully resolved.
Neither of the partial data badges in an audience tile should be displayed if the property is in the partial data state.
Implementation Brief
[x] In assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.js
While determining whether the audience is in partial data state, check if isPropertyPartialData is undefined, return false within useInViewSelect if it is undefined or true.
While determining whether top content is in partial data state, isTopContentPartialData, check if isPropertyPartialData is undefined, return false within useInViewSelect if it is undefined or true.
Test Coverage
Add the JS test for ensuring Partial Data badge doesn't show for audience tile or top content when analytics property is in partial data state.
Bug Description
Reported during the bug bash. Asana ticket here
When the GA property is in the partial data state neither the audience or "Top content" partial data badge should display in the audience tiles.
However, the audience partial data badge briefly appears while the property partial data state is being determined, and the "Top content" partial data badge appears and stays in the tile.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
googlesitekit_post_type
custom dimension have been determined.Implementation Brief
assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceTilesWidget/AudienceTile/index.js
isPropertyPartialData
isundefined
, returnfalse
withinuseInViewSelect
if it isundefined
ortrue
.isTopContentPartialData
, check ifisPropertyPartialData
isundefined
, returnfalse
withinuseInViewSelect
if it isundefined
ortrue
.Test Coverage
Partial Data
badge doesn't show for audience tile or top content when analytics property is in partial data state.QA Brief
Changelog entry