-
Notifications
You must be signed in to change notification settings - Fork 300
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
Remove audienceSegmentation
feature flag once the feature is fully rolled out
#10148
Comments
audienceSegmentation
feature flag once the issue is fully rolled outaudienceSegmentation
feature flag once the feature is fully rolled out
IB ✅ |
@kelvinballoo @mohitwp I suspect the QAB will mention this but just in case, as part of this testing we should ensure that Audience Segmentation continues to function as engineered when the feature flag is removed. In the past, we've had issues where removal of the feature flag broke functionality. 😄 |
Hello @techanvil, I have assigned this issue to you for CR mainly to review the E2E changes. The changes you suggested seems to be working as expected. E2E tests are still seem to be failing in CI pipeline, but these errors are irrelevant to the issue in progress. Feel free to unassign yourself in case you don't have bandwidth to look into this. Thank you. |
Thanks @ankitrox. I've reviewed and merged the PR - please note, it did need a few updates which I applied myself to save the round trip. Cc @juniovitorino. Ankit, please can you revise the QAB to include a mention of verifying the secondary user setup flow. I'd also suggest the point about confirming the Basically we just want to smoke test the Audience Segmentation feature, although it is useful to highlight some specific areas where it makes sense, as you have done. |
Thank you @techanvil , I have updated the QAB as per the suggestions. For the secondary user setup, I have linked it to the design doc for secondary user setup so that the functionality can be referenced over there. |
QA Update ❌
@ankitrox Audience segmentation functionality is not working correctly in the dev environment. Issue 1 - Set up Success state notice is not showing. Recording.1901.mp4Issue 2: Clicking on 'Change Groups' Does Not Open the Selection Panel Recording.1902.mp4Issue 3: 'Visitor groups' section is not showing under Admin Settings. Recording.1903.mp4 |
@ankitrox, it looks like there are still some feature flag checks in the codebase that were somehow missed:
|
Thank you @mohitwp for testing this and @techanvil for spotting few more instances of feature flag. I have created a follow-up PR #10458 to fix the issues and this seems to be working fine now. Related video: https://www.loom.com/share/7ebb46a71aba43d5a8cf396d70b3b940?sid=5e2b0972-3125-4c88-9d34-7cada4c84e20 Moving this issue to CR. |
QA Update ✅
|
Feature Description
When the Audience Segmentation feature has been rolled out to 100% of users, the
audienceSegmentation
feature flag should be removed.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
audienceSegmentation
feature flag should be removed.Implementation Brief
site-kit-wp/feature-flags.json
Line 3 in 846d233
site-kit-wp/assets/js/googlesitekit/widgets/register-defaults.js
Line 152 in 846d233
site-kit-wp/assets/js/modules/analytics-4/index.js
Line 715 in 846d233
site-kit-wp/assets/js/modules/analytics-4/index.js
Line 775 in 846d233
site-kit-wp/assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentationSetupCTAWidget.test.js
Line 475 in 846d233
site-kit-wp/includes/Core/User/REST_Audience_Settings_Controller.php
Line 65 in 846d233
site-kit-wp/includes/Core/User/REST_Audience_Settings_Controller.php
Line 91 in 846d233
site-kit-wp/includes/Modules/Analytics_4.php
Line 346 in 846d233
site-kit-wp/includes/Modules/Analytics_4.php
Lines 579 to 580 in 846d233
site-kit-wp/includes/Modules/Analytics_4.php
Line 695 in 846d233
site-kit-wp/tests/phpunit/integration/Core/User/REST_Audience_Settings_ControllerTest.php
Line 96 in 846d233
$this->enable_feature( 'audienceSegmentation' );
can be removed fromtests/phpunit/integration/Modules/Analytics_4Test.php
Test Coverage
QA Brief
audienceSegmentation
feature flag should no longer be available in tester plugin.Make sure that Audience Segmentation functionality continues to function without any issues after removal of the feature flag. Following are the points which can be tested.
Audience segmentation setup CTA widget banner should be visible.
After setting up the feature success subtle notification should be visible.
Ensure that audiences' selection is working fine and getting saved properly.
Audience segmentation debug fields are present in site health section.
Test the secondary user setup is working as expected.
Changelog entry
audienceSegmentation
feature flag.The text was updated successfully, but these errors were encountered: