Skip to content

fix: preserve filename input and add macOS voice diagnostics#1108

Open
Go1c wants to merge 1 commit into
codexu:devfrom
Go1c:fix/doubao-macos-input-diagnostics
Open

fix: preserve filename input and add macOS voice diagnostics#1108
Go1c wants to merge 1 commit into
codexu:devfrom
Go1c:fix/doubao-macos-input-diagnostics

Conversation

@Go1c

@Go1c Go1c commented Jun 7, 2026

Copy link
Copy Markdown

Summary

  • Preserve raw file and folder rename input while editing, then sanitize whitespace on commit.
  • Add macOS Doubao voice input diagnostic probes and collector scripts.
  • Add Wry keyDown diagnostic tooling and comparison helpers for Tauri/WKWebView input event investigation.

Bug Fix Context

This addresses the NoteGen-side filename input mutation issue found while investigating macOS Doubao voice input. The remaining Doubao failure was localized with manual evidence to Tauri/WKWebView native input event bridging: the same pure HTML probe receives composition/input events in a browser, while the Tauri/WKWebView probe receives only focus events.

Test Plan

  • node --test scripts/run-doubao-input-experiment.spec.mjs scripts/compare-doubao-input-logs.spec.mjs scripts/doubao-input-collector.spec.mjs scripts/diagnose-wry-keydown.spec.mjs src/app/core/main/file/file-name-input.spec.mjs public/doubao-input-debug.spec.mjs
  • pnpm exec tsc --noEmit --pretty false
  • git diff --check

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.

1 participant