Skip to content

Show chat title in conversation header - #362

Closed
vibhorgupta96 wants to merge 1 commit into
truefoundry:mainfrom
vibhorgupta96:codex/issue-352-chat-title
Closed

Show chat title in conversation header#362
vibhorgupta96 wants to merge 1 commit into
truefoundry:mainfrom
vibhorgupta96:codex/issue-352-chat-title

Conversation

@vibhorgupta96

@vibhorgupta96 vibhorgupta96 commented Aug 19, 2026

Copy link
Copy Markdown

Summary

Show the current chat title in the persistent conversation header so the active chat is identifiable without opening the session list. The title stays alongside the existing agent label and actions across every shipped layout.

Closes #352

Changes

  • display the active thread title in sidebar, drawer, dock, and widget conversation headers
  • truncate long titles within the available header width while exposing the full value through the native title tooltip
  • use a shared New Chat placeholder for blank or whitespace-only titles in both headers and session rows
  • keep the title hidden while the agent picker is idle and preserve existing agent labels and header actions
  • add focused title and layout integration tests plus a patch changeset for @truefoundry/trueforge-ui

Screenshot

Chat title in the persistent conversation header

How was this tested?

  • pnpm build
  • pnpm test
  • pnpm typecheck
  • pnpm format:check
  • pnpm --filter @truefoundry/trueforge-ui lint
  • pnpm --filter @truefoundry/trueforge-ui test
  • git diff --check

pnpm lint:ci still reports eight errors in five untouched backend files: the four catalog implementations under packages/trueforge/src/catalog and packages/trueforge/src/sandbox/local/core/CodeModeUdsTransport.ts. The changed UI source and tests pass the scoped package lint command.

Checklist

  • pnpm build, pnpm test, pnpm typecheck, pnpm lint:ci, and pnpm format:check pass locally (all pass except the unrelated root lint errors noted above)
  • Tests added/updated where it makes sense
  • No hand-edits to generated code (packages/trueforge-sdk, .github/fern/openapi/openapi.json, docs/openapi.json) — fork PRs omit SDK regen; maintainers regenerate after merge
  • Docs / .env.example updated if configuration or behavior changed (not applicable; no configuration interface changed)

@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: bf1ac2b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@truefoundry/trueforge-ui Patch
frontend Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@innoavator

Copy link
Copy Markdown
Contributor

Thanks for sending the PR. Can you pelase attach screenshots with the applied changed?

@vibhorgupta96

Copy link
Copy Markdown
Author

Added a screenshot to the PR description showing the active chat title in the persistent conversation header.

@sajal-truefoundry

sajal-truefoundry commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Thanks for your PR but I'm afraid that this is a bit incomplete and a similar PR (#372 ) has already been raised. So we are refining that and making it ready for merge.

@vibhorgupta96

Copy link
Copy Markdown
Author

@sajal-truefoundry I had commented on the issue first and mentioned that I will work on the fix and raised this PR a day earlier that the other PR.

Not sure this is the correct way to maintain an open source project. All of my PRs are bring closed for strange reasons like someone else having fixed it already(even through I was the first to claim the issue) or requirements being changed even though they were clearly mentioned in the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

show chat title on top - currently its not immediately clear

4 participants