Skip to content

Commit 0c5ffbe

Browse files
committed
chore(whitelabeling): remove whitelabeling and its branding plumbing
1 parent 4c0ac32 commit 0c5ffbe

189 files changed

Lines changed: 535 additions & 3289 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude/rules/sim-styling.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The chip family is the canonical chrome: `ChipInput`, `ChipTextarea`, `ChipModal
9999
- **Errors** → `error` prop. Never `className={cn(err && 'border-[var(--text-error)]')}`.
100100
- **Leading icon** → `icon` prop (rendered 14px in `--text-icon`).
101101
- **Trailing buttons** (reveal/copy/fetch) → `endAdornment`.
102-
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only). See `ee/whitelabeling/components/whitelabeling-settings.tsx`.
102+
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only).
103103
- **`ChipModalField` controls take NO className.** Pass `title`/`value`/`onChange`/`error`/`hint`/`required`/`flush`. The field owns label, control, and error/hint rendering. See `app/workspace/[workspaceId]/skills/components/skill-modal/skill-modal.tsx`.
104104

105105
### What className MAY carry

‎.cursor/rules/sim-styling.mdc‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ The chip family is the canonical chrome: `ChipInput`, `ChipTextarea`, `ChipModal
9898
- **Errors** → `error` prop. Never `className={cn(err && 'border-[var(--text-error)]')}`.
9999
- **Leading icon** → `icon` prop (rendered 14px in `--text-icon`).
100100
- **Trailing buttons** (reveal/copy/fetch) → `endAdornment`.
101-
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only). See `ee/whitelabeling/components/whitelabeling-settings.tsx`.
101+
- **Inner-input styling** (e.g. `font-mono`, number-spinner reset) → `inputClassName` (ChipInput only).
102102
- **`ChipModalField` controls take NO className.** Pass `title`/`value`/`onChange`/`error`/`hint`/`required`/`flush`. The field owns label, control, and error/hint rendering. See `app/workspace/[workspaceId]/skills/components/skill-modal/skill-modal.tsx`.
103103

104104
### What className MAY carry

‎apps/docs/content/docs/platform/enterprise/index.mdx‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enterprise
33
description: Configure organization access, provisioning, security, and operations
44
---
55

6-
Sim Enterprise adds controls for organization access, member provisioning, security, operations, and branding. On Sim Cloud, these features require an Enterprise subscription. Organization owners and admins manage organization controls in **Settings → Organization**.
6+
Sim Enterprise adds controls for organization access, member provisioning, security, and operations. On Sim Cloud, these features require an Enterprise subscription. Organization owners and admins manage organization controls in **Settings → Organization**.
77

88
| Feature | Use it to |
99
| --- | --- |
@@ -19,7 +19,6 @@ Sim Enterprise adds controls for organization access, member provisioning, secur
1919
| [Data drains](/platform/enterprise/data-drains) | Export logs and Chat records to your own destination |
2020
| [Custom blocks](/platform/enterprise/custom-blocks) | Share a workflow as a block across the organization |
2121
| [Workspace forks](/platform/enterprise/forks) | Copy a workspace and sync deployed workflow changes |
22-
| [White-labeling](/platform/enterprise/whitelabeling) | Configure organization branding |
2322

2423
## Self-hosted setup
2524

‎apps/docs/content/docs/platform/enterprise/meta.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"audit-logs",
1414
"usage-tracking",
1515
"data-retention",
16-
"data-drains",
17-
"whitelabeling"
16+
"data-drains"
1817
],
1918
"defaultOpen": false
2019
}

‎apps/docs/content/docs/platform/enterprise/self-hosted.mdx‎

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { Callout } from '@/components/ui/callout'
77
import { Step, Steps } from '@/components/ui/steps'
88
import { Tab, Tabs } from '@/components/ui/tabs'
99

10-
On a self-hosted deployment with billing disabled, enable enterprise features through environment variables. Then create an organization and attach its workspaces: branding, PII redaction, permission groups, custom blocks, data drains, and organization audit scope depend on the organization that owns a workspace.
10+
On a self-hosted deployment with billing disabled, enable enterprise features through environment variables. Then create an organization and attach its workspaces: PII redaction, permission groups, custom blocks, data drains, and organization audit scope depend on the organization that owns a workspace.
1111

1212
This guide covers the standard billing-disabled configuration. If billing is enabled, subscription gates apply and instance-organization variables are ignored.
1313

@@ -144,15 +144,7 @@ curl "https://sim.example.com/api/v1/admin/dashboard/workspaces/$WORKSPACE_ID/mo
144144

145145
Use the Settings UI or these API requests:
146146

