mirror of
https://github.com/nyakang/nyaterm.git
synced 2026-11-15 08:08:08 +00:00
Use one typed category choice list for search, selection and staged creation. Prefer existing matches, retain a create option unless the trimmed name has an exact match, and share highlight, scrolling and submission across keys and pointer input. Restore trigger focus after closing the picker. Route input actions before Submitted and isolate modified Enter and IME confirmation from category selection and the editor save shortcut. Remove the second editor input and its routing; retain the standalone category dialog and existing save-time persistence and duplicate rules. Validation on Linux/headless GPUI: - 27 targeted desktop tests passed, including both editor view surfaces. - App/workspace check, fmt check and strict workspace Clippy passed. - Workspace tests: 6116 passed, 3 failed, 40 ignored. Two desktop failures passed individually; the readonly-file test passed without root privileges. - Architecture check matches the original PR failure: two unapproved test thread spawns in completion_runtime.rs. Architecture script tests passed. Real graphical IME and macOS/Windows native-window verification remain open. No persistence formats, dependency versions or fork revisions changed. Refs: https://github.com/nyakang/nyaterm/pull/1240