Repository navigation
web: phone-autocorrect-fragment - #916
fizzy-macos[bot] wants to merge 3 commits into
Conversation
Agent-Team: macos Worker: claude Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
PM note: how this PR will be handledWhat it is for: web: phone-autocorrect-fragment Rules that apply: none special. Things to watch (checked by rule):
What happens next:
A living status comment below is kept current. Nothing here is a merge decision. |
Where this PR standsStage: Done: approved What the PM needs before approving (ticks as it is met; the full CI runs only at the end, after the reviews are clean):
Reviews at the current commit (
2 earlier reviews are for older commits and will be redone. Latest fixes comment: https://github.com/fizzyedit/work/issues/484#issuecomment-6443947401 (1 finding answered) Updated 2026-10-27 16:19 UTC by the PM. This comment is edited in place. |
Agent-Team: macos Worker: claude Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Part of fizzyedit/work#478
Goal
Finish work#478: #913 added the sentence-fragment model, but the exact phone case
mu->my(insertReplacementText with no target range and a collapsed caret) still producedmumy.What changed and why
In patch 0010, an insertReplacementText with no usable range now replaces the last whitespace-delimited word of the held fragment (backspaces, then the text) instead of inserting after it. Two node tests added: that case, and the composition variant (compositionupdate
mu, compositionendmy).How it was verified
scripts/test-web-text-input.sh: the collapsed/no-range test fails on main ("mumy") and passes now; the composition test already passed and guards it. Headless only; no device or window.
Not done / follow-ups
Not tried on a real Android keyboard (QA loop). ARCH's X2 mirrored-textarea design (plans#105) remains the fix by construction.
Changes (2 files, +25/-4)
Gates: 6 of 6 passed
scripts/check-fmt.sh(exit 0)scripts/zb build --summary all(exit 0)scripts/zb build test --summary all(exit 0)scripts/zb build test-integration --summary all(exit 0)scripts/zb build check-web --summary all(exit 0)scripts/zb build test-sdk-version --summary all(exit 0)