147-
<Tabs items={['Branding', 'Data retention', 'Session policy']}>
148-
<Tab value="Branding">
149-
```bash
150-
curl -X PATCH https://sim.example.com/api/v1/admin/organizations/$ORG_ID/whitelabel \
151-
-H "x-admin-key: $ADMIN_API_KEY" \
152-
-H "Content-Type: application/json" \
153-
-d '{"brandName": "Acme AI", "hidePoweredBySim": true}'
154-
```
155-
</Tab>
147+
<Tabs items={['Data retention', 'Session policy']}>
156148
<Tab value="Data retention">
157149
```bash
158150
curl -X PATCH https://sim.example.com/api/v1/admin/organizations/$ORG_ID/data-retention \
@@ -244,7 +236,7 @@ OAuth token cleanup removes expired and revoked credentials independently of sig
244236

245237
## Feature flag reference
246238

247-
Explicit individual flags override the master switch, including when set to `false`. With billing disabled and no enterprise flags set, custom branding, session policies, and the Sim Mailer inbox remain enabled by default. Other features require opt-in.
239+
Explicit individual flags override the master switch, including when set to `false`. With billing disabled and no enterprise flags set, session policies and the Sim Mailer inbox remain enabled by default. Other features require opt-in.
248240

249241
| Feature | Server variable | Browser variable |
250242
| --- | --- | --- |
@@ -253,7 +245,6 @@ Explicit individual flags override the master switch, including when set to `fal
253245
| Permission groups | `ACCESS_CONTROL_ENABLED` | `NEXT_PUBLIC_ACCESS_CONTROL_ENABLED` |
254246
| SAML and OIDC sign-in | `SSO_ENABLED` | `NEXT_PUBLIC_SSO_ENABLED` |
255247
| Directory provisioning | `SCIM_ENABLED` | `NEXT_PUBLIC_SCIM_ENABLED` |
256-
| Custom branding — enabled by default | `WHITELABELING_ENABLED` | `NEXT_PUBLIC_WHITELABELING_ENABLED` |
257248
| Audit logs | `AUDIT_LOGS_ENABLED` | `NEXT_PUBLIC_AUDIT_LOGS_ENABLED` |
258249
| Insights | `USAGE_MONITORING_ENABLED` | `NEXT_PUBLIC_USAGE_MONITORING_ENABLED` |
259250
| Custom blocks | `CUSTOM_BLOCKS_ENABLED` | `NEXT_PUBLIC_CUSTOM_BLOCKS_ENABLED` |
@@ -289,7 +280,7 @@ To inspect workspace ownership:
289280
SELECT id, name, workspace_mode, organization_id FROM workspace;
290281
```
291282

292-
A workspace with `personal` mode or a null `organization_id` does not inherit organization branding, PII redaction, permission groups, or drains.
283+
A workspace with `personal` mode or a null `organization_id` does not inherit organization PII redaction, permission groups, or drains.
293284

294285
## Related docs
295286

‎apps/docs/content/docs/platform/enterprise/whitelabeling.mdx‎

Lines changed: 0 additions & 117 deletions
This file was deleted.

‎apps/docs/content/docs/platform/self-hosting/index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ ENTERPRISE_ENABLED=true
7878
NEXT_PUBLIC_ENTERPRISE_ENABLED=true
7979
```
8080

81-
Organizations, SSO, permission groups, audit logs, whitelabeling, session policies, retention, and data drains also need their feature-specific configuration. Most read settings from the organization that owns a workspace. Enabling the suite can enable retention processing; review the configured policy before turning it on.
81+
Organizations, SSO, permission groups, audit logs, session policies, retention, and data drains also need their feature-specific configuration. Most read settings from the organization that owns a workspace. Enabling the suite can enable retention processing; review the configured policy before turning it on.
8282

8383
See [Self-hosted enterprise features](/platform/enterprise/self-hosted) for organization setup, per-feature flags, and billing-enabled differences.
8484

