Repository navigation
HAN-184: Hide the empty tab track when a worktree has no tabs - #223
Open
superada2026 wants to merge 1 commit into
Open
superada2026 wants to merge 1 commit into
superada2026 wants to merge 1 commit into
Conversation
The recessed capsule track rendered even with zero tabs, reading as a blank tab. Skip it and keep the trailing accessories pinned trailing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
When the active worktree has no tabs, the tab bar still drew its recessed capsule track. It looked like a blank tab (see HAN-184).
TabBarViewnow renders theTabBarOverflowScrolltrack only when the worktree has at least one tab. Otherwise aSpacerkeeps the trailing accessories (+, session history, splits) pinned to the trailing edge.Acceptance criteria
+) brings back the track with its chip. The existing render path is unchanged when tabs ≥ 1.Validation
make mac-generatemake mac-build:** BUILD SUCCEEDED **for both the Codans and codans-cli schemesswiftlint lint --config .swiftlint.yml codans/App/Features/TabBar/TabBarView.swift: clean. The fullmake mac-lintcurrently fails with 80 errors, all in other files (e.g.CodansCoreTests/Shortcuts/*). This diff doesn't touch any of them.🤖 Generated with Claude Code