René's URL Explorer Experiment


Title: fix(ui): Factor in isDefault into isSwitchable by dstaley · Pull Request #8077 · clerk/javascript · GitHub

Open Graph Title: fix(ui): Factor in isDefault into isSwitchable by dstaley · Pull Request #8077 · clerk/javascript

X Title: fix(ui): Factor in isDefault into isSwitchable by dstaley · Pull Request #8077 · clerk/javascript

Description: Official JavaScript repository for Clerk authentication - fix(ui): Factor in isDefault into isSwitchable by dstaley · Pull Request #8077 · clerk/javascript

Open Graph Description: Description This PR fixes an issue where the Switch to annual button was being rendered for default plans. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSD...

X Description: Description This PR fixes an issue where the Switch to annual button was being rendered for default plans. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSD...

Opengraph URL: https://github.com/clerk/javascript/pull/8077

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:a88ad377-eda5-bdb2-7be6-803f4f3bde50
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDCB2:144D5F:105FB0A:16B7BDC:6AFACEF3
html-safe-nonced48797c69af0b86df2efbda883505ffb164881a67490e6b0cd9eb41be0402992
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0IyOjE0NEQ1RjoxMDVGQjBBOjE2QjdCREM6NkFGQUNFRjMiLCJ2aXNpdG9yX2lkIjoiNjU5ODk1MzU0MTEwNjg0NzQ3NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmaca28bbd739c2fbfd92c43f798da6eac904d464c55128a7e222fe4d5b0af4834e8
hovercard-subject-tagpull_request:3396780072
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/clerk/javascript/8077/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/0a8173edf4fccd9b442d0ef3f419dfeef7e4e16248f3d4d9f7db06273473e0e5/clerk/javascript/pull/8077
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0a8173edf4fccd9b442d0ef3f419dfeef7e4e16248f3d4d9f7db06273473e0e5/clerk/javascript/pull/8077
og:image:altDescription This PR fixes an issue where the Switch to annual button was being rendered for default plans. Checklist pnpm test runs as expected. pnpm build runs as expected. (If applicable) JSD...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamedstaley
hostnamegithub.com
expected-hostnamegithub.com
Noneaa0433de2f392a016f21549c10194a963f65b58eb02faea3916953819b623290
turbo-cache-controlno-cache
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebe9dc02df8087c7449fb60a416e138c34108ed94
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/clerk/javascript/pull/8077#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/pull/8077
Reloadhttps://github.com/clerk/javascript/pull/8077
Reloadhttps://github.com/clerk/javascript/pull/8077
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues44 (44)https://github.com/clerk/javascript/issues
Pull requests112 (112)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
dstaleyhttps://github.com/dstaley
mainhttps://github.com/clerk/javascript/tree/main
ds.fix/isdefault-isswitchablehttps://github.com/clerk/javascript/tree/ds.fix/isdefault-isswitchable
Conversationhttps://github.com/clerk/javascript/pull/8077
Commits1 (1)https://github.com/clerk/javascript/pull/8077/commits
Checkshttps://github.com/clerk/javascript/pull/8077/checks
Files changedhttps://github.com/clerk/javascript/pull/8077/files
fix(ui): Factor in isDefault into isSwitchablehttps://github.com/clerk/javascript/pull/8077#top
dstaleyhttps://github.com/dstaley
mainhttps://github.com/clerk/javascript/tree/main
ds.fix/isdefault-isswitchablehttps://github.com/clerk/javascript/tree/ds.fix/isdefault-isswitchable
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#issue-4073048563
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
JSDoc commentshttps://jsdoc.app/about-getting-started.html
Documentationhttps://github.com/clerk/clerk-docs
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/dstaley
fix(ui): Factor in isDefault into isSwitchablehttps://github.com/clerk/javascript/pull/8077/commits/93454b19109ca555bd4468a5ce7b75a822cdaf9b
93454b1https://github.com/clerk/javascript/pull/8077/commits/93454b19109ca555bd4468a5ce7b75a822cdaf9b
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
March 13, 2026 19:39https://github.com/clerk/javascript/pull/8077#event-23557941909
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#issuecomment-4057534664
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
Vercel for GitHubhttps://vercel.link/github-learn-more
clerk-js-sandboxhttps://vercel.com/clerk-production/clerk-js-sandbox
https://camo.githubusercontent.com/833ba95642364322d56bfc6cc95692affdd7a5a6ca7b50fdcc44aa7e47372d3b/68747470733a2f2f76657263656c2e636f6d2f7374617469632f7374617475732f72656164792e737667
Readyhttps://vercel.com/clerk-production/clerk-js-sandbox/82yN9VZ62jhheHLU5nHbnG6JpkDS
Previewhttps://clerk-js-sandbox-git-dsfix-isdefault-isswitchable.clerkstage.dev
Commenthttps://vercel.live/open-feedback/clerk-js-sandbox-git-dsfix-isdefault-isswitchable.clerkstage.dev?via=pr-comment-feedback-link
https://vercel.com/vercel-agent/request-review?owner=clerk&repo=javascript&pr=8077
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/apps/changeset-bot
changeset-bothttps://github.com/apps/changeset-bot
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#issuecomment-4057534750
93454b1https://github.com/clerk/javascript/commit/93454b19109ca555bd4468a5ce7b75a822cdaf9b
Click here to learn what changesets arehttps://github.com/changesets/changesets/blob/main/docs/adding-a-changeset.md
Click here if you're a maintainer who wants to add another changeset to this PRhttps://github.com/clerk/javascript/new/ds.fix/isdefault-isswitchable?filename=.changeset/stale-pandas-buy.md&value=---%0A%22%40clerk%2Fui%22%3A%20patch%0A---%0A%0Afix(ui)%3A%20Factor%20in%20isDefault%20into%20isSwitchable%0A
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
ui https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aui
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#event-23557946544
https://github.com/apps/vercel
vercelhttps://github.com/apps/vercel
deployedhttps://clerk-js-sandbox-cbk5edzi9.clerkstage.dev
Previewhttps://clerk-js-sandbox-cbk5edzi9.clerkstage.dev
March 13, 2026 19:40https://github.com/clerk/javascript/pull/8077#event-23557951005
View deploymenthttps://clerk-js-sandbox-cbk5edzi9.clerkstage.dev
https://github.com/aeliox
aelioxhttps://github.com/aeliox
Mar 13, 2026 https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946563962
View reviewed changes https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
https://github.com/apps/pkg-pr-new
pkg-pr-newhttps://github.com/apps/pkg-pr-new
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#issuecomment-4057547715
Open in StackBlitzhttps://pkg.pr.new/template/3212f032-faa5-4c39-ba15-ae02d2c7aaa5
93454b1https://github.com/clerk/javascript/runs/67009935275
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#issuecomment-4057552708
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Mar 13, 2026 https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946570102
View reviewed changes https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
coderabbitaihttps://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946570102
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
154eec9https://github.com/clerk/javascript/commit/154eec9eb9c320723f04f3ce2b8b0ada70f752bb
93454b1https://github.com/clerk/javascript/commit/93454b19109ca555bd4468a5ce7b75a822cdaf9b
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
packages/ui/src/components/SubscriptionDetails/index.tsxhttps://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b#diff-17e7a10c36a8d6f94b45dc3fae0240bdedcd8c0d01cb5a1f835c92130dbf1f20
coderabbitaihttps://github.com/apps/coderabbitai
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#discussion_r2933406404
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/l-armstrong
l-armstronghttps://github.com/l-armstrong
Mar 13, 2026 https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946600259
View reviewed changes https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
packages/ui/src/components/SubscriptionDetails/index.tsxhttps://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b#diff-17e7a10c36a8d6f94b45dc3fae0240bdedcd8c0d01cb5a1f835c92130dbf1f20
l-armstronghttps://github.com/l-armstrong
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#discussion_r2933429791
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
dstaleyhttps://github.com/dstaley
Mar 13, 2026https://github.com/clerk/javascript/pull/8077#discussion_r2933439022
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/l-armstrong
l-armstronghttps://github.com/l-armstrong
Mar 13, 2026 https://github.com/clerk/javascript/pull/8077#pullrequestreview-3946654743
View reviewed changes https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
ac2f1c1https://github.com/clerk/javascript/commit/ac2f1c1d9fb1b6cd46405895f8c7a2603adcaacf
Mar 18, 2026https://github.com/clerk/javascript/pull/8077#event-23697751875
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/dstaley
dstaleyhttps://github.com/dstaley
March 18, 2026 21:51https://github.com/clerk/javascript/pull/8077#event-23697752776
ci(repo): Version packages #8109 https://github.com/clerk/javascript/pull/8109
ci(repo): Version packages #8120 https://github.com/clerk/javascript/pull/8120
wobsorianohttps://github.com/wobsoriano
Mar 26, 2026 https://github.com/clerk/javascript/pull/8077#ref-commit-678fdbe
https://github.com/dstaley
https://github.com/wobsoriano
fix(ui): Factor in isDefault into isSwitchable (https://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be
#8077https://github.com/clerk/javascript/pull/8077
)https://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be
678fdbehttps://github.com/clerk/javascript/commit/678fdbee13c30b2cae94db1f794e8c82cc1df5be
Deployedhttps://clerk-js-sandbox-cbk5edzi9.clerkstage.dev
vercel[bot]https://github.com/apps/vercel
View deployment https://clerk-js-sandbox-cbk5edzi9.clerkstage.dev
https://github.co/hiddenchars
https://github.com/clerk/javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fpull%2F8077
https://github.com/apps/coderabbitai
coderabbitai[bot] https://github.com/apps/coderabbitai
https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
https://github.com/aeliox
aeliox https://github.com/aeliox
https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
https://github.com/l-armstrong
l-armstrong https://github.com/l-armstrong
https://github.com/clerk/javascript/pull/8077/files/93454b19109ca555bd4468a5ce7b75a822cdaf9b
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
ui https://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3Aui
Please reload this pagehttps://github.com/clerk/javascript/pull/8077
https://github.com/dstaley
https://github.com/aeliox
https://github.com/l-armstrong
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.