‎apps/docs/lib/redirects.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,12 @@ const PATH_REDIRECTS: DocsRedirect[] = [
113113
// copilot deprecated and removed
114114
{ source: '/copilot', destination: '/chat', permanent: true },
115115
{ source: '/copilot/:path*', destination: '/chat', permanent: true },
116+
// white-labeling removed
117+
{
118+
source: '/platform/enterprise/whitelabeling',
119+
destination: '/platform/enterprise',
120+
permanent: true,
121+
},
116122
// mothership/* renamed to chat/* — the surface is "Chat", the agent is "Sim"
117123
{ source: '/mothership', destination: '/chat', permanent: true },
118124
{ source: '/mothership/:path*', destination: '/chat/:path*', permanent: true },

‎apps/docs/scripts/fixtures/content-baseline.json‎

Lines changed: 1 addition & 119 deletions
Original file line numberDiff line numberDiff line change
@@ -169941,7 +169941,6 @@
169941169941
"/platform/enterprise/data-drains",
169942169942
"/platform/enterprise/custom-blocks",
169943169943
"/platform/enterprise/forks",
169944-
"/platform/enterprise/whitelabeling",
169945169944
"/platform/enterprise/self-hosted"
169946169945
],
169947169946
"media": []
@@ -171057,13 +171056,6 @@
171057171056
"bytes": 179,
171058171057
"line": 132
171059171058
},
171060-
{
171061-
"lang": "bash",
171062-
"meta": null,
171063-
"sha256": "5f943c8dc3ae17edeee35961bc6c1c53d8b2f5cb9b1100941cb813c552358c34",
171064-
"bytes": 220,
171065-
"line": 145
171066-
},
171067171059
{
171068171060
"lang": "bash",
171069171061
"meta": null,
@@ -171750,115 +171742,6 @@
171750171742
}
171751171743
]
171752171744
},
171753-
{
171754-
"source": "platform/enterprise/whitelabeling.mdx",
171755-
"url": "/platform/enterprise/whitelabeling",
171756-
"sha256": "a159e4c7f51e4110cb75bcf01107c0cf36c35bdb6d2377476986dcec5ad6414e",
171757-
"bytes": 5696,
171758-
"frontmatter": {
171759-
"title": "White-labeling",
171760-
"description": "Set organization branding or a self-hosted deployment's default identity, colors, and links"
171761-
},
171762-
"headings": [
171763-
{
171764-
"title": "Configure organization branding",
171765-
"url": "#configure-organization-branding",
171766-
"depth": 2
171767-
},
171768-
{
171769-
"title": "Identity",
171770-
"url": "#identity",
171771-
"depth": 3
171772-
},
171773-
{
171774-
"title": "Colors",
171775-
"url": "#colors",
171776-
"depth": 3
171777-
},
171778-
{
171779-
"title": "Links",
171780-
"url": "#links",
171781-
"depth": 3
171782-
},
171783-
{
171784-
"title": "Scope and fallback",
171785-
"url": "#scope-and-fallback",
171786-
"depth": 2
171787-
},
171788-
{
171789-
"title": "Instance-wide branding",
171790-
"url": "#instance-wide-branding",
171791-
"depth": 2
171792-
},
171793-
{
171794-
"title": "Identity variables",
171795-
"url": "#identity-variables",
171796-
"depth": 3
171797-
},
171798-
{
171799-
"title": "Color variables",
171800-
"url": "#color-variables",
171801-
"depth": 3
171802-
},
171803-
{
171804-
"title": "Link variables",
171805-
"url": "#link-variables",
171806-
"depth": 3
171807-
},
171808-
{
171809-
"title": "Serve assets on Kubernetes",
171810-
"url": "#serve-assets-on-kubernetes",
171811-
"depth": 3
171812-
},
171813-
{
171814-
"title": "Related docs",
171815-
"url": "#related-docs",
171816-
"depth": 2
171817-
}
171818-
],
171819-
"explicitIds": [],
171820-
"imports": [],
171821-
"components": [],
171822-
"expressions": [],
171823-
"codeFences": [
171824-
{
171825-
"lang": "bash",
171826-
"meta": null,
171827-
"sha256": "8e80f47a93dcce528eb103fa840efe537ec09a49a2866f2848cfca56b0f4d219",
171828-
"bytes": 227,
171829-
"line": 56
171830-
},
171831-
{
171832-
"lang": "bash",
171833-
"meta": null,
171834-
"sha256": "4913154073ff05d86b2a8aee6597f8822ad68280ac52c4d619e447c2bfba4095",
171835-
"bytes": 222,
171836-
"line": 68
171837-
},
171838-
{
171839-
"lang": "bash",
171840-
"meta": null,
171841-
"sha256": "b4a7bebd4c1cd1a2bbe88a2c7941e44688512aa8e0695032868cb7ac9484548e",
171842-
"bytes": 188,
171843-
"line": 80
171844-
},
171845-
{
171846-
"lang": "yaml",
171847-
"meta": null,
171848-
"sha256": "e9721cad54b2890cb2e9598b82ac45dd7e5e7f95fdd8c729d7c9e5fa1f09067d",
171849-
"bytes": 287,
171850-
"line": 93
171851-
}
171852-
],
171853-
"links": [
171854-
"#instance-wide-branding",
171855-
"/platform/enterprise/self-hosted",
171856-
"/platform/enterprise/self-hosted",
171857-
"/platform/self-hosting/kubernetes",
171858-
"/platform/self-hosting/security"
171859-
],
171860-
"media": []
171861-
},
171862171745
{
171863171746
"source": "platform/organization.mdx",
171864171747
"url": "/platform/organization",
@@ -232204,8 +232087,7 @@
232204232087
"audit-logs",
232205232088
"usage-tracking",
232206232089
"data-retention",
232207-
"data-drains",
232208-
"whitelabeling"
232090+
"data-drains"
232209232091
],
232210232092
"defaultOpen": false
232211232093
},

0 commit comments

Comments
 (0)