feat: show workspace name on each terminal header - #389
Open
Ziinc wants to merge 2 commits into
Open
Conversation
Flatten the terminal pane into a single row and put the workspace name on every terminal header as a compact Label next to the short title. Co-authored-by: ty <ty@tzeyiing.com>
Co-authored-by: ty <ty@tzeyiing.com>
| isMainRepo: boolean; | ||
| } | ||
|
|
||
| export function resolveTerminalWorkspace( |
There was a problem hiding this comment.
Replaces buildWorkspaceGroups. Shell terminals still inherit a name from workspaceBranchByPath or a matching agent session; main-repo sessions use currentBranch instead of the old “Main Repository” string so the header matches the sidebar.
| style={{ backgroundColor: "#1e1e1e" }} | ||
| > | ||
| {workspaceGroups.map((group, groupIndex) => { | ||
| {terminals.map(({ terminal, workspace }, index) => { |
There was a problem hiding this comment.
Flattened on purpose: workspace grouping used a second header bar that duplicated the branch name. Terminals keep creation order in one row now; workspace identity lives on each panel header via TerminalWorkspaceLabel. Clicking the label still navigates.
Ziinc
marked this pull request as ready for review
August 30, 2026 16:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The terminal pane no longer groups sessions under a workspace bar. Each terminal header is now
[icon] [short title] [workspace name], with the workspace name rendered as a compactLabel. Clicking the label still navigates to that workspace.Also flattens resize so adjacent terminals (any workspace) share the same row.