Joshua Horton
0fbf9c028e
feat(web): support split, merge for edit-path construction
...
Relates-to: #14679
The goal of this PR is to facilitate better handling for token splits and token merges.
2025-09-10 08:25:13 -05:00
Joshua Horton
01d73079a9
refactor(web): better edge-finder typing, cleanup
2025-09-10 08:24:37 -05:00
Joshua Horton
88393c515d
refactor(web): refactor edit-path construction to support extensions from subclasses
2025-09-10 08:24:37 -05:00
Joshua Horton
36cee82da8
refactor(web): relocate getMergeSplitParent
2025-09-10 08:23:59 -05:00
Joshua Horton
8ca4b8b3cd
feat(web): start support for calculating 'split', 'merge' edits
2025-09-10 08:23:59 -05:00
Joshua Horton
1853af628b
refactor(web): refactor distance-calculation method that extends path on new input
2025-09-10 08:23:30 -05:00
Joshua Horton
29f3f8595e
feat(web): add unit tests to validate correction setup helpers
...
This commit adds unit tests for the methods extracted in #14716 designed to help automate testing for work done in #14700 and #14537 , among other recent epic/autocorrect PRs.
There's also a very small bit of cleanup of logic that affected one of the new tests.
Build-bot: skip test:web
Test-bot: skip
2025-09-09 14:40:27 -05:00
Joshua Horton
439b9c3f01
refactor(web): spin off determineSuggestionAlignment method
2025-09-09 13:00:37 -05:00
Joshua Horton
eb679488a4
refactor(web): spin off matchBaseContextState, determineContextTransition as helpers
2025-09-09 13:00:37 -05:00
Joshua Horton
db5e77c0dc
refactor(web): move traversal-less correction code to own helper
2025-09-09 13:00:37 -05:00
Joshua Horton
05a608fb69
fix(web): unit test patchup due to bad index choice
2025-09-09 12:58:47 -05:00
Joshua Horton
4417a44d28
feat(web): add delayed-reversion headless integration tests
2025-09-09 09:46:14 -05:00
Joshua Horton
a97222e5dd
Merge branch 'fix/web/suggestions-after-bksp' into feat/web/delayed-reversions
2025-09-09 08:52:45 -05:00
Joshua Horton
eb43cfa729
Merge branch 'epic/autocorrect' into fix/web/suggestions-after-bksp
2025-09-09 08:32:38 -05:00
Joshua Horton
261f5c6faf
Merge branch 'fix/web/dummy-model-transform-handling' into feat/web/integrated-autocorrect-apply-tests
2025-09-08 16:15:36 -05:00
Joshua Horton
28102e8a51
Merge branch 'change/web/convert-main-interfaces-tests-to-ts' into fix/web/dummy-model-transform-handling
2025-09-08 16:15:13 -05:00
Joshua Horton
7af47742b1
fix(web): fix test building dependency
2025-09-08 16:10:21 -05:00
Joshua Horton
b6369ab0e9
feat(web): add Trie-backed K_SPACE replace test
2025-09-08 16:06:16 -05:00
Joshua Horton
1018821865
feat(web): add new headless integration tests for keystroke interactions with suggestion application
...
Build-bot: skip build:web
Test-bot: skip
2025-09-08 15:59:03 -05:00
Joshua Horton
7b5388125c
fix(web): fix transform IDs, appended transform handling for dummy models
...
Build-bot: skip build:web
Test-bot: skip
2025-09-08 15:56:31 -05:00
Joshua Horton
29d0cb1eb1
change(web): convert engine/main, engine/interfaces tests to TS
...
Build-bot: skip build:web
Test-bot: skip
2025-09-08 13:47:51 -05:00
Joshua Horton
c26c9c5b82
fix(web): fix failed user test scenario - overwriting suggestion-applied whitespace
2025-09-08 08:09:07 -05:00
Joshua Horton
6c847422df
fix(web): patch up unit tests for change to worker reversion pattern
2025-09-08 07:46:11 -05:00
Joshua Horton
eadbfc625f
Merge branch 'fix/web/suggestions-after-bksp' into feat/web/delayed-reversions
2025-09-07 21:33:36 -05:00
Joshua Horton
28ade8991d
fix(web): better delete-left handing for suggestions when crossing word boundaries
2025-09-07 21:32:08 -05:00
Joshua Horton
2fadae873e
fix(web): patch up unit tests
2025-09-05 15:56:18 -05:00
Joshua Horton
6283aeaac6
fix(web): update recent-revert flag
2025-09-05 15:52:20 -05:00
Joshua Horton
646ba066dd
change(web): display reversions before keeps
2025-09-05 15:18:55 -05:00
Joshua Horton
2bebb45abb
fix(web): fix triggering for suggestions after keystroke-application of suggestions
2025-09-05 15:07:46 -05:00
Joshua Horton
7702241a01
change(web): manage reversion display from worker
...
This prevents display errors associated with reversions that occurred once the worker started supplying reversions as part of prediction requests.
Also hides suggestions / reversions that depend on context states that have aged out of the Web engine's cache.
2025-09-05 14:19:04 -05:00
Joshua Horton
c484311679
feat(web): support reversions after returning to end of applied text
...
Relates-to: #12884
Relates-to: #12648 (item 3 from the first list)
2025-09-05 14:19:04 -05:00
Joshua Horton
099d4aaff4
fix(web): display suggestions for text reached by backspace
2025-09-05 14:14:55 -05:00
Joshua Horton
eb83fb91bc
fix(web): fix immediate application of suggestions following another
2025-09-05 12:16:55 -05:00
Joshua Horton
be25bd3891
fix(web): fix handling of replaced post-accept prediction contexts
2025-09-05 11:06:08 -05:00
Joshua Horton
2881ce6997
Merge branch 'feat/web/punctuation-whitespace-reversion' into feat/web/auto-accept-on-punctuation
2025-09-05 10:23:45 -05:00
Joshua Horton
cf7448a364
change(web): improve handling for reverting appended transform
2025-09-05 10:23:33 -05:00
Joshua Horton
1b74434170
Merge branch 'feat/web/punctuation-whitespace-reversion' into feat/web/auto-accept-on-punctuation
2025-09-05 09:39:26 -05:00
Joshua Horton
7c86659723
Merge branch 'epic/autocorrect' into feat/web/punctuation-whitespace-reversion
2025-09-05 09:38:54 -05:00
Joshua Horton
0806c447b5
Merge pull request #14690 from keymanapp/fix/web/no-warn-on-frame-key
...
fix(web): do not warn for missing fat-fingers on frame keys 🚂
2025-09-05 20:19:38 +07:00
Joshua Horton
24db7bd417
fix(web): predict with most recent transition upon receiving empty input
2025-09-04 15:34:37 -05:00
Joshua Horton
04b591f198
Merge branch 'feat/web/punctuation-whitespace-reversion' into feat/web/auto-accept-on-punctuation
2025-09-04 14:56:22 -05:00
Joshua Horton
f3a9fe2f00
Merge branch 'fix/web/no-warn-on-frame-key' into feat/web/punctuation-whitespace-reversion
2025-09-04 14:55:47 -05:00
Joshua Horton
4094116051
fix(web): do not warn for missing fat-fingers on frame keys
2025-09-04 14:54:00 -05:00
Joshua Horton
a0ab77478a
fix(web): fix misapplication of suggestions, especially with multitaps
2025-09-04 14:29:25 -05:00
Joshua Horton
7a4f55ac72
Merge branch 'epic/autocorrect' into chore/merge-master-into-autocorrect
...
In particular, this merges in the recent changes
to `master` from #14618 that adjust the
edit-distance calculation class and simplify its
input format.
These changes intersected with some epic/autocorrect
code added by #14617 and #14462 , which needed tweaks
to work correctly with the new format.
2025-09-03 12:37:49 -05:00
Joshua Horton
770a87860a
Merge branch 'feat/web/punctuation-whitespace-reversion' into feat/web/auto-accept-on-punctuation
2025-09-03 12:21:33 -05:00
Joshua Horton
eafd32a222
Merge branch 'epic/autocorrect' into feat/web/punctuation-whitespace-reversion
2025-09-03 12:20:57 -05:00
Joshua Horton
04b11dc279
Merge pull request #14673 from keymanapp/fix/web/apply-suggestion-after-multi-whitespace
...
fix(web): fix suggestion-application when preserved text prepends extra whitespace 🚂
2025-09-04 00:00:43 +07:00
Joshua Horton
6947b3057f
Merge pull request #14670 from keymanapp/fix/web/fat-finger-index-0
...
fix(web): always place true input at lead of fat-finger distribution 🚂
2025-09-04 00:00:29 +07:00
Joshua Horton
3af5eb604c
Merge pull request #14640 from keymanapp/fix/web/wordbreak-shift-at-head
...
fix(web): improve context transition handling when wordbreaking shifts at sliding-context start 🚂
2025-09-04 00:00:12 +07:00