-
Notifications
You must be signed in to change notification settings - Fork 290
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
Implement the Audience Creation Notice as a presentational component (Storybook) #8986
Closed
14 of 17 tasks
Labels
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Comments
techanvil
added
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Type: Enhancement
Improvement of an existing feature
labels
Jul 8, 2024
30 tasks
IB ✅ |
18 tasks
Hi @kelvinballoo, I can remove the period as part of 8164 which I just move to CR. |
QA Update ✅Reviewed the text and the period has been removed now. This is ready to go. Moving ticket to approval Other items reviewed as part of this ticket are:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Team M
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
Create the Audience Creation Notice, as a presentational component (i.e. implement the visual design but not the business logic), and add it to Storybook.
See audience creation in the design doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
In
assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/constants.js
:AUDIENCE_CREATION_NOTICE_SLUG
with the valueaudience-segmentation-creation-notice
(or an appropriate key value).AudienceCreationNotice
componentIn
assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel
directory, create a new fileAudienceCreationNotice.js
:AudienceCreationNotice
, that will be used to render the Audience Creation Notice.getConfigurableAudiences
selector. For example, see how this is being filteredAudienceItems
component:site-kit-wp/assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceItems.js
Lines 60 to 70 in 8240ccf
SITE_KIT_AUDIENCE_DEFINITIONS
.AddGroupNotice
component.SelectionPanel
component.SelectionPanelHeader
component:site-kit-wp/assets/js/components/SelectionPanel/SelectionPanelHeader.js
Lines 39 to 45 in 7ea3bb3
dismissItem
action with theAUDIENCE_CREATION_NOTICE_SLUG
constant to theonClick
event of the close button.SpinnerButton
component with the following props:children
:Create
spinnerPosition
:SPINNER_POSITION.BEFORE
(before
).onClick
handler will be implemented in #8164.assets/sass/components/analytics-4/audience-segmentation/_googlesitekit-audience-selection-panel.scss
.Test Coverage
assets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.stories.js
.AudienceCreationNotice
component inassets/js/modules/analytics-4/components/audience-segmentation/dashboard/AudienceSelectionPanel/AudienceCreationNotice.test.js
.QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: