Skip to content

Conversation

@gregfromstl
Copy link
Contributor

@gregfromstl gregfromstl commented May 14, 2025

This PR adds Universal Bridge payment data to the main analytics dashboard, enhancing visibility of payments volume and fee revenue alongside user metrics. Key changes include:

  • Added volume and fee collection metrics to team and project analytics pages
  • Renamed "Users" chart card to "App Highlights" to better represent the combined metrics
  • Improved empty state handling with specific call-to-actions
  • Fixed interval parameter handling in analytics API
  • Made Universal Bridge projectId parameter optional for team-wide stats

🤖 Generated with Claude Code


PR-Codex overview

This PR introduces new features and improvements across various components, including enhanced analytics, chart configurations, and UI updates. It adds support for currency formatting and adjusts data handling for better performance and clarity.

Detailed summary

  • Added isCurrency prop to chart components.
  • Updated interval handling in time.ts.
  • Modified chart rendering logic to handle empty states.
  • Renamed table headings in PaymentHistory.tsx.
  • Changed data handling in Payouts.tsx and PayNewCustomers.tsx.
  • Introduced EmptyStateContent component for better UI consistency.
  • Enhanced AppHighlightsCard to include volume and fee metrics.
  • Updated analytics fetching to include UniversalBridgeStats.

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

This PR adds Universal Bridge payment data to the main analytics dashboard, enhancing visibility of payments volume and fee revenue alongside user metrics. Key changes include:

- Added volume and fee collection metrics to team and project analytics pages
- Renamed "Users" chart card to "App Highlights" to better represent the combined metrics
- Improved empty state handling with specific call-to-actions
- Fixed interval parameter handling in analytics API
- Made Universal Bridge projectId parameter optional for team-wide stats

🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
@gregfromstl gregfromstl requested review from a team as code owners May 14, 2025 23:50
@linear
Copy link

linear bot commented May 14, 2025

@changeset-bot
Copy link

changeset-bot bot commented May 14, 2025

⚠️ No Changeset found

Latest commit: 232192e

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 May 14, 2025

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 May 15, 2025 1:05am
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) May 15, 2025 1:05am
login ⬜️ Skipped (Inspect) May 15, 2025 1:05am
thirdweb_playground ⬜️ Skipped (Inspect) May 15, 2025 1:05am
wallet-ui ⬜️ Skipped (Inspect) May 15, 2025 1:05am

@graphite-app
Copy link
Contributor

graphite-app bot commented May 14, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label May 14, 2025
@codecov
Copy link

codecov bot commented May 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 55.50%. Comparing base (ae7407d) to head (232192e).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7051   +/-   ##
=======================================
  Coverage   55.50%   55.50%           
=======================================
  Files         909      909           
  Lines       58402    58402           
  Branches     4070     4070           
=======================================
  Hits        32415    32415           
  Misses      25882    25882           
  Partials      105      105           
Flag Coverage Δ
packages 55.50% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@github-actions
Copy link
Contributor

github-actions bot commented May 14, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 54.18 KB (0%) 1.1 s (0%) 133 ms (+95.9% 🔺) 1.3 s
thirdweb (cjs) 193.71 KB (0%) 3.9 s (0%) 300 ms (+16.37% 🔺) 4.2 s
thirdweb (minimal + tree-shaking) 5.68 KB (0%) 114 ms (0%) 72 ms (+1104.64% 🔺) 185 ms
thirdweb/chains (tree-shaking) 524 B (0%) 11 ms (0%) 25 ms (+1650.24% 🔺) 35 ms
thirdweb/react (minimal + tree-shaking) 19.53 KB (0%) 391 ms (0%) 60 ms (+430.32% 🔺) 450 ms

@vercel vercel bot temporarily deployed to Preview – wallet-ui May 14, 2025 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 14, 2025 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 14, 2025 23:55 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 14, 2025 23:55 Inactive
@gregfromstl gregfromstl force-pushed the greg/tool-4498-add-ub-to-main-analytics branch from ade3af9 to fb4cd6d Compare May 15, 2025 00:04
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 15, 2025 00:04 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 15, 2025 00:04 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 15, 2025 00:04 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 15, 2025 00:04 Inactive
@gregfromstl gregfromstl force-pushed the greg/tool-4498-add-ub-to-main-analytics branch from fb4cd6d to 1a90033 Compare May 15, 2025 00:20
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 15, 2025 00:20 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 15, 2025 00:20 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 15, 2025 00:20 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 15, 2025 00:20 Inactive
@gregfromstl gregfromstl force-pushed the greg/tool-4498-add-ub-to-main-analytics branch from 1a90033 to e23ce24 Compare May 15, 2025 00:27
@vercel vercel bot temporarily deployed to Preview – login May 15, 2025 00:27 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 15, 2025 00:27 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 15, 2025 00:27 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 15, 2025 00:27 Inactive
@gregfromstl gregfromstl force-pushed the greg/tool-4498-add-ub-to-main-analytics branch from e23ce24 to 38dbc03 Compare May 15, 2025 00:51
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 15, 2025 00:51 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 15, 2025 00:51 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 15, 2025 00:51 Inactive
@vercel vercel bot temporarily deployed to Preview – login May 15, 2025 00:51 Inactive
@gregfromstl gregfromstl force-pushed the greg/tool-4498-add-ub-to-main-analytics branch from 38dbc03 to 232192e Compare May 15, 2025 00:57
@vercel vercel bot temporarily deployed to Preview – login May 15, 2025 00:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 May 15, 2025 00:57 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui May 15, 2025 00:57 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground May 15, 2025 00:57 Inactive
@gregfromstl gregfromstl merged commit 0eff648 into main May 15, 2025
23 checks passed
@gregfromstl gregfromstl deleted the greg/tool-4498-add-ub-to-main-analytics branch May 15, 2025 01:07
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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants