Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Nov 8, 2024

image.png


PR-Codex overview

This PR primarily focuses on the removal of certain components related to account usage and billing, along with significant updates to the Usage and UsageCard components to improve functionality and user experience.

Detailed summary

  • Deleted components: Usage.tsx, Plan.tsx, Period.tsx, UsagePage.tsx.
  • Updated package.json to remove --turbopack from the dev script.
  • Added getAccountUsage function for fetching account usage data.
  • Enhanced UsageCard component with updated styling and structure.
  • Implemented Usage component to display various usage metrics using UsageCard.
  • Introduced PlanInfoCard and BillingInfo functions for displaying billing details.
  • Updated FAQ descriptions in pricing.tsx to use <span> instead of <Text>.

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

@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 19:29 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 19:29 Inactive
@vercel
Copy link

vercel bot commented Nov 8, 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 Nov 8, 2024 8:32pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
docs-v2 ⬜️ Skipped (Inspect) Nov 8, 2024 8:32pm
thirdweb_playground ⬜️ Skipped (Inspect) Nov 8, 2024 8:32pm
wallet-ui ⬜️ Skipped (Inspect) Nov 8, 2024 8:32pm

@changeset-bot
Copy link

changeset-bot bot commented Nov 8, 2024

⚠️ No Changeset found

Latest commit: 2e641f8

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 vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 19:29 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 8, 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 Nov 8, 2024
Copy link
Member Author

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

Join @MananTank and the rest of your teammates on Graphite Graphite

@MananTank MananTank changed the title Migrate usage page to tailwind + Improved UI Migrate usage page to tailwind, render on server + Improved UI Nov 8, 2024
@MananTank MananTank marked this pull request as ready for review November 8, 2024 19:30
@codecov
Copy link

codecov bot commented Nov 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 45.71%. Comparing base (c8ad066) to head (2e641f8).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5361   +/-   ##
=======================================
  Coverage   45.71%   45.71%           
=======================================
  Files        1070     1070           
  Lines       55670    55670           
  Branches     4094     4094           
=======================================
  Hits        25450    25450           
  Misses      29531    29531           
  Partials      689      689           
Flag Coverage Δ *Carryforward flag
legacy_packages 65.68% <ø> (ø) Carriedforward from c8ad066
packages 40.86% <ø> (ø)

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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 8, 2024

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 43.05 KB (0%) 862 ms (0%) 422 ms (-8.36% 🔽) 1.3 s
thirdweb (cjs) 103.17 KB (0%) 2.1 s (0%) 823 ms (-4.7% 🔽) 2.9 s
thirdweb (minimal + tree-shaking) 4.86 KB (0%) 98 ms (0%) 73 ms (+212.49% 🔺) 170 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 63 ms (+1073.14% 🔺) 73 ms
thirdweb/react (minimal + tree-shaking) 17.6 KB (0%) 353 ms (0%) 184 ms (+91.64% 🔺) 536 ms

@MananTank MananTank force-pushed the 11-09-migrate_usage_page_to_tailwind_improved_ui branch from 4bf2fef to cb8bcc5 Compare November 8, 2024 19:39
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 19:39 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 19:39 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 19:39 Inactive
@graphite-app
Copy link
Contributor

graphite-app bot commented Nov 8, 2024

Merge activity

@MananTank MananTank force-pushed the 11-09-migrate_usage_page_to_tailwind_improved_ui branch from cb8bcc5 to 2e641f8 Compare November 8, 2024 20:21
@vercel vercel bot temporarily deployed to Preview – wallet-ui November 8, 2024 20:22 Inactive
@vercel vercel bot temporarily deployed to Preview – docs-v2 November 8, 2024 20:22 Inactive
@vercel vercel bot temporarily deployed to Preview – thirdweb_playground November 8, 2024 20:22 Inactive
@graphite-app graphite-app bot merged commit 2e641f8 into main Nov 8, 2024
31 of 32 checks passed
@graphite-app graphite-app bot deleted the 11-09-migrate_usage_page_to_tailwind_improved_ui branch November 8, 2024 20:32
@vercel vercel bot temporarily deployed to Production – thirdweb_playground November 8, 2024 20:32 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