Commit graph

645 commits

Author SHA1 Message Date
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
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
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
Joshua Horton
e819630c67 change(web): add 'type' for circular import (per AI review)
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 09:19:07 -05:00
Joshua Horton
8232cb3c1a fix(web): restore explicit interface implementation 2026-04-22 09:17:13 -05:00
Joshua Horton
4a4e996cb1 Merge branch 'refactor/web/extract-duplicate-result-filter' into feat/web/correction-search-abstraction 2026-04-22 09:16:59 -05:00
Joshua Horton
50cf4b997e fix(web): require helper argument required in main version of function
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 09:09:08 -05:00
Joshua Horton
6abf6ed08c fix(web): ensure newly-mapping result is returned from clusters 2026-04-22 09:08:46 -05:00
Joshua Horton
99e3fd9346 Merge branch 'refactor/web/move-and-rename-SearchResult' into change/web/fix-result-spaceId-remapping
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-22 08:43:37 -05:00
Joshua Horton
a4f392fb2a Merge branch 'refactor/web/extract-duplicate-result-filter-extended' into feat/web/correction-search-abstraction-extended 2026-04-21 16:56:27 -05:00
Joshua Horton
92bc44ef13 Merge branch 'change/web/fix-result-spaceId-remapping-extended' into refactor/web/extract-duplicate-result-filter-extended 2026-04-21 16:34:40 -05:00
Joshua Horton
8a430ca637 change(web): increase TokenResultMapping encapsulation to prevent .spaceId ambiguity 2026-04-21 16:27:55 -05:00
Joshua Horton
e4a8d0551d Merge branch 'epic/autocorrect' into refactor/web/move-and-rename-SearchResult
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-21 16:22:27 -05:00
Joshua Horton
92b1387a29 change(web): add TokenResultMapping construction null guard 2026-04-20 17:00:30 -05:00
Joshua Horton
e9f0be4cb3 Merge branch 'refactor/web/extract-duplicate-result-filter' into feat/web/correction-search-abstraction
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-20 16:58:00 -05:00
Joshua Horton
2710b261d8 fix(web): undo accidental sign-change in extracted filter method
Some checks failed
Keyman Build Summary / Summarize build status checks (push) Has been cancelled
2026-04-20 16:52:25 -05:00
Joshua Horton
a382b343e1 Merge branch 'change/web/return-search-token-mapping' into refactor/web/extract-duplicate-result-filter 2026-04-20 16:51:30 -05:00
Joshua Horton
3f6722e0a5 fix(web): constructor should also remap spaceId 2026-04-20 16:40:37 -05:00