Commit graph

1928 commits

Author SHA1 Message Date
Joshua Horton
a7371ea3ec feat(ios): add per-language autocorrect toggle
Does not actually pass the toggle's setting to KMW yet.

Build-bot: skip build:ios
2026-06-23 13:18:42 -05:00
Joshua Horton
4632f9809e Merge branch 'epic/autocorrect' into auto/A19S30-merge-master-into-autocorrect 2026-06-09 14:50:36 -05:00
Marc Durdin
bf1e272d17 chore: remove commented code
Some checks are pending
Keyman Build Summary / Summarize build status checks (push) Waiting to run
2026-06-01 16:56:00 +02:00
Marc Durdin
ee8e3e8664 chore: remove keymancore.d.ts 2026-06-01 16:54:45 +02:00
Marc Durdin
fc82f28b2d chore(web): web-core preflight - strip core references
In order to maintain roughly the current build artifact size, strip out
the unfinished core integration from what we merge with preflight.

Test-bot: skip
Build-bot: release:android,ios,developer,web
2026-06-01 14:44:45 +02:00
Marc Durdin
9f75726344 chore(web): Merge branch 'master' into chore/web-core-preflight 2026-05-28 13:47:36 +02:00
Eberhard Beilharz
78ea935fe5
docs(web): reformat and small fixes
- rewrap lines
- change http:// to https://

Build-bot: skip
Test-bot: skip
2026-05-27 19:55:36 +02: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
Joshua Horton
7e594e08a6 fix(web): add proper TokenizationResultMapping test export 2026-04-22 11:25:47 -05:00
Joshua Horton
9fc7c23a58 change(web): TokenizationCorrector should use quotient-nodes internally for queue
This, plus the upcoming QuotientNodeFinalizer class, will support result forwarding in multi-tokenization contexts during multi-token & multi-tokenization correction.
2026-04-22 11:25:47 -05:00
Joshua Horton
f99ad233b4 docs(web): add tokenization-corrector.ts header 2026-04-22 11:25:47 -05:00
Joshua Horton
fee2eced76 feat(web): add TokenizationCorrector unit tests 2026-04-22 11:25:47 -05:00
Joshua Horton
595bb2f2d8 feat(web): add classes for use in multi-token correction
Build-bot: skip build:web
Test-bot: skip
2026-04-22 11:25:47 -05:00
Joshua Horton
e506b90d81 change(web): add null & empty token-array guards
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 11:24:46 -05:00
Joshua Horton
be45f31e01 feat(web): add unit tests for determineSuggestionRange 2026-04-22 11:06:32 -05:00
Joshua Horton
950c3bbe6a feat(web): implement multi-token suggestion-application range calculation
This PR calculates the range of context - possibly comprised of multiple tokens - removed from the prior context and/or appended via incoming input - caused when applying a suggestion.  This new approach is much better suited toward operation under whitespace fat-fingering conditions than the original approach.

Build-bot: skip build:web
Test-bot: skip
2026-04-22 11:06:32 -05:00