Skip to content

feat(tui): drop the cwd:branch label from the prompt footer - #113

Merged
quickbeard merged 2 commits into
mainfrom
drop-footer-directory
Jul 21, 2026
Merged

quickbeard merged 2 commits into
mainfrom
drop-footer-directory

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Summary

  • Remove the fork-added cwd:branch label 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.
  • Delete the fork-only component/prompt/directory-label.tsx and its three tests; drop the now-unused sidebarVisible prop on Prompt (from feat(tui): hide footer cwd:branch when sidebar is visible #70).
  • Retire the matching DIVERGENCES.md row — this returns component/prompt/index.tsx to 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 typecheck from packages/tui passes.
  • bun test from packages/tui: 231 pass; the only failure is the pre-existing flaky app.exit prints the session epilogue test, which fails identically on clean main.
  • Live tmux verification: home footer reads tab agents ctrl+p commands with no path; session footer shows usage + ctrl+p commands; toggling the sidebar (ctrl+b) still shows cwd:branch in the sidebar footer.

🤖 Generated with Claude Code

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
quickbeard force-pushed the drop-footer-directory branch from d4bc48b to abbbed5 Compare July 21, 2026 02:56
@quickbeard
quickbeard merged commit ba42846 into main Jul 21, 2026
0 of 5 checks passed
@quickbeard
quickbeard deleted the drop-footer-directory branch July 21, 2026 03:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant