-
Notifications
You must be signed in to change notification settings - Fork 592
fix: adjust tapped navigation tab event #11913
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
base: main
Are you sure you want to change the base?
Conversation
const trackTappedInfoBubble = () => { | ||
let contextModule: ContextModule | ||
switch (activeTab) { | ||
case "saves": | ||
contextScreen = ContextModule.favoritesSaves | ||
contextModule = ContextModule.favoritesSaves | ||
break | ||
case "follows": | ||
contextScreen = ContextModule.favoritesFollows | ||
contextModule = ContextModule.favoritesFollows | ||
break | ||
case "alerts": | ||
contextScreen = ContextModule.favoritesAlerts | ||
contextModule = ContextModule.favoritesAlerts |
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.
To avoid maintaining this and forgetting to add new context modules if we add new tabs, maybe we can add the context module to Pills
inside Favorites.tsx
.
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.
Good point, addressing it now
This PR resolves []
Description
As requested by data, adjust the tracking of the pill tap event
Slack thread: https://artsy.slack.com/archives/C05EQL4R5N0/p1744376580199449?thread_ts=1742927066.401229&cid=C05EQL4R5N0
PR Checklist
To the reviewers 👀
Changelog updates
Changelog updates
Cross-platform user-facing changes
iOS user-facing changes
Android user-facing changes
Dev changes
Need help with something? Have a look at our docs, or get in touch with us.