Skip to content

chore(whitelabeling): remove whitelabeling and its branding plumbing - #10246

Merged
waleedlatif1 merged 2 commits into
stagingfrom
chore/remove-whitelabeling
Nov 20, 2026
Merged

waleedlatif1 merged 2 commits into
stagingfrom
chore/remove-whitelabeling

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Remove whitelabeling end to end: instance branding env vars (NEXT_PUBLIC_BRAND_*, custom CSS, support/docs/terms/privacy URLs), org-level branding settings, and the WHITELABELING_ENABLED flag pair
  • Delete ee/whitelabeling, BrandedLayout, the BrandingProvider, theme CSS injection, and the org/admin /whitelabel routes, contracts, use cases, and Copilot organization/whitelabeling setting
  • Drop the Branding settings section, the whitelabeling deployment feature/entitlement, brand origins in the CSP, next.config image hosts, and the now-dead color contrast helpers
  • Emails, auth shell, chat/file viewers, loading shell, manifest, and root metadata render Sim directly; support links use a single SUPPORT_EMAIL constant
  • Custom blocks without an icon fall back to the default glyph instead of the org logo
  • Admin workspace move no longer computes or reports brandingChanges; storage sweep stops scanning whitelabel_settings
  • Helm: remove the branding ConfigMap, volume wiring, brand env values/defaults, and the whitelabeled example; chart 1.12.0. branding stays accepted (ignored) in the schema so values files copied from older charts still validate
  • Docs: delete the white-labeling page (redirects to /platform/enterprise), clean enterprise/self-hosted docs, .env.example, sim-setup flag twins, comparisons row, and library/blog claims
  • organization.whitelabel_settings is left in the schema on purpose; drop it in a follow-up contract migration once this is deployed

Type of Change

  • Chore / removal

Testing

  • Vitest: configuration.test.ts, workspace layout.test.tsx, csp.test.ts, admin-move.test.ts, admin-move-source-impact.test.ts, enterprise-entitlements.test.ts, navigation.test.ts, workspace-section-access.test.ts, workspace-permissions.test.ts, settings page.test.tsx
  • biome on changed files; regenerated agent-stream-docs, docs-manifest, tool-metadata, skills
  • check:source-conventions, check:library-content, check:docs-manifest, check:client-boundary, check:api-validation:strict, check:comment-hygiene, check:guidance-refs, check:file-names
  • Full type-check, check:audits, and test suite left to CI

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)

@vercel

vercel Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
docs Ignored Ignored Preview Nov 20, 2026 7:09pm UTC

Request Review

@greptile-apps

greptile-apps Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; no new blocking issue was found.

Summary

Removes white-label settings, branding code, related routes, and deployment options. Pages and emails now use Sim directly.

  • App pages and emails now show Sim branding and support details.
  • Organization branding settings and their app and admin APIs are removed.
  • Self-hosted installs no longer configure or mount custom brand assets.
  • Workspace moves no longer check or report organization branding changes.
  • Enterprise and marketing pages no longer describe white-labeling as a Sim feature.
  • Custom blocks without uploaded icons now show a default glyph.

Reviews (2) · Last reviewed commit: "fix(whitelabeling): complete session pol..." · Reviewed by Greptile

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

All reported issues were addressed across 189 files

Reply with feedback, questions, or to request a fix.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cubic-dev-ai review this PR

@cubic-dev-ai

cubic-dev-ai Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

@cubic-dev-ai review this PR

@waleedlatif1 I have started the AI code review. It will take a few minutes to complete.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

No issues found across 190 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Turn on auto-fix | Re-trigger cubic

@waleedlatif1
waleedlatif1 merged commit c34a82f into staging Nov 20, 2026
79 checks passed
@waleedlatif1
waleedlatif1 deleted the chore/remove-whitelabeling branch November 20, 2026 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant