-
Notifications
You must be signed in to change notification settings - Fork 619
fix: client analytics for ecosystem wallet #5643
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: client analytics for ecosystem wallet #5643
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Your org has enabled the Graphite merge queue for merging into mainAdd the label “merge-queue” to the PR and Graphite will automatically add it to the merge queue when it’s ready to merge. Or use the label “hotfix” to add to the merge queue as a hot fix. You must have a Graphite account and log in to Graphite in order to use the merge queue. Sign up using this link. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5643 +/- ##
=======================================
Coverage 48.16% 48.16%
=======================================
Files 1089 1089
Lines 56875 56875
Branches 4361 4361
=======================================
Hits 27395 27395
Misses 28780 28780
Partials 700 700
*This pull request uses carry forward flags. Click here to find out more. |
size-limit report 📦
|
Merge activity
|
https://linear.app/thirdweb/issue/CNCT-2526/analytics-discrepancy-after-migration-to-ecosystem-wallets This fixes for all queries from Nov onwards. We have to think of a solution to backfill for data stretching before Nov if customers ask for it <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on refactoring the handling of ecosystem identifiers in the codebase, changing from using `ecosystemId` to `ecosystemSlug` for better clarity and consistency across various components and functions. ### Detailed summary - Changed prop from `ecosystemId` to `ecosystemSlug` in `EcosystemAnalyticsPage`. - Updated `getEcosystemWalletUsage` calls to use `ecosystemSlug` instead of `ecosystemId` in `EcosystemSlugLayout` and `EcosystemAnalyticsPage`. - Adjusted the parameter type in `EcosystemAnalyticsPage` and `getEcosystemWalletUsage` to reflect the new `ecosystemSlug` usage. - Modified the fetch URL in `getEcosystemWalletUsage` to use `ecosystemSlug` for API requests. - Updated error message in `getEcosystemWalletUsage` to specify "ecosystem wallet stats". > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
782c65c to
87b54c9
Compare
https://linear.app/thirdweb/issue/CNCT-2526/analytics-discrepancy-after-migration-to-ecosystem-wallets
This fixes for all queries from Nov onwards.
We have to think of a solution to backfill for data stretching before Nov if customers ask for it
PR-Codex overview
This PR focuses on changing the parameter used to identify ecosystems from
ecosystemIdtoecosystemSlugacross various components and functions, enhancing clarity and consistency in the codebase.Detailed summary
EcosystemAnalyticsPageto useecosystemSluginstead ofecosystemId.getEcosystemWalletUsageinEcosystemSlugLayoutto useecosystemSlug.EcosystemAnalyticsPagefunction signature fromecosystemIdtoecosystemSlug.getEcosystemWalletUsagefunction to acceptecosystemSluginstead ofecosystemId.getEcosystemWalletUsageto reflect the change toecosystemSlug.