Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/web-static-page-title.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@moonshot-ai/kimi-code": patch
---

Keep the web page title fixed instead of changing with the session or workspace name.
7 changes: 2 additions & 5 deletions apps/kimi-web/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ['◐', '◓', '◑', '◒'];
Expand Down Expand Up @@ -140,10 +141,6 @@ watch(running, (isRunning) => {
const pageTitle = computed<string>(() => {
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(() => {
Expand Down
Loading