Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Apr 3, 2025

PR-Codex overview

This PR focuses on improving various components related to analytics in the dashboard, including date handling, chart configurations, and UI enhancements for better data representation.

Detailed summary

  • Updated date handling in storyUtils.ts.
  • Added a new BadgeContainer in TotalSponsoredChartCard.stories.tsx.
  • Enhanced parameter handling in page.tsx for date ranges.
  • Modified ThirdwebBarChart properties for better tooltip formatting.
  • Replaced BarChart with ThirdwebBarChart in multiple components, improving chart rendering.
  • Introduced custom headers and empty state components for better user experience.
  • Enhanced data handling and sorting in TotalSponsoredChartCard.
  • Added new stories for EcosystemWalletUsersChartCard showcasing various states.

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

@vercel vercel bot temporarily deployed to Preview – wallet-ui April 3, 2025 14:41 Inactive
@vercel
Copy link

vercel bot commented Apr 3, 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 Apr 3, 2025 6:43pm
4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Apr 3, 2025 6:43pm
login ⬜️ Skipped (Inspect) Apr 3, 2025 6:43pm
thirdweb_playground ⬜️ Skipped (Inspect) Apr 3, 2025 6:43pm
wallet-ui ⬜️ Skipped (Inspect) Apr 3, 2025 6:43pm

@vercel vercel bot temporarily deployed to Preview – docs-v2 April 3, 2025 14:41 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 3, 2025 14:41 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 3, 2025 14:41 Inactive
@changeset-bot
Copy link

changeset-bot bot commented Apr 3, 2025

⚠️ No Changeset found

Latest commit: 9dc7e91

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

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Apr 3, 2025
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.

@MananTank MananTank marked this pull request as ready for review April 3, 2025 14:42
@MananTank MananTank requested review from a team as code owners April 3, 2025 14:42
@codecov
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.98%. Comparing base (80ee3d6) to head (1e092a7).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6636   +/-   ##
=======================================
  Coverage   54.98%   54.98%           
=======================================
  Files         888      888           
  Lines       55753    55753           
  Branches     3816     3816           
=======================================
  Hits        30653    30653           
  Misses      25005    25005           
  Partials       95       95           
Flag Coverage Δ
packages 54.98% <ø> (ø)
🚀 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 Apr 3, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 47.49 KB (0%) 950 ms (0%) 164 ms (+196.65% 🔺) 1.2 s
thirdweb (cjs) 129.89 KB (0%) 2.6 s (0%) 227 ms (+40.93% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.62 KB (0%) 113 ms (0%) 78 ms (+1522.78% 🔺) 191 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 59 ms (+1853.35% 🔺) 69 ms
thirdweb/react (minimal + tree-shaking) 19.33 KB (0%) 387 ms (0%) 120 ms (+915.37% 🔺) 507 ms

@MananTank MananTank force-pushed the 04-03-dashboard_fix_timestamp_ordering_in_various_charts_migrate_them_to_use_thirdwebbarchart branch from 28d6015 to 9dc7e91 Compare April 3, 2025 14:52
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 3, 2025 14:52 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 3, 2025 14:52 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 3, 2025 14:52 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 3, 2025 14:52 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 3, 2025

Merge activity

…use ThirdwebBarChart (#6636)

<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on updating various components to improve chart functionalities and data handling in the dashboard, including the introduction of the `ThirdwebBarChart`. It also refines date handling and enhances the user interface for better data representation.

### Detailed summary
- Updated date handling in `stubbedData` from February to December.
- Introduced `BadgeContainer` for displaying time ranges in `TotalSponsoredChartCard`.
- Enhanced `searchParams` structure in the analytics page to include `from` and `to` dates.
- Added `customHeader`, `toolTipValueFormatter`, and `emptyChartState` to `ThirdwebBarChart`.
- Replaced `BarChart` with `ThirdwebBarChart` in multiple components for consistency.
- Improved data mapping and sorting in `TotalSponsoredChartCard`.
- Created new stubs for `EcosystemWalletUsersChartCard` to simulate user data over various days.
- Refactored empty state components to improve user guidance when no data is available.

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

<!-- end pr-codex -->
@graphite-app graphite-app bot force-pushed the 04-03-dashboard_fix_timestamp_ordering_in_various_charts_migrate_them_to_use_thirdwebbarchart branch from 9dc7e91 to 1e092a7 Compare April 3, 2025 18:36
@vercel vercel bot temporarily deployed to Preview – docs-v2 April 3, 2025 18:36 Inactive
@vercel vercel bot temporarily deployed to Preview – login April 3, 2025 18:36 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground April 3, 2025 18:36 Inactive
@vercel vercel bot temporarily deployed to Preview – wallet-ui April 3, 2025 18:36 Inactive
@graphite-app graphite-app bot merged commit 1e092a7 into main Apr 3, 2025
32 checks passed
@graphite-app graphite-app bot deleted the 04-03-dashboard_fix_timestamp_ordering_in_various_charts_migrate_them_to_use_thirdwebbarchart branch April 3, 2025 18:43
@vercel vercel bot temporarily deployed to Production – docs-v2 April 3, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground April 3, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – login April 3, 2025 18:43 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui April 3, 2025 18:43 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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants