Repository navigation
chore(tui): delete the unused session footer component - #154
Merged
Merged
Conversation
`routes/session/footer.tsx` exported a `Footer` (cwd, permission count, LSP/MCP counts, `/status`) that nothing imports — it is unreferenced upstream as well. The surfaces it rendered now live in the sidebar footer (cwd:branch, editor-context label) and the home footer (dir, MCP, `/status`, version). Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
What
Deletes
packages/tui/src/routes/session/footer.tsx.The file exported a
Footercomponent — cwd, pending-permission count, LSP count, MCP count,/status— but nothing imports it. It is unreferenced in this fork and inupstream/dev, so it renders nowhere and never has in CoDev Code.Everything it drew is already covered by the two footers that do render:
feature-plugins/sidebar/footer.tsx—cwd:branchplus the editor-context labelfeature-plugins/home/footer.tsx— directory, MCP count,/status, versionPending permissions surface through
PermissionPromptabove the prompt, and LSP/MCP status through the sidebar panels.Why
An unreferenced third copy of the status line invites edits to a component that never renders — a footer change made there would silently do nothing.
Notes
DIVERGENCES.mdgets a row for the deletion (upstream file), with re-delete guidance for the next sync.CHANGELOG.mdentry: nothing user-facing changes, since the component never rendered.bun typecheckpasses frompackages/tui.🤖 Generated with Claude Code