Commit graph

642 commits

Author SHA1 Message Date
Joshua Horton
e225b26f10 change(web): add unit tests for issues fixed by this PR
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-07-23 15:52:53 -05:00
Joshua Horton
5a1e23d727 fix(web): handle prediction whitespace-input, backspace-input edge cases better
Fixes: #16271
Fixes: #16272

Build-bot: skip release:web,android,ios
2026-07-21 13:40:21 -05:00
Joshua Horton
13af7821c3 fix(web): prevent backspace from clustering with output keys 2026-07-21 13:40:21 -05:00
Joshua Horton
f3e0f0bfd5
Merge pull request #16123 from keymanapp/fix/web/block-keep-autoaccept
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
fix(web): do not auto-select model-matching keep suggestions 🚂
2026-07-09 21:27:09 +07:00
Joshua Horton
3263392908
Merge pull request #16208 from keymanapp/change/web/stop-negation-of-reversion-transition-id
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
change(web): stop negation of reversion transition IDs 🚂
2026-07-09 01:33:40 +07:00
Joshua Horton
21c18a4ca5
change(web): Apply suggestion from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2026-07-09 00:51:10 +07:00
Joshua Horton
a5382b298e
Merge pull request #16148 from keymanapp/change/web/transition-id-nomenclature
change(web): polish documentation, remove Suggestion.transformId in predictive text 🚂
2026-07-09 00:44:10 +07:00
Joshua Horton
94e67290e1 change(web): stop negation of reversion transition IDs
Build-bot: skip build:web
Test-bot: skip
2026-07-06 10:07:15 -05:00
Joshua Horton
a14aca9214 Merge branch 'epic/autocorrect' into fix/web/block-keep-autoaccept 2026-07-06 08:34:02 -05:00
Joshua Horton
6f72c2f75c change(web): drops repeated fields from extended class 2026-07-06 08:28:39 -05:00
Joshua Horton
4fbfcb9940 change(web): clarify merge, split edit token-mapping types
Build-bot: skip build:web
Test-bot: skip
2026-06-30 10:40:00 -05:00
Joshua Horton
b14fe90894 change(web): polish documentation + uses of transition ID in predictive text
- Drops the `Suggestion.transformId` field in favor of just reusing `.transform.id`
- Updates documentation on .transform.id as a unique identifier of the transition,
not specific to a single Transform.

Does not modify the `.transform` or `.id` properties because we've been publishing
lexical model types, and that would change the public model API.

Build-bot: skip build:web
Test-bot: skip
2026-06-26 12:48:16 -05:00
Joshua Horton
229e535592 docs(web): add doc-comments for context-tokenization.ts params, types
Build-bot: skip build:web
Test-bot: skip
2026-06-22 15:30:45 -05:00
Joshua Horton
b029b1993b fix(web): do not auto-select model-matching keep suggestions
Fixes: #12312

Do, however, prevent auto-selection of any other suggestion when a model-matching 'keep' is available.

