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): Esc in voice alias input cancels it without closing Settings by only21mil · Pull Request #42027 · pingdotgg/t3code

Conversation

@only21mil

@only21mil only21mil commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

In Settings → Voice, pressing Esc in a dictionary word's alias input cancelled the alias and also closed the whole Settings dialog, because the keydown bubbled up to the dialog's Esc handling.

The alias input now stops Esc from bubbling and moves focus to the Settings surface before the input unmounts. Without that focus move, the dialog hands focus to the Close button, whose "Close (Esc)" tooltip takes the next Esc. With it, Esc cancels the alias draft, and a second Esc closes Settings. The license search in Settings works the same way.

Before / after

Setup: Linux, Chromium (T3 Code Browser panel), light theme, 1280×800 viewport, fresh isolated vp run dev --no-seed data.

Steps: Settings → Voice → Your dictionary → add Kubernetes → Alias → type cooper → Esc → Esc

Before (84a0c05) After (4f7dfc5)
Alias draft cooper typed for Kubernetes Alias draft cooper typed for Kubernetes
Alias draft cooper typed for Kubernetes Alias draft cooper typed for Kubernetes
One Esc closed all of Settings One Esc cancelled the alias and Settings stayed open
One Esc closed all of Settings One Esc cancelled the alias and Settings stayed open
A second Esc closed Settings
A second Esc closed Settings

Testing

An AI agent ran each check below.

  • A new browser test in VoiceSettingsPanel.browser.test.tsx renders the panel inside the real Settings modal, opens an alias draft, and presses Esc. It fails on main. It also fails with either stopPropagation() or the focus move removed. It passes 3/3 with the fix, and the whole file passes 20/20.
  • vp run check:changed passed.
  • The before/after captures above, in the web app's Browser panel against an isolated dev server, pressing a real Esc key.

Not shown

  • Desktop and mobile: the desktop app uses the same web Settings component. Mobile has its own voice settings screen, which this change does not touch.
  • IME: Esc during an IME composition still returns early, as before.

Generated with Claude Opus 5.5 in T3 Code Nightly

Sorry, something went wrong.

Uh oh!

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

All reactions
@only21mil
fix(web): Esc in voice alias input cancels it without closing Settings
4f7dfc5
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 24, 2026
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Escape now clears an unsaved voice alias draft without closing Settings. A browser test verifies the draft is cleared, the saved dictionary remains unchanged, and a second Escape closes Settings.

Changes: Voice alias Escape handling

Layer / File(s) Summary
Alias draft Escape behavior
apps/web/src/components/settings/VoiceSettingsPanel.tsx, apps/web/src/components/settings/VoiceSettingsPanel.browser.test.tsx
The Escape handler stops event propagation, focuses the nearest app modal when present, and clears the draft. The browser test checks that the first Escape keeps Settings open and the saved dictionary unchanged, while the second closes Settings.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Suggested labels: bugfix

Suggested reviewers: utkarshusername, macroscopeapp, maria-rcks

Merge Risk: Minimal · up to ab7ff

Merge Risk: ⚪ Minimal · up to ab7ff

Pressing Esc in the voice alias field now cancels the draft without closing Settings, and a second Esc closes it. The change is narrow and covered by a browser test, so merge risk is low.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: Esc in the voice alias input now cancels the draft without closing Settings. It follows the conventional commit form and fits the changeset, which stops Esc propagatio…
Description check Passed The description covers the problem (Esc closes all of Settings from the alias input), the change (stop propagation and move focus before unmount), scope (a bug fix linked to the Settings Voice behavio…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: Esc in the voice alias input now cancels the draft without closing Settings. It follows the conventional commit form and fits the changeset, which stops Esc propagation and moves focus in VoiceSettingsPanel.tsx. It is specific and in plain language.

Full details: Description check

Explanation

The description covers the problem (Esc closes all of Settings from the alias input), the change (stop propagation and move focus before unmount), scope (a bug fix linked to the Settings Voice behavior, with the license search noted), and verification (a new browser test that fails on main, before/after screenshots, check:changed run, and a note on what was not checked). It does not link an issue or state why no issue exists. Its Verification section says the author ran tests and captures. The template asks for a Scope section that links the bug or explains why no issue is needed, so that part is missing. The Problem and Change sections are short but present. Overall the description is mostly complete.

Resolution

Optionally, link the issue that shows the bug, or explain why a small fix needs no issue. Also confirm whether a maintainer requested this PR.

Finishing Touches

Generate unit tests (beta)

  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info

Run configuration

  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 110ed77
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f7c4280b-7748-4bee-84e8-cd76070b1565
Commits

Reviewing files that changed from the base of the PR and between 110ed77 and 4f7dfc5.

Files selected for processing: 2

  • apps/web/src/components/settings/VoiceSettingsPanel.browser.test.tsx
  • apps/web/src/components/settings/VoiceSettingsPanel.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 24, 2026
@juliusmarminge @claude
Merge remote-tracking branch 'origin/main' into fix/web-voice-alias-e…
ab7ffff
…scape-keeps-settings

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge
juliusmarminge force-pushed the fix/web-voice-alias-escape-keeps-settings branch from d6db24d to ab7ffff Compare November 24, 2026 09:14
@juliusmarminge

juliusmarminge commented Nov 24, 2026

Copy link
Copy Markdown
Member

Evidence

Steps: Open Settings → Voice; add Kubernetes to Your dictionary with Enter; open Alias; type cooper; press Escape once, then press Escape again if Settings remains open. Environment for all captures: Chromium web client, 1280×800, dark theme, fresh synthetic state on each commit.

Proven: the scenario fails on base and passes on head. Base closes Settings on the first Escape. Head cancels the alias draft, keeps Settings open, and closes Settings on the second Escape.

Capture Before — 110ed776c9 After — ab7ffff9b3
Alias draft Before: alias draft showing cooper After: alias draft showing cooper
First Escape Before: Settings closes After: draft discarded and Settings stays open
Settled result Before: draft view after Settings closed After: second Escape closes Settings
Recording Before recording After recording

Scenario source

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge added takeover:ready Takeover done; auto-lands when gates pass and removed takeover:in-progress A takeover lead is working on this PR labels Nov 24, 2026
@juliusmarminge
juliusmarminge merged commit f15d908 into pingdotgg:main Nov 24, 2026
56 checks passed

Uh oh!

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

@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 24, 2026
@patroza patroza mentioned this pull request Nov 24, 2026
Merge upstream main through 26f4c7550e7a patroza/t3code#673
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

size:XS 0-9 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

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.

2 participants

@only21mil @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.