Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@aeliox
Copy link
Contributor

@aeliox aeliox commented Apr 11, 2025

Description

Updates PricingTable and SubscriptionDetailDrawer to handle upcoming and "expiring" subscriptions.

Also badges the default free plan as "active" when no other active subscriptions exist, and removes the CTA from the free plan.

Screenshot 2025-04-11 at 4 28 21 PM

Depends on https://github.com/clerk/clerk_go/pull/10961

Checklist

  • pnpm test runs as expected.
  • pnpm build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

@changeset-bot
Copy link

changeset-bot bot commented Apr 11, 2025

🦋 Changeset detected

Latest commit: b907369

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

This PR includes changesets to release 22 packages
Name Type
@clerk/localizations Patch
@clerk/clerk-js Patch
@clerk/types Patch
@clerk/clerk-react Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch
@clerk/agent-toolkit Patch
@clerk/astro Patch
@clerk/backend Patch
@clerk/elements Patch
@clerk/expo-passkeys Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/remix Patch
@clerk/shared Patch
@clerk/tanstack-react-start Patch
@clerk/testing Patch
@clerk/themes Patch
@clerk/vue 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 Apr 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
clerk-js-sandbox ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 15, 2025 9:16pm

) : (
<>
You can keep using &ldquo;{subscription.plan.name}&rdquo; features until{' '}
{formatDate(new Date(subscription.periodEnd))}, after which you will no longer have access.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest we simply localize this now, instead of later instead of patching things.

@aeliox aeliox merged commit f8887b2 into main Apr 16, 2025
30 checks passed
@aeliox aeliox deleted the keiran/com-409-upcoming-and-expiring-subscriptions branch April 16, 2025 00:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants