GeezerVison is showing github.com — Fix for issue 123 by mohamedmastouri-hue · Pull Request #6066 · pingdotgg/t3code
Conversation
Fixes issue #123
Note
Low Risk
UI-only visibility toggle reusing existing setTerminalOpen state; no changes to terminal lifecycle or server behavior beyond hiding the drawer.
Overview
Adds a Hide Terminal control to the thread terminal UI so users can collapse the drawer without closing terminal sessions.
ChatView wires a new onHideDrawer handler that sets terminalOpen to false via the terminal UI store for the current thread. ThreadTerminalDrawer accepts optional onHideDrawer and renders a chevron-down action in both the panel and compact toolbars (next to new/split/close), only when that callback is provided.
Reviewed by Cursor Bugbot for commit 4d7886f. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add 'Hide Terminal' button to ThreadTerminalDrawer
Adds an optional onHideDrawer prop to ThreadTerminalDrawer. When provided, a 'Hide Terminal' button (ChevronDown icon) appears in both drawer and panel action bars. PersistentThreadTerminalDrawer supplies the handler, which sets terminalOpen=false for the thread via the terminal UI state store.
Macroscope summarized 4d7886f.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Important
Review skipped
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 23e14056-d684-465d-84f6-a19ab18305ff
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved 4d7886f
Straightforward UI enhancement adding a 'Hide Terminal' button using existing state management. The change is purely additive with an optional prop, backwards-compatible, and doesn't alter existing behavior.
You can customize Macroscope's approvability policy. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Note: GPT-5 on behalf of shivam (@shivamhwp).
Thanks for the contribution. We're closing this in favor of the existing terminal-drawer toggle and keyboard shortcut, which already let users hide the terminal without ending its sessions.
This adds another button for the same action inside the terminal toolbar. We don't see enough additional benefit to add that control, especially given the changes to the surrounding UI since this PR was opened.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:M
30-99 changed lines (additions + deletions).
vouch:unvouched
Author is not yet trusted in the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.