-
Notifications
You must be signed in to change notification settings - Fork 295
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
Update filtering of (not set)
values in reportRowsWithSetValues
to check for blank values
#10143
Comments
(not set)
values to check for blank value instead(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values
(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values
(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values
Hey @ankitrox, thanks for creating this issue. The initial AC you provided was more on the way to being an IB, so I've provided a new set of AC and moved your version to the IB section. Seeing as you've got the context on this, it would probably make sense for you to continue to flesh out the IB so I've assigned it back to you in IB, of course please feel free to unassign it if you don't have capacity. |
Thank you @techanvil for updating the acceptance criteria. I have updated the IB section as per the required actions for this change and also updated test coverage section. Moving this to IBR and unassigned myself so that anyone who has bandwidth can pick this for review. Thank you. |
(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values
Thanks @ankitrox, this IB LGTM. Taking the approach of checking for an empty value while retaining the check for IB ✅ |
Note that this is a high priority issue as it's already March so we need to get this in ASAP. |
(not set)
values in reportRowsWithSetValues
and UserDimensionsPieChart
to check for blank values(not set)
values in reportRowsWithSetValues
to check for blank values
Hi @ankitrox, I've merged the PR for this issue, but please can you add a QAB? |
QA Update ⚠
@wpdarren Could you please double-check if you can reproduce the required data value on any of your sites? Thanks ! |
QA Update: ✅I went through a few of my test websites and was unable to find one where As the engineer mentioned, It's difficult to find the [not set] in Analytics data, even when trying different date ranges. The fact that @mohitwp can see that blank value is removed on one site, I feel this should be good to go as we have necessary E2E tests in place which are passing. |
Feature Description
From a recent notice about upcoming changes to the Data API
See also: #10059, #10177.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
'(not set)'
report values (as opposed to filtering via dimension filters in report options), should be updated to filter for empty values as well.Note
We can follow up with a subsequent issue to remove all reference to "(not set)" from the codebase.
Implementation Brief
In
assets/js/modules/analytics-4/utils/report-rows-with-set-values.js
reportRowsWithSetValues
function to also filter out the blank value''
along with(not set)
.site-kit-wp/assets/js/modules/analytics-4/utils/report-rows-with-set-values.js
Lines 19 to 25 in 174ea0f
In
assets/js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js
site-kit-wp/assets/js/modules/analytics-4/components/dashboard/DashboardAllTrafficWidgetGA4/UserDimensionsPieChart.js
Lines 108 to 114 in 644a676
reportRowsWithSetValues
function is being used by following components, so make sure that correct number of rows are being fetched and passed.Test Coverage
reportRowsWithSetValues
to also account for blank values.QA Brief
Set up the Site Kit with Key Metrics widgets having Top Cities and Top Countries widget in it.
Also setup the Audience Segmentation feature such that AS tiles are available on dashboard.
Ensure that none of the tile across KM and AS shows the
(not set)
or blank value (''
).Note: It's difficult to get the
(not set)
or blank value, so try different date ranges, if all looks fine, this should be good to go as we have necessary tests in place which are passing.Changelog entry
The text was updated successfully, but these errors were encountered: