Skip to content

Conversation

@octoper
Copy link
Member

@octoper octoper commented May 6, 2025

Description

CleanShot 2025-05-07 at 14 23 40@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:

@changeset-bot
Copy link

changeset-bot bot commented May 6, 2025

🦋 Changeset detected

Latest commit: 155b55d

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

This PR includes changesets to release 4 packages
Name Type
@clerk/localizations Patch
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo 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 May 6, 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 May 8, 2025 7:49am

Comment on lines 311 to 313
Clerk.mountPricingTable(app, {
forOrganizations: true,
});
Copy link
Contributor

Choose a reason for hiding this comment

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

🧹

Copy link
Member Author

Choose a reason for hiding this comment

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

Will remove this too before merging

type="text/javascript"
src="/<%= htmlRspackPlugin.files.js[0] %>"
data-clerk-publishable-key="pk_test_dG91Y2hlZC1sYWR5YmlyZC0yMy5jbGVyay5hY2NvdW50cy5kZXYk"
data-clerk-publishable-key="pk_test_ZGV2b3RlZC15YWstMjkuY2xlcmsuYWNjb3VudHNzdGFnZS5kZXYk"
Copy link
Contributor

Choose a reason for hiding this comment

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

🪓

Copy link
Member Author

Choose a reason for hiding this comment

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

Left this for testing, will remove it before merge

@octoper octoper marked this pull request as ready for review May 6, 2025 08:43
}

if (isDisabled) {
return children;
Copy link
Member

Choose a reason for hiding this comment

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

Is the below condition not working properly ?

@octoper octoper marked this pull request as draft May 6, 2025 14:55
sx={{
width: '100%',
}}
isDisabled={canManageBilling}
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't the button have a isDisabled prop that we check for in the tooltip to handle wrapping with span to make it focusable?

Copy link
Member

Choose a reason for hiding this comment

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

Removed in favor of reading disabled from the child element which works from my testing. Let me know if I am missing something.

octoper and others added 6 commits May 7, 2025 14:01
…not have permissions to manage billing

# Conflicts:
#	packages/clerk-js/src/ui/components/OrganizationProfile/OrganizationBillingPage.tsx
#	packages/clerk-js/src/ui/components/PricingTable/PricingTableDefault.tsx
#	packages/localizations/src/en-US.ts
@octoper octoper force-pushed the vaggelis/add-tooltips-with-reason-if-no-permissions branch from d888c19 to c9cb7ad Compare May 7, 2025 11:01
@octoper octoper marked this pull request as ready for review May 7, 2025 11:35
@alexcarpenter alexcarpenter merged commit d81c1c1 into main May 8, 2025
32 checks passed
@alexcarpenter alexcarpenter deleted the vaggelis/add-tooltips-with-reason-if-no-permissions branch May 8, 2025 13:31
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.

7 participants