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 — fix(web): stop opening a menu when a terminal selection ends by fixfon · Pull Request #24112 · pingdotgg/t3code

fix(web): stop opening a menu when a terminal selection ends #24112

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Sign up for GitHub

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
juliusmarminge merged 7 commits into pingdotgg:main from fixfon:fix/16114-terminal-selection-no-auto-menu
Nov 12, 2026
+4 −137
Merged

fix(web): stop opening a menu when a terminal selection ends #24112

Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
7 commits
Select commit Hold shift + click to select a range
c168c0b
fix(web): finishing a terminal selection no longer opens a menu
fixfon Oct 23, 2026
c816138
refactor(web): drop the unused terminal selection rect helper
fixfon Oct 23, 2026
97b3fdc
Merge origin/main into fix/16114-terminal-selection-no-auto-menu
fixfon Oct 25, 2026
3ab6e17
chore: merge main into terminal selection fix
maria-rcks Oct 26, 2026
dc7a79b
refactor(web): keep terminal menu verification behavioral
maria-rcks Oct 26, 2026
8bd210b
chore: merge main into terminal selection fix
maria-rcks Oct 27, 2026
bc6c3cb
chore: merge main into terminal selection fix
juliusmarminge Nov 12, 2026
File filter
Filter by extension

Clear filters
Conversations
Failed to load comments.
Loading

Uh oh!

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

Jump to
Jump to file
Failed to load files.
Loading

Uh oh!

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

Diff view
Diff view
Prev Previous commit
Next Next commit
refactor(web): keep terminal menu verification behavioral
  • Loading branch information

Uh oh!

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

@maria-rcks
maria-rcks committed Oct 26, 2026
commit dc7a79b3e12edd1ec67f6a3f768896ab94636bdb

There are no files selected for viewing

13 changes: 1 addition & 12 deletions 13 apps/web/src/components/ThreadTerminalDrawer.test.ts
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,9 @@ import {
nextTerminalAttachSeedState,
} from "@t3tools/client-runtime/state/terminal";

import {
shouldHandleTerminalExit,
synchronizeTerminalOutput,
terminalContextMenuItems,
} from "./ThreadTerminalDrawer";
import { shouldHandleTerminalExit, synchronizeTerminalOutput } from "./ThreadTerminalDrawer";

describe("terminal selection actions", () => {
it("offers Add to chat, Copy and Paste from the right-click menu over a selection", () => {
const enabled = terminalContextMenuItems({ hasSelection: true })
.filter((item) => !item.disabled)
.map((item) => item.id);
expect(enabled).toEqual(expect.arrayContaining(["add-to-chat", "copy", "paste"]));
});

it("handles an exit that lands while the terminal surface is still loading", () => {
expect(shouldHandleTerminalExit("exited", "running", false, 1)).toBe(true);
expect(shouldHandleTerminalExit("exited", "exited", false, 1)).toBe(false);
Expand Down
2 changes: 1 addition & 1 deletion 2 apps/web/src/components/ThreadTerminalDrawer.tsx
Show comments
View file
Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ function terminalSelectionMenuItems(options?: {
];
}

export function terminalContextMenuItems(options: {
function terminalContextMenuItems(options: {
hasSelection: boolean;
canAddToChat?: boolean;
readOnly?: boolean;
Expand Down
Loading
Oops, something went wrong.

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.
You are visitor 01402792 — 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.