-
Notifications
You must be signed in to change notification settings - Fork 5
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
fix: LW-10549 add missing onboarding and multiwallet posthog events, improve type-safety #1160
Conversation
Allure Report
smokeTests: ✅ test report for 769f294a
|
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.
Left just one comment.
|
||
export type SendOnboardingAnalyticsEvent = ( | ||
postHogAction: PostHogAction, | ||
postHogAction: string, |
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.
Wouldnt this lower the safety?
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 dead. It is old onboarding and I have it removed on a different branch.
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.
More context: as you can see this PR is based on the codebase unification PR where on ording implementation was swapped with the adjusted multi wallet implementation and all the old code resides there without being used including this file.
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.
Looks good to me.
d2009df
to
bc54849
Compare
e532b7d
to
92fe71e
Compare
92fe71e
to
23b3f3f
Compare
Quality Gate passedIssues Measures |
Checklist
Proposed solution
Extracted onboarding and multi-wallet posthog events from the
PosthogAction
enum to be separate entities. Improved type safety around those events.Testing
Onboarding and multi-wallet flows send identical posthog events (same number of events, same time of sending) - same event texts except for the prefix which is either
onboarding
ormultiwalet
.