Skip to content

Conversation

@MananTank
Copy link
Member

@MananTank MananTank commented Feb 26, 2025


PR-Codex overview

This PR primarily focuses on refactoring the onboarding process, updating billing actions, and enhancing team management features, including the introduction of new hooks and components for better handling of account and team onboarding.

Detailed summary

  • Deleted multiple onboarding-related components.
  • Introduced teamSlugRegex for team slug validation.
  • Updated TeamResponse type to include isOnboarded.
  • Changed redirectToBillingPortal to getBillingPortalUrl in various components.
  • Refactored onboarding functions and UI components for better clarity and functionality.
  • Enhanced the InviteSection component to support custom CTA sections.
  • Added new storybook entries for enhanced testing of onboarding components.
  • Introduced pollWithTimeout utility function for better polling management.
  • Updated billing-related actions to return URLs instead of performing redirects directly.
  • Improved error handling in team update and onboarding processes.

The following files were skipped due to too many changes: apps/dashboard/src/@/components/billing.tsx, apps/dashboard/src/@3rdweb-sdk/react/hooks/useApi.ts, apps/dashboard/src/app/team/[team_slug]/(team)/_components/BillingAlertBannersUI.tsx, apps/dashboard/src/components/settings/Account/Billing/Pricing.tsx, apps/dashboard/src/app/login/onboarding/VerifyEmail/VerifyEmail.tsx, apps/dashboard/src/app/login/onboarding/LoginOrSignup/LoginOrSignup.tsx, apps/dashboard/src/app/login/onboarding/team-onboarding/InviteTeamMembers.tsx, apps/dashboard/src/app/login/onboarding/team-onboarding/TeamInfoForm.tsx, apps/dashboard/src/app/login/LoginPage.tsx

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

@linear
Copy link

linear bot commented Feb 26, 2025

@changeset-bot
Copy link

changeset-bot bot commented Feb 26, 2025

🦋 Changeset detected

Latest commit: 5762a0d

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@thirdweb-dev/service-utils Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Feb 26, 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 7, 2025 3:47pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 3:47pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 3:47pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 3:47pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 7, 2025 3:47pm

@github-actions github-actions bot added Dashboard Involves changes to the Dashboard. packages labels Feb 26, 2025
@MananTank MananTank changed the title [TOOL-3446] Dashboard: Revamp account onboarding, Add Team onboarding [TOOL-3446] Dashboard: Revamp account onboarding, Add Team onboarding ( DO NOT MERGE ) Feb 26, 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.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 26, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 46.76 KB (0%) 936 ms (0%) 199 ms (+203.79% 🔺) 1.2 s
thirdweb (cjs) 127.15 KB (0%) 2.6 s (0%) 288 ms (+57.96% 🔺) 2.9 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 112 ms (0%) 106 ms (+2456.11% 🔺) 218 ms
thirdweb/chains (tree-shaking) 506 B (0%) 10 ms (0%) 48 ms (+828.71% 🔺) 58 ms
thirdweb/react (minimal + tree-shaking) 19.34 KB (0%) 387 ms (0%) 138 ms (+1176.04% 🔺) 524 ms

@MananTank MananTank changed the title [TOOL-3446] Dashboard: Revamp account onboarding, Add Team onboarding ( DO NOT MERGE ) [TOOL-3446] Dashboard: Revamp account onboarding, Add Team onboarding ( DO NOT MERGE ) Feb 26, 2025
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. packages

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants