Skip to content

feat(terminal): confirm remaining disconnects in a group close - #11995

Open
zhangkom wants to merge 1 commit into
Eugeny:masterfrom
zhangkom:codex/confirm-group-disconnect-d02
Open

zhangkom wants to merge 1 commit into
Eugeny:masterfrom
zhangkom:codex/confirm-group-disconnect-d02

Conversation

@zhangkom

@zhangkom zhangkom commented Dec 2, 2026

Copy link
Copy Markdown

Description

Closes #11970.

Closing a window with several SSH or Telnet tabs currently asks for confirmation once per connection. Split panes can also show several prompts at once. This change adds Disconnect all to a group close. The choice applies across the window or split being closed and expires when that operation ends.

Disconnect still confirms only the current connection. Do not close cancels the operation. A single connection keeps its two-button dialog. A local tab with a running process, or a plugin that can veto closure, still gets its own check.

Verification

  • Reproduced the missing group option on master and exercised the changed window, split, SSH, and Telnet methods with simulated dialog responses. Checked a later local veto, cancellation, and a second close operation.
  • npm run test:unit passed all 98 tests, including three new group-close tests.
  • npm run test:ssh-term passed all 31 tests. The declaration builds passed for all 13 built-in plugins, and npm run lint passed.
  • The Electron native dialog was exercised through its message-box interface. The graphical dialog itself was not tested interactively.

AI Usage

  • Fully vibe coded
  • AI-designed, AI-coded, manually checked
  • Human-designed, AI-coded
  • Human-designed, human-coded (includes AI autocompletions and boilerplate gen)

OpenAI Codex (GPT-6) implemented and tested this change autonomously.

This branch has not been deployed

No deployments
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.

Add a third "Disconnect all" button in the confirmation when closing Tabby or a Tab

1 participant