Commit graph

5478 commits

Author SHA1 Message Date
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
Joshua Horton
65dc3733a4
Merge pull request #14617 from keymanapp/feat/web/edit-path-ranking
feat(web): determine all equal-cost edit-paths & rank them by quality 🚂
2025-09-04 00:00:02 +07:00
Joshua Horton
80617bfcad
Merge pull request #14615 from keymanapp/feat/web/visualize-distance-calculation
feat(web): add method that provides visualization for edit-distance calculations 🚂
2025-09-03 23:59:51 +07:00
Joshua Horton
2ec76c70ba
Merge pull request #14575 from keymanapp/change/web/map-transform-tokenization
change(web): map tokenized transform by index relative to context tail 🚂
2025-09-03 23:59:43 +07:00
Joshua Horton
1a1fd79813
Merge pull request #14573 from keymanapp/refactor/web/independent-compute-alignment
refactor(web): move computeAlignment core to standalone method 🚂
2025-09-03 23:59:33 +07:00
Joshua Horton
581e861285
Merge pull request #14476 from keymanapp/fix/web/sliding-tokenization-alignment
fix(web): prevent preserved leading-token text from breaking alignment 🚂
2025-09-03 23:59:22 +07:00
Joshua Horton
2b317689f1
Merge pull request #14558 from keymanapp/fix/web/post-bksp-applies
fix(web): handle suggestion application after backspacing 🚂
2025-09-03 23:59:00 +07:00
Joshua Horton
8d51fbb7f2
Merge pull request #14470 from keymanapp/change/web/cache-states-selectively
change(web): do not cache context states that will no longer be referenced 🚂
2025-09-03 23:58:52 +07:00
Joshua Horton
29fc43e423
Merge pull request #14471 from keymanapp/refactor/web/analyze-state-transition
refactor(web): move attemptMatchContext to ContextState.analyzeTransition 🚂
2025-09-03 23:58:44 +07:00
Joshua Horton
a636b5bb7a Merge branch 'epic/autocorrect' into refactor/web/tokenization-transition 2025-09-03 10:40:56 -05:00
Joshua Horton
78cdfe4cd1
Merge pull request #14443 from keymanapp/change/web/suggestion-tracking
change(web): rework applied-suggestion tracking + reversions 🚂
2025-09-03 22:38:56 +07:00
Joshua Horton
a28fde81b7
Merge pull request #14442 from keymanapp/change/web/cache-context-transitions
change(web): cache context transition objects, not just context state 🚂
2025-09-03 22:38:47 +07:00
Joshua Horton
191db9cba9
Merge pull request #14618 from keymanapp/refactor/web/simplify-calculation-inputs
refactor(web): simplify edit-distance calculation-object inputs
2025-09-03 22:11:00 +07:00
Joshua Horton
770ac2a13f
Merge pull request #14592 from keymanapp/feat/web/search-subset-batching
feat(web): batch correction-search paths by related subsets
2025-09-03 22:10:46 +07:00
Joshua Horton
6969206701
Merge pull request #14581 from keymanapp/feat/web/transform-cataloging
feat(web): adds transform cataloging methods to predictive-text worker
2025-09-03 22:10:38 +07:00
Eberhard Beilharz
3e3cccc97d
Apply suggestions from code review
Co-authored-by: Darcy Wong <darcy_wong@sil.org>
2025-09-03 08:42:39 +02:00
Joshua Horton
18863f0357 Merge branch 'fix/web/wordbreak-shift-at-head' into fix/web/fat-finger-index-0 2025-09-02 15:42:17 -05:00
Joshua Horton
0b0553a432 feat(web): adds extra unit test 2025-09-02 15:38:38 -05:00
Joshua Horton
d7e6987637 feat(web): add extra unit test 2025-09-02 15:03:08 -05:00
Joshua Horton
7b7854a3c4 fix(web): fix suggestion-application when preserved text prepends extra whitespace 2025-09-02 13:27:29 -05:00
Joshua Horton
d5f08330fb Merge branch 'fix/web/wordbreak-shift-at-head' into fix/web/fat-finger-index-0 2025-09-02 10:32:12 -05:00
Joshua Horton
40ffbf2cd8 Merge branch 'feat/web/edit-path-ranking' into fix/web/wordbreak-shift-at-head 2025-09-02 10:31:26 -05:00
Joshua Horton
ccf51a6b47 Merge branch 'feat/web/visualize-distance-calculation' into feat/web/edit-path-ranking 2025-09-02 10:30:07 -05:00
Joshua Horton
8cf438c8bc Merge branch 'change/web/map-transform-tokenization' into feat/web/visualize-distance-calculation 2025-09-02 10:29:41 -05:00
Joshua Horton
e584d6a4a2 feat(web): add unit tests for handling multiple adjacent whitespaces before caret 2025-09-02 10:29:02 -05:00
Joshua Horton
79b063d39d fix(web): always place true input at lead of fat-finger distribution
This removes a few places where the distribution was sorted, as there are cases where a different key can have higher probability than the one actually tapped.
2025-09-02 10:07:18 -05:00
Joshua Horton
41de8888ce fix(web): improve context transition handling when wordbreaking shifts at sliding-context start 2025-09-02 08:55:45 -05:00
Eberhard Beilharz
f166f11d14
docs(common): update docs Keyman Desktop → Keyman for Windows
Also change path to engine help pages. This requires a corresponding
change in help.keyman.com.

Test-bot: skip
2025-09-02 14:29:53 +02:00