Repository navigation
feat(tui): drop the cwd:branch label from the prompt footer - #113
Merged
Merged
Conversation
Remove the fork-added directory+branch label from the prompt footer's right-side group on the home screen and in sessions. The path and branch stay visible in the sidebar footer and the home footer, so the prompt footer keeps only the shortcut hints and token usage. Deletes the fork-only directory-label.tsx with its tests, drops the sidebarVisible prop on Prompt, and retires the matching DIVERGENCES row. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
quickbeard
force-pushed
the
drop-footer-directory
branch
from
July 21, 2026 02:56
d4bc48b to
abbbed5
Compare
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.
Summary
cwd:branchlabel from the prompt footer's right-side group, on the home screen and in sessions — it made the footer busy and duplicated what the sidebar footer and home footer already show.component/prompt/directory-label.tsxand its three tests; drop the now-unusedsidebarVisibleprop onPrompt(from feat(tui): hide footer cwd:branch when sidebar is visible #70).DIVERGENCES.mdrow — this returnscomponent/prompt/index.tsxto upstream shape in that spot (net −255 lines) — and add a CHANGELOG entry.The path and branch remain visible in the sidebar footer (when the sidebar is open) and in the home footer once a session destination is selected. Reverts the footer part of #65 and the suppression from #70.
Test plan
bun typecheckfrompackages/tuipasses.bun testfrompackages/tui: 231 pass; the only failure is the pre-existing flakyapp.exit prints the session epiloguetest, which fails identically on cleanmain.tab agents ctrl+p commandswith no path; session footer shows usage +ctrl+p commands; toggling the sidebar (ctrl+b) still showscwd:branchin the sidebar footer.🤖 Generated with Claude Code