diff --git a/.changeset/web-static-page-title.md b/.changeset/web-static-page-title.md new file mode 100644 index 0000000000..3315db6fcb --- /dev/null +++ b/.changeset/web-static-page-title.md @@ -0,0 +1,5 @@ +--- +"@moonshot-ai/kimi-code": patch +--- + +Keep the web page title fixed instead of changing with the session or workspace name. diff --git a/apps/kimi-web/src/App.vue b/apps/kimi-web/src/App.vue index bb951ad8b8..367cfec89e 100644 --- a/apps/kimi-web/src/App.vue +++ b/apps/kimi-web/src/App.vue @@ -109,7 +109,8 @@ function blinkAuthLogo(): void { } -// Dynamic page title: session title first, then workspace name, then app name. +// Static page title (app name only). The session title and workspace name are +// intentionally excluded so the tab title stays stable. // Prefix an animated spinner when the agent is running so users can see activity // at a glance. const SPINNER_FRAMES = ['◐', '◓', '◑', '◒']; @@ -140,10 +141,6 @@ watch(running, (isRunning) => { const pageTitle = computed(() => { const prefix = running.value ? `${SPINNER_FRAMES[spinnerFrame.value]} ` : ''; if (showAuthGate.value) return `${prefix}${t('app.authPageTitle')} - Kimi Code Web`; - const sessionTitle = activeSessionTitle.value; - if (sessionTitle) return `${prefix}${sessionTitle} - Kimi Code Web`; - const workspaceName = client.visibleWorkspace.value?.name; - if (workspaceName) return `${prefix}${workspaceName} - Kimi Code Web`; return `${prefix}Kimi Code Web`; }); watchEffect(() => {