Some of the components for the Audience Segmentation feature are named or located a bit inconsistently. As can be seen, some are prefixed AudienceSegmentation - there is a certain logic to it but nonetheless it does look a bit inconsistent, and it's arguably redundant to an extent as they are located within the audience-segmentation folder.
Also, the term VisitorGroups is used for the settings components, this is contrary to the rest which use "audience" terminology.
One more detail is that InfoNotice is only used within the InfoNoticeWidget component and so it should be moved to the InfoNoticeWidget folder.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
The Audience Segmentation component names and locations should be revised and updated for consistency.
Implementation Brief
[ ] Remove the AudienceSegmentation* prefix for the files; assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentation*.
[ ] Move the assets/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice* files into the assets/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/ component folder.
[ ] Replace VisitorGroups with Audience in the files assets/js/modules/analytics-4/components/audience-segmentation/settings/SettingsCardVisitorGroups*.
Feature Description
Some of the components for the Audience Segmentation feature are named or located a bit inconsistently. As can be seen, some are prefixed
AudienceSegmentation
- there is a certain logic to it but nonetheless it does look a bit inconsistent, and it's arguably redundant to an extent as they are located within theaudience-segmentation
folder.Also, the term
VisitorGroups
is used for the settings components, this is contrary to the rest which use "audience" terminology.One more detail is that
InfoNotice
is only used within theInfoNoticeWidget
component and so it should be moved to theInfoNoticeWidget
folder.Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
AudienceSegmentation*
prefix for the files;assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSegmentation*
.assets/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNotice*
files into theassets/js/modules/analytics-4/components/audience-segmentation/dashboard/InfoNoticeWidget/
component folder.VisitorGroups
withAudience
in the filesassets/js/modules/analytics-4/components/audience-segmentation/settings/SettingsCardVisitorGroups*
.Test Coverage
QA Brief
Changelog entry