Skip to content

fix(tui): respect sidebar width threshold#36469

Open
aditya-vithaldas wants to merge 1 commit into
anomalyco:devfrom
aditya-vithaldas:sidebar-auto-width
Open

fix(tui): respect sidebar width threshold#36469
aditya-vithaldas wants to merge 1 commit into
anomalyco:devfrom
aditya-vithaldas:sidebar-auto-width

Conversation

@aditya-vithaldas

@aditya-vithaldas aditya-vithaldas commented Jul 11, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #36417

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Removes the temporary sidebarOpen override from the TUI session view. Sidebar visibility is now controlled by the persisted auto or hide setting and the existing terminal-width check, so enabling it cannot force the sidebar over content in a narrow terminal.

How did you verify your code works?

  • bun typecheck from packages/tui
  • bun test test/index.test.tsx

Screenshots / recordings

Not included. The change restores the existing narrow-terminal hidden state and does not introduce new UI.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Jul 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Potential duplicate found:

This PR appears to be addressing the same issue: sidebar behavior in narrow terminals and respecting terminal width constraints. The current PR (#36469) references issue #36417, which may also be covered by PR #36414. You should check if #36414 is still open and whether it already solves the same problem.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Jul 12, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

Sidebar toggle forces visible in windowed mode ignoring terminal width

1 participant