GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Simplify terminal visibility toggle in ChatView by juliusmarminge · Pull Request #24 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Feb 13, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • remove terminal close/exit side effects from toggleTerminalVisibility
  • keep toggle behavior focused on updating SET_THREAD_TERMINAL_OPEN state only
  • drop unused api dependency from the callback

Testing

  • Not run (not requested)
  • Verified from diff that toggling now only flips activeThread.terminalOpen state without terminal API calls

Open with Devin

Summary by CodeRabbit

  • Refactor
    • Terminal visibility toggle simplified to reduce unnecessary API interactions.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

greptile-apps[bot] reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@juliusmarminge
Simplify terminal toggle to only update visibility state
e817a0e
- Remove terminal close/exit API calls from `toggleTerminalVisibility`
- Keep toggle behavior as a pure UI state change for active thread
@coderabbitai

coderabbitai Bot commented Feb 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Walkthrough

The toggleTerminalVisibility function in ChatView.tsx is simplified by removing API interaction logic. It now directly toggles the terminal open state without attempting to close terminals via API or sending exit commands, reducing the function's side effects and dependencies.

Changes

Cohort / File(s) Summary
Terminal Visibility Toggle Simplification
apps/web/src/components/ChatView.tsx
Removed API calls from toggleTerminalVisibility: function no longer attempts to close terminals via API or sends exit commands, instead directly toggling the open state based on activeThread.terminalOpen. The dependency array is shortened by removing the api dependency.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: simplifying the terminal visibility toggle function in ChatView by removing API calls and side effects.
Merge Conflict Detection ✅ Passed ✅ No merge conflicts detected when merging into main

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch codething/d2c6ac5a

No actionable comments were generated in the recent review. 🎉


Comment @coderabbitai help to get the list of available commands and usage tips.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp

macroscopeapp Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

Refactor ChatView.toggleTerminalVisibility to only dispatch SET_THREAD_TERMINAL_OPEN in ChatView.tsx

Remove terminal close/write calls and compute open from !activeThread?.terminalOpen; update useCallback dependencies to exclude api in ChatView.tsx.

📍Where to Start

Start with the toggleTerminalVisibility callback in ChatView.tsx.


Macroscope summarized e817a0e.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@greptile-apps

greptile-apps Bot commented Feb 13, 2026

Copy link
Copy Markdown

Greptile Overview

Greptile Summary

Refactored toggleTerminalVisibility callback to focus solely on UI state management by removing terminal cleanup side effects (API calls to terminal.close and terminal.write). The toggle now only flips the terminalOpen flag via the SET_THREAD_TERMINAL_OPEN action, improving separation of concerns. Terminal cleanup is already handled by the dedicated closeTerminal callback which is called from explicit close buttons in ThreadTerminalDrawer.

Confidence Score: 5/5

  • This PR is safe to merge with no risk
  • Clean refactor that improves separation of concerns without behavioral regression. Terminal cleanup is properly handled by dedicated closeTerminal callback, so removing it from the visibility toggle is appropriate. The change simplifies the callback and removes the unnecessary api dependency.
  • No files require special attention

Important Files Changed

Filename Overview
apps/web/src/components/ChatView.tsx Simplified terminal visibility toggle to only update state, removed terminal cleanup side effects

Last reviewed commit: e817a0e

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge merged commit 521238c into main Feb 13, 2026
3 checks passed

Uh oh!

There was an error while loading. Please reload this page.

