Repository navigation
feat(app): show server name on session tabs - #51345
schjonhaug wants to merge 1 commit into
Conversation
|
The following comment was made by an LLM, it may be inaccurate: |
|
I liked your solution — it's much better than mine. I opened #58155 before I found this one: it grouped sessions by server (Home and the vertical tab strip) instead of labelling each tab. Closing it so the discussion stays in one place. Your approach is much smaller and solves the same confusion, and labels work in the horizontal strip too. If grouping is ever wanted on top of this, the branch stays on my fork. |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
Issue for this PR
Closes #51344
Opened as a draft so the design can be settled in the issue first.
Type of change
What does this PR do?
Adds a small label with the server name to session tabs and new-session tabs. The name comes from the existing
serverName(), so it uses the display name when one is set. The label only shows when more than one server is configured, and it is hidden while a tab title is being renamed.How did you verify your code works?
bun run checkand the titlebar tests inpackages/apppass.Screenshots / recordings
Checklist