From 8fb1ec9864c83cd5647474df9aa0a64f9e11ae1b Mon Sep 17 00:00:00 2001 From: qer Date: Mon, 22 Jun 2026 15:08:04 +0800 Subject: [PATCH] fix(web): keep page title static instead of tracking session or workspace --- .changeset/web-static-page-title.md | 5 +++++ apps/kimi-web/src/App.vue | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 .changeset/web-static-page-title.md 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(() => {