Implement the Selection Panel Info Notice #8159
Labels
Module: Analytics
Google Analytics module related issues
P1
Medium priority
Squad 2 (Team M)
Issues for Squad 2
Type: Enhancement
Improvement of an existing feature
Feature Description
Implement the info notice will be displayed when the Selection Panel is opened with only one item selected.
See audiences creation > info notice in the design doc.
Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance criteria
Implementation Brief
Note: It could be worth taking a look at the Info Notice component to see if can be refactored for reuse. See #8137.
In
assets/js/modules/analytics-4/components/dashboard/AudienceSegmentation/InfoNotice.js
:id
prop to theInfoNotice
component.infoIcon
prop to theInfoNotice
component.id
to thediv
element.infoIcon
prop if it is provided. Otherwise, render theLightbulbIcon
component.In the selection panel component, which is being implemented in #8157:
getConfiguredAudiences
selector.InfoNotice
dismissible state using theisItemDismissed
selector using an appropriateid
value.InfoNotice
is not dismissed, render theAudienceSegmentation/InfoNotice
component.id
value to theInfoNotice
component.infoIcon
prop to theInfoNotice
component.Got it
as thedismissLabel
prop.onDismiss
prop that dismisses theInfoNotice
using thedismissItem
action.content
prop:Test Coverage
AudienceSegmentation/InfoNotice
storybook to include the newinfoIcon
prop.QA Brief
Changelog entry
The text was updated successfully, but these errors were encountered: