Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Feb 13, 2025

image.png


PR-Codex overview

This PR focuses on enhancing the ThirdwebBarChart and ThirdwebAreaChart components by introducing a header prop for better customization. It also updates various components to utilize this new prop and improves random data generation for analytics.

Detailed summary

  • Updated ThirdwebBarChart to include a header prop for title and description.
  • Modified ThirdwebAreaChart to include a header prop.
  • Changed chart aspect ratios in Analytics.tsx and transactions-table.tsx.
  • Adjusted random data generation logic for analytics.
  • Renamed NebulaAnalyticsPage import path for clarity.
  • Updated several charts in ContractAnalyticsPage.tsx to use the new header prop.

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

@linear
Copy link

linear bot commented Feb 13, 2025

@vercel
Copy link

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

@github-actions github-actions bot added the Dashboard Involves changes to the Dashboard. label Feb 13, 2025
@MananTank MananTank marked this pull request as ready for review February 13, 2025 12:48
@MananTank MananTank requested review from a team as code owners February 13, 2025 12:48
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.

@changeset-bot
Copy link

changeset-bot bot commented Feb 13, 2025

⚠️ No Changeset found

Latest commit: 3ff8c3f

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

@codecov
Copy link

codecov bot commented Feb 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 56.86%. Comparing base (4bd03b0) to head (3ff8c3f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6248   +/-   ##
=======================================
  Coverage   56.86%   56.86%           
=======================================
  Files        1166     1166           
  Lines       64523    64523           
  Branches     5226     5226           
=======================================
  Hits        36694    36694           
  Misses      27101    27101           
  Partials      728      728           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from 4bd03b0
packages 55.08% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.3 KB (0%) 926 ms (0%) 3.1 s (+26.62% 🔺) 4 s
thirdweb (cjs) 121.89 KB (0%) 2.5 s (0%) 4.3 s (-20.8% 🔽) 6.7 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 112 ms (0%) 178 ms (+2.21% 🔺) 290 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 43 ms (-73.08% 🔽) 53 ms
thirdweb/react (minimal + tree-shaking) 19.29 KB (0%) 386 ms (0%) 429 ms (-49.77% 🔽) 814 ms

@graphite-app
Copy link
Contributor

graphite-app bot commented Feb 13, 2025

Merge activity

![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/yNOf1svJ8o3zjO7zQouZ/6a8f069c-904b-447b-8757-54dde4b13c84.png)

<!-- start pr-codex -->

## PR-Codex overview
This PR primarily focuses on enhancing the `ThirdwebBarChart` and `ThirdwebAreaChart` components by introducing a `header` prop for improved chart display, modifying chart aspect ratios, and refining random data generation for analytics. It also updates the `NebulaAnalyticsPage` structure.

### Detailed summary
- Added `header` prop to `ThirdwebBarChart` and `ThirdwebAreaChart` for titles and descriptions.
- Changed aspect ratio from `lg:aspect-[4.5]` to `lg:aspect-[3.5]` in `Analytics.tsx`.
- Updated import path for `NebulaAnalyticsPage`.
- Refined random data generation logic in `nebula-analytics-ui.stories.tsx`.
- Improved chart configurations in multiple analytics components.
- Introduced `AnalyticsChart` component for better organization of chart data and props.
- Adjusted styling and structure of various charts for consistency.

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

<!-- end pr-codex -->
@vercel vercel bot temporarily deployed to Preview – wallet-ui February 13, 2025 17:56 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground February 13, 2025 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – login February 13, 2025 17:57 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 February 13, 2025 17:57 Inactive
@graphite-app graphite-app bot merged commit 3ff8c3f into main Feb 13, 2025
33 checks passed
@graphite-app graphite-app bot deleted the NEB-95 branch February 13, 2025 18:04
@vercel vercel bot temporarily deployed to Production – docs-v2 February 13, 2025 18:04 Inactive
@vercel vercel bot temporarily deployed to Production – wallet-ui February 13, 2025 18:04 Inactive
@vercel vercel bot temporarily deployed to Production – thirdweb_playground February 13, 2025 18:04 Inactive
@vercel vercel bot temporarily deployed to Production – login February 13, 2025 18:04 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