Uh oh!
There was an error while loading. Please reload this page.
chore(clerk-js): Tidy up layout and logic of PlanDetails drawer - #5928
Conversation
🦋 Changeset detectedLatest commit: c412857 The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 ↗︎
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
@clerk/agent-toolkit@clerk/astro@clerk/backend@clerk/chrome-extension@clerk/clerk-js@clerk/dev-cli@clerk/elements@clerk/clerk-expo@clerk/expo-passkeys@clerk/express@clerk/fastify@clerk/localizations@clerk/nextjs@clerk/nuxt@clerk/clerk-react@clerk/react-router@clerk/remix@clerk/shared@clerk/tanstack-react-start@clerk/testing@clerk/themes@clerk/types@clerk/upgrade@clerk/vuecommit: |
I believe the comments are not addressed. Also let's add a few e2e tests for the issues this PR is fixing. |
aeliox
commented
May 29, 2025
This details component is about to be split into two and their functionality is about to change a bit, but there are some decent bug fixes addressed in this PR that would be a good idea to get out while that split is in progress. Open to suggestions for the useState / useEffect comment! |
panteliselef
left a comment
There was a problem hiding this comment.
This UX feels bad, can we disable the toggle when a subscription for the plan exists ?
https://github.com/user-attachments/assets/e2fe4a90-0e76-4a20-aec1-102547708dff
aeliox
commented
May 29, 2025
Yeah I really dislike the current UX – it confusing conflates the concept of a plan a subscription. But this will 1) bring the drawer closer to parity with the PricingTable plan card logic and 2) be entirely replaced when we split the component out into two. |
panteliselef
left a comment
There was a problem hiding this comment.
I don't want to delay this any longer, but I think it would be best to add an e2e test that checks for the period toggle behaviour.
| <Drawer.Content> | ||
| <PlanDetailsInternal {...props} /> | ||
| </Drawer.Content> |
Description
Update
PlanDetailsto behave similarly to the plan cards used in the PricingTable.Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change