-
Notifications
You must be signed in to change notification settings - Fork 350
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
feat π (llm): add analytics for new accounts list #8818
base: develop
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
3eec45d
to
1cf50ae
Compare
@@ -103,10 +103,11 @@ export default function AccountsList({ route }: Props) { | |||
}, [currency, llmNetworkBasedAddAccountFlow?.enabled, navigation, provider, specificAccounts]); | |||
|
|||
const onClick = specificAccounts ? onAddAccount : undefined; | |||
|
|||
const pageTrackingEvent = specificAccounts ? "Account List Summary" : "Accounts"; | |||
const currencyToTrack = specificAccounts && currency?.name; |
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.
replace this expression with a ternary to avoid sending boolean to analytics
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.
β
@@ -103,10 +103,11 @@ export default function AccountsList({ route }: Props) { | |||
}, [currency, llmNetworkBasedAddAccountFlow?.enabled, navigation, provider, specificAccounts]); | |||
|
|||
const onClick = specificAccounts ? onAddAccount : undefined; | |||
|
|||
const pageTrackingEvent = specificAccounts ? "Account List Summary" : "Accounts"; |
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.
i suggestion to extract those strings to enums related to features/Accounts
analytics. File naming can be enums.ts , location IMO features/Accounts/enums.ts
as it can be used anywhere in the feature
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.
β
438ba0d
to
fd60fe2
Compare
fd60fe2
to
5d6c6a7
Compare
β Checklist
npx changeset
was attached.π Description
Add analytics for the new accounts list scope.
Please refer to Jira task to review all the needed analytics
Simulator.Screen.Recording.-.iPhone.15.Pro.-.2025-01-07.at.10.51.26.mp4
β Context
π§ Checklist for the PR Reviewers