Uh oh!
There was an error while loading. Please reload this page.
feat(app): show project name in session title - #38143
Conversation
The V2 layout only revealed the current project by hovering a tab. Add a faint project label (folder icon + name) after the session title so the active project is clear at a glance. Reuses the shared displayName helper, falling back to the session directory when no project is resolved.
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. |
razzeee
commented
Aug 21, 2026
the problem is still unresolved and it should be reopened |
Issue for this PR
Can't find a issue fitting
Type of change
What does this PR do?
Since V2 landed, I found myself having trouble figuring out in which project I currently am. I usually only can find out by hovering the tab, which is clumsy and slow.
This adds a faint project label (folder icon + name) after the session title so the active project is clear at a glance.
I'm not sure, if we should have a different design for mobile, it works, but it leads to early truncation. We basically have the choice to remove it on mobile, keep it like this or move it to a differnt line (or place)
How did you verify your code works?
Ran the web project locally and added a project to verify.
Screenshots / recordings
Checklist