Skip to content

[TOOL-3640] Dashboard: Add sponsored transactions table in team usage page #6434

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

Merged
merged 1 commit into from
Mar 8, 2025

Conversation

MananTank
Copy link
Member

@MananTank MananTank commented Mar 7, 2025

PR-Codex overview

This PR focuses on enhancing the SponsoredTransactionsTable component and related functionalities by integrating additional props, improving data handling, and refining the UI for better user experience.

Detailed summary

  • Added placeholder prop to SingleNetworkSelector.
  • Integrated SponsoredTransactionsTable in AccountAbstractionAnalytics.
  • Enhanced Usage component with client and projects props.
  • Updated ExportToCSVButton to handle different data formats.
  • Refined SponsoredTransactionsTable for improved data fetching and UI.
  • Introduced CSV export functionality for sponsored transactions.
  • Added loading and error states in SponsoredTransactionsTableUI.
  • Implemented filters for projects and chains in SponsoredTransactionsTableUI.

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

@MananTank MananTank requested review from a team as code owners March 7, 2025 18:58
Copy link

linear bot commented Mar 7, 2025

Copy link

changeset-bot bot commented Mar 7, 2025

⚠️ No Changeset found

Latest commit: f8eb86d

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

Copy link

vercel bot commented Mar 7, 2025

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

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 1:04pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 1:04pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 1:04pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 1:04pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 8, 2025 1:04pm

Copy link
Contributor

graphite-app bot commented Mar 7, 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 Mar 7, 2025
@MananTank MananTank changed the title [TOOL-3640] Dashboard: Add sponsored transactions table in team usage page [TOOL-3640] Dashboard: Add sponsored transactions table in team usage page - DONT MERGE Mar 7, 2025
@MananTank MananTank marked this pull request as draft March 7, 2025 18:58
Copy link
Contributor

github-actions bot commented Mar 7, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.76 KB (0%) 936 ms (0%) 469 ms (+38.99% 🔺) 1.5 s
thirdweb (cjs) 127.15 KB (0%) 2.6 s (0%) 886 ms (+17.85% 🔺) 3.5 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 112 ms (0%) 163 ms (+611.04% 🔺) 275 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 38 ms (+205.51% 🔺) 48 ms
thirdweb/react (minimal + tree-shaking) 19.34 KB (0%) 387 ms (0%) 146 ms (+33.35% 🔺) 533 ms

@vercel vercel bot temporarily deployed to Preview – wallet-ui March 7, 2025 20:50 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 7, 2025 20:50 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 7, 2025 20:50 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 7, 2025 20:50 Inactive
Copy link
Member Author


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.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.62%. Comparing base (2ae778e) to head (f8eb86d).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6434   +/-   ##
=======================================
  Coverage   54.62%   54.62%           
=======================================
  Files         874      874           
  Lines       54732    54732           
  Branches     3708     3708           
=======================================
  Hits        29896    29896           
  Misses      24741    24741           
  Partials       95       95           
Flag Coverage Δ
packages 54.62% <ø> (ø)
🚀 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.

@vercel vercel bot temporarily deployed to Preview – login March 7, 2025 21:21 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 7, 2025 21:21 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 7, 2025 21:21 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 7, 2025 21:21 Inactive
@MananTank MananTank changed the title [TOOL-3640] Dashboard: Add sponsored transactions table in team usage page - DONT MERGE [TOOL-3640] Dashboard: Add sponsored transactions table in team usage page Mar 7, 2025
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 7, 2025 21:34 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 7, 2025 21:34 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 March 8, 2025 12:26 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui March 8, 2025 12:26 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground March 8, 2025 12:26 Inactive
@vercel vercel bot temporarily deployed to Preview – login March 8, 2025 12:26 Inactive
Copy link
Contributor

graphite-app bot commented Mar 8, 2025

Merge activity

… page (#6434)

<!-- start pr-codex -->

## PR-Codex overview
This PR focuses on enhancing the functionality and user experience of the dashboard by adding new features, improving existing components, and refining data handling, particularly around sponsored transactions and usage analytics.

### Detailed summary
- Added `placeholder` prop to `SingleNetworkSelector`.
- Integrated `SponsoredTransactionsTable` in `AccountAbstractionAnalytics`.
- Enhanced `Usage` component with `client` and `projects` props.
- Improved `ExportToCSVButton` to handle different data types.
- Introduced `SponsoredTransactionsTable` for displaying sponsored transaction data.
- Updated `SponsoredTransactionsTableUI` with pagination and filter options.
- Added error handling and loading states in various components.
- Refactored proxy actions to support optional search parameters and text parsing.
- Introduced `getAuthToken` for authentication in several pages.

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

<!-- end pr-codex -->
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