-
Notifications
You must be signed in to change notification settings - Fork 30
Dispatch custom events on marketing components #14875
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
Conversation
72533ee to
4f12ac7
Compare
|
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
| if (impressionSeen && !reportedImpressionSeen) { | ||
| void getAcquisitionsClient().epicSeen(); | ||
| setReportedImpressionSeen(true); | ||
| document.dispatchEvent( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file is specific to the mobile apps and so I think we can consider it out of scope for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
tomrf1
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
we tested in CODE by checking each of the affected components still loads
|
Seen on PROD (merged by @AnastasiiaBalenko 6 minutes and 56 seconds ago) Please check your changes! |
What does this change?
Ticket link
This PR adds customEvents dispatching to the next components:
Why?
From a discussion from commercial dev where different components / team tech aren’t aware of each other’s activity. I.e., when the pop-up sign in gate displays and is hidden.
Aim of this PR: fire the events on marketing components' activities for other teams (e.g., comm dev) to receive.
Screenshots
Gutter event






SignInGate events
Banner events
Epic event