René's URL Explorer Experiment


Title: improvement(whitelabeling): gate the settings page on the whitelabel read's entitlement by waleedlatif1 · Pull Request #8451 · simstudioai/sim · GitHub

Open Graph Title: improvement(whitelabeling): gate the settings page on the whitelabel read's entitlement by waleedlatif1 · Pull Request #8451 · simstudioai/sim

X Title: improvement(whitelabeling): gate the settings page on the whitelabel read's entitlement by waleedlatif1 · Pull Request #8451 · simstudioai/sim

Description: Summary The whitelabeling settings page blocked on the full organization billing read (the member page plus every member's usage for the period) only to read the plan name, so it was the slowest settings section to open The whitelabel GET now also returns isEnterprise, which is the same entitlement check the update enforces. This matches how the session-policy and data-retention reads already work. The page gates on that field and makes no billing request, and the workspace branding provider usually has this read cached already The gate now matches what saving allows. The server page gate only checks the plan on hosted deployments, so with self-hosted billing a team-plan org previously saw the form and then got a 403 on save. It now sees the Enterprise-only message The change is additive, so it is safe across a deploy: isEnterprise sits beside data, not inside it. A client from before this field parses the same settings, so branding keeps its theme and the form never loads empty The Copilot settings tool still returns the flat settings object it returned before Type of Change Improvement Testing E2E against a production build with 80 ms network latency and billing enabled: Enterprise org, sidebar navigation: the form renders in 138–167 ms, down from 240–360 ms, with 0 billing requests Enterprise org, direct load: the form renders and the org theme is still injected Team-plan org: the Enterprise-only message shows with no form, and PUT still returns 403 Old-client compat check: the previous response schema still parses the settings from the new response bun run lint, type-check, check:audits, docs-manifest:check, block registry check 52 test files (419 tests) across whitelabeling, organizations, settings, the Copilot settings tool and the organization routes Checklist Code follows project style guidelines Self-reviewed my changes Tests added/updated and passing (new tests pass the test-audit authoring gate) No new warnings introduced I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

Open Graph Description: Summary The whitelabeling settings page blocked on the full organization billing read (the member page plus every member's usage for the period) only to read the plan name, so it was the slowe...

X Description: Summary The whitelabeling settings page blocked on the full organization billing read (the member page plus every member's usage for the period) only to read the plan name, so it was the s...

Opengraph URL: https://github.com/simstudioai/sim/pull/8451

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:6d425a13-6a9b-5eb0-e22c-7a6987a8c25f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDA04:330459:903142:CCA163:6AFB5164
html-safe-noncee7c2e4cdf928c1a6688d8c5cadedd1f51bd353cf526e2bb8fecb3eed8788038c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTA0OjMzMDQ1OTo5MDMxNDI6Q0NBMTYzOjZBRkI1MTY0IiwidmlzaXRvcl9pZCI6IjU5Mzg5NjgzNDA3NTQ4MTMyODUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac8344ab53ba7ce2b6402b33477fc69926015d30cb6a6668db8d670f7a2aa52900
hovercard-subject-tagpull_request:4686371510
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///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/simstudioai/sim/pull/8451/files
twitter:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/40672544?s=400&v=4
og:image:altSummary The whitelabeling settings page blocked on the full organization billing read (the member page plus every member's usage for the period) only to read the plan name, so it was the slowe...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None7122bb414b542dba14d71a3f0b9f6fd2abce715b9f5912d082800563e6c806d1
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/simstudioai/sim git https://github.com/simstudioai/sim.git
octolytics-dimension-user_id199344406
octolytics-dimension-user_loginsimstudioai
octolytics-dimension-repository_id912559512
octolytics-dimension-repository_nwosimstudioai/sim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id912559512
octolytics-dimension-repository_network_root_nwosimstudioai/sim
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasecbf66c024bb6d10e6955baa7413c54cf13a201bb
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/simstudioai/sim/pull/8451/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsimstudioai%2Fsim%2Fpull%2F8451%2Ffiles
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%2Fsimstudioai%2Fsim%2Fpull%2F8451%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=simstudioai%2Fsim
Reloadhttps://github.com/simstudioai/sim/pull/8451/files
Reloadhttps://github.com/simstudioai/sim/pull/8451/files
Reloadhttps://github.com/simstudioai/sim/pull/8451/files
simstudioaihttps://github.com/simstudioai
simhttps://github.com/simstudioai/sim
Codehttps://github.com/simstudioai/sim
Issues129 (129)https://github.com/simstudioai/sim/issues
Pull requests197 (197)https://github.com/simstudioai/sim/pulls
Actionshttps://github.com/simstudioai/sim/actions
Projectshttps://github.com/simstudioai/sim/projects
Security and qualityhttps://github.com/simstudioai/sim/security
Insightshttps://github.com/simstudioai/sim/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsimstudioai%2Fsim%2Fissues%2Fnew%2Fchoose
waleedlatif1https://github.com/waleedlatif1
staginghttps://github.com/simstudioai/sim/tree/staging
improvement/whitelabeling-settings-loadhttps://github.com/simstudioai/sim/tree/improvement/whitelabeling-settings-load
Conversation 14 https://github.com/simstudioai/sim/pull/8451
Commits 2 https://github.com/simstudioai/sim/pull/8451/commits
Checks 31 https://github.com/simstudioai/sim/pull/8451/checks
Files changed https://github.com/simstudioai/sim/pull/8451/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
improvement(whitelabeling): gate the settings page on the whitelabel read's entitlement https://github.com/simstudioai/sim/pull/8451/files#top
Show all changes 2 commits https://github.com/simstudioai/sim/pull/8451/files
fdfffce improvement(whitelabeling): gate the settings page on the whitelabel … waleedlatif1 Sep 30, 2026 https://github.com/simstudioai/sim/pull/8451/commits/fdfffce2e72f2af0e6138cc4782e9e151edc5037
104f2a6 fix(whitelabeling): parse the whitelabel read from a server that pred… waleedlatif1 Sep 30, 2026 https://github.com/simstudioai/sim/pull/8451/commits/104f2a686641c315007fbfbce3f3006459178721
Clear filters https://github.com/simstudioai/sim/pull/8451/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
route.ts https://github.com/simstudioai/sim/pull/8451/files#diff-b7657ce908912e1693eba5380b33bd8bc086d909ead3fd2242c7584698bdc861
branding-provider.tsx https://github.com/simstudioai/sim/pull/8451/files#diff-1ea83eaea685719a9e16dedc66e994a5dd9b62a50fa9a90e98a8b62e238ccf61
whitelabeling-settings.tsx https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
whitelabel.ts https://github.com/simstudioai/sim/pull/8451/files#diff-aa852bf4e79b55f6242d4b485e44f82bf2100044fb57026d2fc20d8e3ca41d53
organization.ts https://github.com/simstudioai/sim/pull/8451/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc
settings.ts https://github.com/simstudioai/sim/pull/8451/files#diff-937c1423e46b2ff8cd267ac175d286db206e43ecb6081f1dd7e3698e6dfe8891
configuration.test.ts https://github.com/simstudioai/sim/pull/8451/files#diff-c089dc3578910e8a4dbe9052eb85760a02b53bea2c07e03f34fdd6956ed1c099
configuration.ts https://github.com/simstudioai/sim/pull/8451/files#diff-79d1d3cdf4461327d5cc2b40b45c7f0d6806aa157185468eb1864ab5ca5125fc
apps/sim/app/api/organizations/[id]/whitelabel/route.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-b7657ce908912e1693eba5380b33bd8bc086d909ead3fd2242c7584698bdc861
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/app/api/organizations/%5Bid%5D/whitelabel/route.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-b7657ce908912e1693eba5380b33bd8bc086d909ead3fd2242c7584698bdc861
https://github.com/simstudioai/sim/pull/8451/files#diff-b7657ce908912e1693eba5380b33bd8bc086d909ead3fd2242c7584698bdc861
apps/sim/ee/whitelabeling/components/branding-provider.tsxhttps://github.com/simstudioai/sim/pull/8451/files#diff-1ea83eaea685719a9e16dedc66e994a5dd9b62a50fa9a90e98a8b62e238ccf61
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/ee/whitelabeling/components/branding-provider.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-1ea83eaea685719a9e16dedc66e994a5dd9b62a50fa9a90e98a8b62e238ccf61
https://github.com/simstudioai/sim/pull/8451/files#diff-1ea83eaea685719a9e16dedc66e994a5dd9b62a50fa9a90e98a8b62e238ccf61
apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsxhttps://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/ee/whitelabeling/components/whitelabeling-settings.tsx
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
https://github.com/simstudioai/sim/pull/8451/files#diff-c2c6c93b98cc4b0aae84382ed1d8c5e5ae01276bc0cd8b62ae4d73400c196af5
apps/sim/ee/whitelabeling/hooks/whitelabel.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-aa852bf4e79b55f6242d4b485e44f82bf2100044fb57026d2fc20d8e3ca41d53
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/ee/whitelabeling/hooks/whitelabel.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-aa852bf4e79b55f6242d4b485e44f82bf2100044fb57026d2fc20d8e3ca41d53
https://github.com/simstudioai/sim/pull/8451/files#diff-aa852bf4e79b55f6242d4b485e44f82bf2100044fb57026d2fc20d8e3ca41d53
apps/sim/lib/api/contracts/organization.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/lib/api/contracts/organization.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc
https://github.com/simstudioai/sim/pull/8451/files#diff-589c92452da41752ecc4e89e1da6948c485eb8dbf0da7b924126e46eb18f08bc
apps/sim/lib/mothership/tools/server/settings.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-937c1423e46b2ff8cd267ac175d286db206e43ecb6081f1dd7e3698e6dfe8891
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/lib/mothership/tools/server/settings.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-937c1423e46b2ff8cd267ac175d286db206e43ecb6081f1dd7e3698e6dfe8891
https://github.com/simstudioai/sim/pull/8451/files#diff-937c1423e46b2ff8cd267ac175d286db206e43ecb6081f1dd7e3698e6dfe8891
apps/sim/lib/organizations/application/configuration.test.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-c089dc3578910e8a4dbe9052eb85760a02b53bea2c07e03f34fdd6956ed1c099
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/lib/organizations/application/configuration.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-c089dc3578910e8a4dbe9052eb85760a02b53bea2c07e03f34fdd6956ed1c099
https://github.com/simstudioai/sim/pull/8451/files#diff-c089dc3578910e8a4dbe9052eb85760a02b53bea2c07e03f34fdd6956ed1c099
apps/sim/lib/organizations/application/configuration.tshttps://github.com/simstudioai/sim/pull/8451/files#diff-79d1d3cdf4461327d5cc2b40b45c7f0d6806aa157185468eb1864ab5ca5125fc
View file https://github.com/simstudioai/sim/blob/104f2a686641c315007fbfbce3f3006459178721/apps/sim/lib/organizations/application/configuration.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/simstudioai/sim/pull/8451/{{ revealButtonHref }}
https://github.com/simstudioai/sim/pull/8451/files#diff-79d1d3cdf4461327d5cc2b40b45c7f0d6806aa157185468eb1864ab5ca5125fc
https://github.com/simstudioai/sim/pull/8451/files#diff-79d1d3cdf4461327d5cc2b40b45c7f0d6806aa157185468eb1864ab5ca5125fc
Please reload this pagehttps://github.com/simstudioai/sim/pull/8451/files
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.