Build-bot: skip build:web build:android build:ios
2026-06-22 13:52:48 -05:00
Joshua Horton
4632f9809e Merge branch 'epic/autocorrect' into auto/A19S30-merge-master-into-autocorrect 2026-06-09 14:50:36 -05:00
Eberhard Beilharz
94da9183eb
Merge pull request #15912 from keymanapp/docs/web/fixtypos
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-08 17:18:16 +02:00
Eberhard Beilharz
c414904da8
docs(web): fix minor typo and add links
Build-bot: skip
Test-bot: skip
2026-05-06 11:27:28 +02:00
Joshua Horton
7b52db2e84
Merge pull request #15855 from keymanapp/feat/web/quotient-node-finalizer
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): adds finalizer quotient-node type for facilitating multi-word corrections 🚂
2026-05-06 02:53:08 +07:00
Joshua Horton
656b392bc8
Merge pull request #15162 from keymanapp/feat/web/search-space-node-propagation
feat(web): ensure all child spaces are notified when parent reaches end of a correction path 🚂
2026-05-06 02:52:57 +07:00
Joshua Horton
64b7807658
Merge pull request #15818 from keymanapp/feat/web/multi-token-corrector
feat(web): add classes for use in multi-token correction 🚂
2026-05-06 02:52:46 +07:00
Joshua Horton
f7a7978852 change(web): adjustments per PR review 2026-05-05 14:42:23 -05:00
Joshua Horton
2f7b1fadf0 fix(web): missed inclusion in merge conflict resolution 2026-05-05 14:39:39 -05:00
Joshua Horton
e2de46f609 Merge branch 'feat/web/search-space-node-propagation' into feat/web/quotient-node-finalizer 2026-05-05 14:36:26 -05:00
Joshua Horton
91fe1b1382 Merge branch 'feat/web/multi-token-corrector' into feat/web/search-space-node-propagation
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-05-05 12:27:02 -05:00
Joshua Horton
91b097f7a4 change(web): address other concerns from PR review 2026-05-05 12:25:35 -05:00
Joshua Horton
3c03a53e64 change(web): address multiple concerns from PR review 2026-05-05 12:18:23 -05:00
Joshua Horton
7fa980e0ef
docs(web): clarify doc-comment on TokenizationCorrector uncorrectable vs correctable entries
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-05 20:46:07 +07:00
Joshua Horton
33dea12729
change(web): add return-type suggestion from PR review
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-05-05 20:44:29 +07:00
Joshua Horton
65e8932eb2 change(web): address PR review concerns
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
Adds lots of documentation, adjusts name of one field and property, and has `TokenResultMapping` explicitly inherit from the new `TokenResult` interface that abstracts it further.
2026-04-28 11:41:15 -05:00
Joshua Horton
0bb69a5a69 Merge branch 'epic/autocorrect' into change/web/suggestion-range
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-24 11:11:02 -05:00
Joshua Horton
c251def81f
Merge pull request #15817 from keymanapp/feat/web/correction-search-abstraction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
feat(web): add abstraction for main correction-search algorithm, leveraged types 🚂
2026-04-24 23:10:11 +07:00
Joshua Horton
d54f0cfef3 change(web): store cost in deduplication object, not actual results 2026-04-24 10:32:32 -05:00
Joshua Horton
7f8555ffd8 Merge branch 'change/web/return-search-token-mapping' into refactor/web/extract-duplicate-result-filter 2026-04-24 10:28:12 -05:00
Joshua Horton
117ce99989 Merge branch 'epic/autocorrect' into change/web/return-search-token-mapping 2026-04-24 09:59:36 -05:00
Joshua Horton
14a86afeb4 change(web): fix imports after suggested change 2026-04-24 09:26:02 -05:00
Joshua Horton
e59e474923 Merge branch 'refactor/web/extract-duplicate-result-filter' into feat/web/correction-search-abstraction 2026-04-24 09:13:55 -05:00
Joshua Horton
7766c99273
change(web): explicitly import CorrectionResultMapping type
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-04-24 21:11:49 +07:00
Joshua Horton
f0c7084dc2 change(web): re-filter previously returned results 2026-04-24 08:52:47 -05:00
Joshua Horton
4dae9255e0
change(web): Apply EB suggestions from code review
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2026-04-24 20:40:15 +07:00
Joshua Horton
b92642e35a feat(web): TokenizationCorrector should track returned results
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 15:35:36 -05:00
Joshua Horton
3e5e78a023 fix(web): remove any exhausted token from further correction, not just the prediction-supporting one 2026-04-22 15:15:57 -05:00
Joshua Horton
e81ae0a1dd change(web): support baseline non-correction if token proves uncorrectable 2026-04-22 15:01:19 -05:00
Joshua Horton
2a5f90757a change(web): use QuotientNodeFinalizer within TokenizationCorrector
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 13:44:22 -05:00
Joshua Horton
700d4b5a2b feat(web): adds finalizer quotient-node type for facilitating multi-word corrections
Build-bot: skip build:web
Test-bot: skip
2026-04-22 13:44:16 -05:00
Joshua Horton
7c95d08068 change(web): remove rebase commented-line artifact
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-04-22 13:16:27 -05:00
Joshua Horton
bde82ad60b feat(web): add unit-tests that verify result propagation mechanisms
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 12:53:10 -05:00
Joshua Horton
a9fe2f6f73 feat(web): add multi-space search unit tests 2026-04-22 12:53:10 -05:00
Joshua Horton
2faa96754c feat(web): ensure all child spaces are notified when parent reaches end of a correction path
Build-bot: skip build:web
Test-bot: skip
2026-04-22 12:53:10 -05:00
Joshua Horton
70f04e618e fix(web): clean up TokenizationCorrector.handleNextNode 2026-04-22 12:52:23 -05:00
Joshua Horton
af3f2ee277 fix(web): add upper bound for token correction length 2026-04-22 12:39:29 -05:00