Skip to content

Conversation

@ElasticBottle
Copy link
Contributor

@ElasticBottle ElasticBottle commented Dec 6, 2024

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 ecosystemId to ecosystemSlug across various components and functions, enhancing clarity and consistency in the codebase.

Detailed summary

  • Updated EcosystemAnalyticsPage to use ecosystemSlug instead of ecosystemId.
  • Modified calls to getEcosystemWalletUsage in EcosystemSlugLayout to use ecosystemSlug.
  • Changed the parameter in the EcosystemAnalyticsPage function signature from ecosystemId to ecosystemSlug.
  • Adjusted the getEcosystemWalletUsage function to accept ecosystemSlug instead of ecosystemId.
  • Updated the fetch URL in getEcosystemWalletUsage to reflect the change to ecosystemSlug.
  • Changed error logging message to specify "ecosystem wallet stats".

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@linear
Copy link

linear bot commented Dec 6, 2024

@changeset-bot
Copy link

changeset-bot bot commented Dec 6, 2024

⚠️ No Changeset found

Latest commit: 87b54c9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@vercel
Copy link

vercel bot commented Dec 6, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 6, 2024 10:43pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Dec 6, 2024 10:43pm
thirdweb_playground ⬜️ Skipped (Inspect) Dec 6, 2024 10:43pm
wallet-ui ⬜️ Skipped (Inspect) Dec 6, 2024 10:43pm

@graphite-app
Copy link
Contributor

graphite-app bot commented Dec 6, 2024

Your org has enabled the Graphite merge queue for merging into main

Add 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.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Dec 6, 2024
@codecov
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.16%. Comparing base (16e5347) to head (87b54c9).
Report is 1 commits behind head on main.

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           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 16e5347
packages 44.02% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 41.13 KB (0%) 823 ms (0%) 1.3 s (+7.29% 🔺) 2.2 s
thirdweb (cjs) 104.48 KB (0%) 2.1 s (0%) 3.2 s (+22.37% 🔺) 5.3 s
thirdweb (minimal + tree-shaking) 4.37 KB (0%) 88 ms (0%) 87 ms (-28.53% 🔽) 174 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 120 ms (+154.05% 🔺) 130 ms
thirdweb/react (minimal + tree-shaking) 16.94 KB (0%) 339 ms (0%) 406 ms (+26.5% 🔺) 745 ms

Copy link
Contributor Author

ElasticBottle commented Dec 6, 2024

Merge activity

  • Dec 6, 3:55 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.
  • Dec 6, 5:28 PM EST: A user added this pull request to the Graphite merge queue.
  • Dec 6, 5:44 PM EST: A user merged this pull request with the Graphite merge queue.

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 -->
@ElasticBottle ElasticBottle force-pushed the winston/cnct-2526-analytics-discrepancy-after-migration-to-ecosystem-wallets branch from 782c65c to 87b54c9 Compare December 6, 2024 22:33
@vercel vercel bot temporarily deployed to Preview – docs-v2 December 6, 2024 22:33 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui December 6, 2024 22:33 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground December 6, 2024 22:33 Inactive
@graphite-app graphite-app bot merged commit 87b54c9 into main Dec 6, 2024
32 checks passed
@graphite-app graphite-app bot deleted the winston/cnct-2526-analytics-discrepancy-after-migration-to-ecosystem-wallets branch December 6, 2024 22:44
@vercel vercel bot temporarily deployed to Production – thirdweb_playground December 6, 2024 22:44 Inactive
@vercel vercel bot temporarily deployed to Production – docs-v2 December 6, 2024 22:44 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui December 6, 2024 22:44 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Dashboard Involves changes to the Dashboard. merge-queue Adds the pull request to Graphite's merge queue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants