Skip to content

fix(localizations,ui): Disable switch to plan button when over seat limit#8165

Merged
dstaley merged 2 commits intofeat/seat-based-billingfrom
ds.feat/sbb-disable-switch-plan-button
Mar 26, 2026
Merged

fix(localizations,ui): Disable switch to plan button when over seat limit#8165
dstaley merged 2 commits intofeat/seat-based-billingfrom
ds.feat/sbb-disable-switch-plan-button

Conversation

@dstaley
Copy link
Member

@dstaley dstaley commented Mar 25, 2026

Description

This PR disables the "Switch to plan" button on plans that have seat limits lower than the current organizations member+invitation count. It also renders a tooltip on the button when disabled indicating that the plan's limit is lower than the organization's member count.

CleanShot 2026-03-25 at 16 12 03@2x

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:

@dstaley dstaley requested a review from a team March 25, 2026 21:09
@vercel
Copy link

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
clerk-js-sandbox Ready Ready Preview, Comment Mar 25, 2026 9:18pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2026

⚠️ No Changeset found

Latest commit: 34ae21e

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

@dstaley dstaley merged commit d9234e5 into feat/seat-based-billing Mar 26, 2026
7 checks passed
@dstaley dstaley deleted the ds.feat/sbb-disable-switch-plan-button branch March 26, 2026 17:18
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.

2 participants