aorwall added a commit to aorwall/t3code that referenced this pull request Aug 2, 2026
@aorwall
feat: add fork upstream merge skill (pingdotgg#24)
6950714
This was referenced Sep 18, 2026
Implement the OMP ACP session adapter: prompt, streaming, tools, approvals, cancellation yashptel/oh-my-t3code#3
Closed
Bring the OMP RPC runtime to ACP baseline parity behind shared contract tests yashptel/oh-my-t3code#13
Open
Drive OMP-dependent UI from provider capabilities instead of provider names yashptel/oh-my-t3code#14
Open
maria-rcks pushed a commit to maria-rcks/t3libre that referenced this pull request Sep 21, 2026
@yordis
fix(web): the base branch stays readable in the pull request header (p…
50093ca
…ingdotgg#24)
i2cjak referenced this pull request in BackplaneWorks/Backplane Sep 29, 2026
i2cjak
Merge pull request #24 from i2cjak/v2-usage
7a71c79
Orchestrator V2 (7/n): context meter
gmackie pushed a commit to gmackie/t3code that referenced this pull request Oct 10, 2026
gmackie
Merge pull request 'fix(web): GMA-737 retain live browser reveals dur…
3a50874
…ing hydration' (pingdotgg#24) from fix/GMA-737-browser-reveal into custom-local
@rawphp rawphp mentioned this pull request Oct 16, 2026
Gating: a passing gate opens the PR for review, a failing one goes back to the session #20168
Closed
7 tasks done
yasinuslu added a commit to yasinuslu/t3code that referenced this pull request Oct 19, 2026
@yasinuslu
Merge pull request 'fix(web): the manager is a pinned thread next to …
8c55aa7
…the sidebar, not an overlay' (pingdotgg#24) from fix/segmented-controls into yu-v2
dioskuroi pushed a commit to dioskuroi/t3code that referenced this pull request Nov 9, 2026
rebase-drill
provider-omp: replay fixtures, recorder, and user docs (pingdotgg#24)
b4d92d2
- record simple/multi_turn/turn_interrupt omp RPC tapes via a live recorder
  (apps/server/scripts/record-omp-replay-fixture.ts) driving the real omp CLI
  through the real adapter inside the full orchestrator replay scenario
- OmpAdapterV2.testkit.ts: replay harness (frame tape controller + spawner
  with drain-to-EOF exit semantics) + recording spawner + workspace
  materialization for embedded <workspace> paths
- register omp variants in the shared fixture registry with omp-specific
  output assertions (thinking -> reasoning items, weak native turn refs,
  aborted prompt_result on interrupt)
- fix open_session to send omp's required sessionDir (<cwd>/.t3code/
  omp-sessions); real omp rejects a bare open_session
- user docs: providers-omp.md, install.md providers row, permission-modes
  omp differences
dioskuroi pushed a commit to dioskuroi/t3code that referenced this pull request Nov 9, 2026
rebase-drill
provider-omp: type materializer metadata walk (pingdotgg#24)
780f79e
dioskuroi pushed a commit to dioskuroi/t3code that referenced this pull request Nov 9, 2026
rebase-drill
provider-omp: tolerate thinking-less streams in omp fixture asserts; …
8587b59
…re-record simple (pingdotgg#24)
dioskuroi pushed a commit to dioskuroi/t3code that referenced this pull request Nov 9, 2026
rebase-drill
provider-omp: address code-review findings (pingdotgg#13-pingdotgg#24 …
e04e9b3
…follow-up)
@only21mil only21mil mentioned this pull request Nov 10, 2026
fix(web): a pull request whose title holds a numeric search ranks above description-only matches #33692
Merged
Toska1102 added a commit to Toska1102/t3code-scenario that referenced this pull request Nov 27, 2026
@Toska1102 @claude
feat(workbench): redispatch with pinned versions and org revision rev…
5195c74
…alidation

Ticket 06 of the Agent team workbench spec: redispatch from a confirmed
version or historical task defaults to the exact recorded version, allows
explicit switching to other confirmed versions of the same workflow, and
filters the same-version task list by version ID. Dispatch submission reads
the current org revision once, adopts it when compatible, and on
incompatible changes refuses to create a task while locating the offending
step so inputs can be preserved for revision. Submission keys make retries
idempotent. Version invocation counts are derived from task records so the
pingdotgg#18/pingdotgg#24/pingdotgg#25 sample merges to one version with three calls.

Domain layer with TDD coverage: plan/field-rematch, org compatibility
classification, idempotent submission, invocation lists, and an end-to-end
traceability test mapping the 03.02 canvas controls to the domain calls.

Co-Authored-By: Claude Code <[email protected]>
@only21mil only21mil mentioned this pull request Nov 27, 2026
fix(web): the Checks filter narrows loaded pull requests right away #44138
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

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.

1 participant

@juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.