Follow-up to client testing on the flattened (sparse-checkout) structure. - icons.tsx: swap inline OnyxLogoTypeIcon SVG (error/health pages, craft) for the AIDO wordmark asset, via a new template + anchored, idempotent patch. - Notification bell content is backend-generated (official image, not rebuilt), so rebrand it at render time: generate lib/branding-runtime.ts from config and route the notifications hook through it — sanitize 'Onyx'->brand and suppress upstream/EE product notices (permissions-migration announcement, license/trial). - Repoint hardcoded Onyx links/emails: Discord, support@onyx.app, '@onyx.app administrators' (WebResultIcon hostname logic intentionally left untouched). - .gitignore: ignore generated /web/, /data/, .onyx-sparse-tmp/ so 'make setup' output can't be committed accidentally. - README + verify updated for the new touchpoints. Verified in the flattened layout: branded web image builds, 0 stray 'Onyx', and bundle greps confirm all leaks gone.
76 lines
3.8 KiB
JSON
76 lines
3.8 KiB
JSON
{
|
|
"$comment": "SINGLE SOURCE OF TRUTH for the Livtec / AIDO white-label of Onyx Community Edition. Edit values here, then run `node branding/apply-branding.mjs` and rebuild the web image. Values mirror the AIDO/Lobe white-label so the two products stay visually identical.",
|
|
|
|
"brand": {
|
|
"name": "AIDO",
|
|
"legalName": "Livtec AG",
|
|
"poweredByHtml": "Powered by Livtec",
|
|
"ogDescription": "Ein KI-Assistent, der genau auf Ihre Unternehmensdokumente abgestimmt ist."
|
|
},
|
|
|
|
"upstream": {
|
|
"$comment": "Pin the exact Onyx commit/tag this overlay was authored against. Bump together with branding.apply when upgrading. Used only for documentation/verification.",
|
|
"repo": "https://github.com/onyx-dot-app/onyx",
|
|
"pinnedCommit": "main",
|
|
"webSrcRoot": "web"
|
|
},
|
|
|
|
"assets": {
|
|
"$comment": "Remote source URLs are fetched at apply time into onyx/web/public/branding/. If a fetch fails (e.g. offline), the apply script keeps any existing committed file in branding/assets/ as a fallback.",
|
|
"mark": {
|
|
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/favicon_aido_48x48_rand.png",
|
|
"dest": "branding/mark.png",
|
|
"note": "Square symbol used as the in-app logo icon (sidebar, loaders, compact placements)."
|
|
},
|
|
"wordmark": {
|
|
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/aido_465x170.png",
|
|
"dest": "branding/wordmark.png",
|
|
"note": "Full lockup (symbol + AIDO text) used wherever the typed logo appears (auth screen, headers)."
|
|
},
|
|
"favicon": {
|
|
"url": "https://crm.livtec.cloud/hubfs/Logos/AIDO/favicon_aido.png",
|
|
"dest": "branding/favicon.png",
|
|
"note": "Browser tab icon. Replaces the default /onyx.ico reference."
|
|
}
|
|
},
|
|
|
|
"links": {
|
|
"$comment": "Maps Onyx's hardcoded link constants to Livtec destinations. DOCS_BASE_URL drives most in-app documentation links; deep sub-paths (e.g. /admins) consolidate to this root.",
|
|
"docsBaseUrl": "https://portal.livtec.cloud",
|
|
"website": "https://livtec.cloud/",
|
|
"help": "https://portal.livtec.cloud/",
|
|
"privacy": "https://livtec.cloud/terms/",
|
|
"terms": "https://livtec.cloud/terms/",
|
|
"blog": "https://livtec.cloud/blog/",
|
|
"changelog": "https://livtec.cloud/"
|
|
},
|
|
|
|
"emails": {
|
|
"business": "hello@livtec.cloud",
|
|
"support": "support@livtec.cloud"
|
|
},
|
|
|
|
"rename": {
|
|
"$comment": "Drives the user-visible string codemod. `word` replaces standalone, capitalised whole-word matches of \\bOnyx\\b only — camelCase identifiers (OnyxDocument, SvgOnyxLogo), lowercase package refs (@onyx, onyx.app, onyx.ico) are never touched. `literals` are exact-string replacements applied before the word pass for multi-word brand terms.",
|
|
"word": { "Onyx": "AIDO" },
|
|
"literals": {
|
|
"Open Source AI Platform": "Powered by Livtec",
|
|
"https://docs.onyx.app": "https://portal.livtec.cloud",
|
|
"https://www.onyx.app": "https://livtec.cloud",
|
|
"https://discord.gg/4NA5SbzrWb": "https://livtec.cloud/",
|
|
"support@onyx.app": "support@livtec.cloud",
|
|
"@onyx.app administrators": "@livtec.cloud administrators"
|
|
}
|
|
},
|
|
|
|
"notifications": {
|
|
"$comment": "The notification bell content is generated by the backend (official onyx-backend image we do NOT rebuild), so it is rebranded at render time in the web image. `sanitize` rewrites any 'Onyx' in a notification's title/description to the brand name. `suppressTypes` hides whole notification categories that are upstream/EE product messaging irrelevant to a white-labeled CE deployment (e.g. the permissions-migration announcement and license/trial warnings). Operational notifications (reindex, approvals, connector errors, scheduled tasks) are kept. Empty the list to show everything (still sanitized).",
|
|
"sanitize": true,
|
|
"suppressTypes": [
|
|
"feature_announcement",
|
|
"release_notes",
|
|
"license_expiry_warning",
|
|
"two_day_trial_ending"
|
|
]
|
|
}
|
|
}
|