You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Document titles show "Tale" instead of the organization name (late client-side patch) #2373
Meta/tab titles show "Tale" where the organization name belongs. "Tale" should only be the logged-out/no-branding fallback.
Verified live 2026-07-02 (org with default name "QA Guides Org"): on a hard reload of the chat route the tab title goes "Chat - QA Guides Org" → "Tale" (413ms) → "Chat - Tale" (843ms) → "Chat - QA Guides Org" (1805ms) — nearly 2s of wrong suffix on a warm local stack. Some surfaces stay wrong even longer mid-session: navigating to an automation or agent editor showed "Automation - Tale", "Agent settings - Tale", "Agent webhooks - Tale" until their data landed.
Current behavior
services/platform/lib/utils/seo.ts:26-29 — seo() composes "<title> - <suffix>" where the suffix is the static i18n string "Tale" (metadata namespace); every route's head: uses this.
services/platform/app/components/branding/branding-provider.tsx:88-116 — an effect + MutationObserver string-replaces the trailing - Tale in document.title with the org's customNameafter branding data loads (DEFAULT_TITLE_SUFFIX = 'Tale', line 46).
Proposed change
Compose the title suffix from the branding/org context at the route head/seo() level (org name once known, "Tale" only when logged out or branding absent), instead of post-patching document.title via MutationObserver. Cache the last-known org name (e.g. alongside the bootstrap/session cache) so reloads render the correct suffix immediately.
Acceptance criteria
After login, no route ever renders a "- Tale" title for an org with a name (verified by polling document.title through a hard reload).
Logged-out routes keep "Tale".
The MutationObserver patch in branding-provider.tsx is removed.
Activity
fix(platform): compose doc title suffix from org name (#2373) (#2465)