Skip to content

fix(web-ui): set the browser tab title from the open conversation - #635

Open
dannyyol wants to merge 1 commit into
yc-software:mainfrom
dannyyol:fix/web-ui-conversation-tab-title
Open

fix(web-ui): set the browser tab title from the open conversation#635
dannyyol wants to merge 1 commit into
yc-software:mainfrom
dannyyol:fix/web-ui-conversation-tab-title

Conversation

@dannyyol

@dannyyol dannyyol commented Aug 20, 2026

Copy link
Copy Markdown

Summary

  • Set the Web UI browser tab title from the open conversation (e.g. Choose assistant tone · QM) instead of a fixed QM · Web for every chat
  • Keep it in sync when switching conversations, renaming, auto-title refresh, and changing focused split panes
  • Fall back to existing untitled labels (New chat, Web chat, …) or QM · Web when nothing is open

Fixes #345

Test plan

  • Open two conversations in separate tabs — each tab title should show that conversation’s name
  • Rename a conversation — tab title updates without a reload
  • Start a new untitled chat — tab shows a sensible fallback, then the generated title once it arrives
  • Switch to a non-chat view (e.g. Files) — title returns to QM · Web (or branded equivalent)
  • In split view, focus different panes — tab title follows the focused pane
  • cd plugins/web-ui && npm test -- test/document-title.test.ts
  • cd plugins/web-ui && npm run typecheck

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

Tabs, history, and bookmarks stayed stuck on "QM · Web" for every chat; sync the document title when switching, renaming, or focusing a pane.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web UI: browser tab title is the same for every conversation

1 participant