-
Notifications
You must be signed in to change notification settings - Fork 327
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
feat(clerk-js): OrgProfile
billing page and new subscription methods
#5423
Conversation
🦋 Changeset detectedLatest commit: 3fbf27d The changes in this PR will be included in the next version bump. This PR includes changesets to release 22 packages
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 |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
OrgProfile
billing page and new subscription methodsOrgProfile
billing page and new subscription methods
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like maybe the pricing table and checkout components are re-rendering multiple times causing the table to flicker on load, then opening checkout opens drawer/closes then reopens.
Screen.Recording.2025-03-24.at.11.31.01.AM.mov
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good so far, do you think there will be redirect urls for both checkout complete and subscription cancel callbacks?
Description
Adds billing page (and
PricingTable
) to theOrgProfile
along with the newusePlans
hook.Also adds two subscription methods to get active subscriptions for the current user and the current org.
Renames the
PlanDetailDrawer
->SubscriptionDetailDrawer
.Resolves COM-184 COM-146
Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change