Commit graph

5707 commits

Author SHA1 Message Date
Joshua Horton
813beeb988
Merge pull request #15415 from keymanapp/change/web/rename-module-prop-name
change(web): rename .searchSpace property to .searchModule 🚂
2026-01-22 04:57:31 +07:00
Joshua Horton
221ac83edc
Merge pull request #14921 from keymanapp/refactor/web/simple-search-space-reuse
refactor(web): simple reuse of search modules 🚂
2026-01-22 04:57:19 +07:00
Joshua Horton
79ebd76573
Merge pull request #14920 from keymanapp/refactor/web/relocate-search-space
refactor(web): relocate SearchSpace definition as SearchQuotientSpur, tests to own code file 🚂
2026-01-22 04:57:09 +07:00
Joshua Horton
6067807ab8
Merge pull request #15161 from keymanapp/docs/web/add-search-space-doc
docs(web): start internal doc on SearchSpace design, requirements, and analysis 🚂
2026-01-22 04:56:58 +07:00
Joshua Horton
20d7855eb8
Merge pull request #14916 from keymanapp/refactor/web/correction-heuristic-and-thresholding
refactor(web): rework correction heuristic and thresholding toward multi-tokenization support 🚂
2026-01-22 04:56:46 +07:00
Joshua Horton
aaaab2eafc docs(web): clarify keystroke non-independence 2026-01-20 14:50:39 -06:00
Keyman Server
ad5e35e8ad
Merge branch 'epic/autocorrect' into auto/A19S20-merge-master-into-autocorrect 2026-01-16 08:35:55 +01:00
Joshua Horton
340406cdfc change(web): rename .searchSpace property to .searchModule
Build-bot: skip build:web
Test-bot: skip
2026-01-09 10:24:29 -06:00
Joshua Horton
4b201870e9 refactor(web): implement simple search-quotient-spur reuse
This changes SearchQuotientSpur to construct new instances whenever the path is extended, treating SearchQuotientSpur as an immutable portion of the search graph that may be extended by new input, creating new instances of SearchQuotientSpur.

This, in turn, removes the need to clone SearchQuotientSpur instances when new input is received for an incoming token; the original instance's represention will remain unchanged and may also be reused by a new instance extending the graph for the newly-received input.

Relates-to: #14445

Build-bot: skip build:web
Test-bot: skip
2026-01-09 10:06:56 -06:00
Joshua Horton
eba03c3ea2 Merge branch 'docs/web/add-search-space-doc' into refactor/web/relocate-search-space 2026-01-09 09:57:55 -06:00
Joshua Horton
1bbbd6f79c docs(web): fix typo 2026-01-09 09:54:51 -06:00
Joshua Horton
ac68b5de92 docs(web): remove excess TODO 2026-01-09 09:37:53 -06:00
Joshua Horton
d493f607c2 docs(web): address review comments 2026-01-09 09:36:50 -06:00
Joshua Horton
be59706d37 docs(web): update graph-doc names for upcoming classes 2026-01-09 09:17:12 -06:00
Joshua Horton
dc1cd3b792 docs(web): fix graph title 2026-01-09 09:03:24 -06:00
Joshua Horton
ca96212ab3 docs(web): enhance left-deletion doc comment 2026-01-09 09:03:24 -06:00
Joshua Horton
8b3356bfb4 docs(web): completes first draft of the alternate approach for correction-search documentation 2026-01-09 09:03:24 -06:00
Joshua Horton
7edf022dee docs(web): adds 'insert', 'delete' quotient graphs 2026-01-09 09:03:24 -06:00
Joshua Horton
e119fe5004 docs(web): adds initial quotient-graph visualizations 2026-01-09 09:03:24 -06:00
Joshua Horton
585e89196f docs(web): add doc updates 2026-01-09 09:03:24 -06:00
Joshua Horton
f3789bbb3a docs(web): start alternate doc using different explanation strategy 2026-01-09 09:03:24 -06:00
Joshua Horton
0c8851f058 docs(web): tweak getBestMatches.tests.ts header comment 2026-01-07 10:12:48 -06:00
Joshua Horton
4d6130e6e2 fix(web): set proper name for test suite 2026-01-05 15:24:00 -06:00
Joshua Horton
65c8c86cd1 change(web): rename test suite for primary correction-space search method testing 2026-01-05 13:36:35 -06:00
Joshua Horton
c02de14e03 Merge branch 'refactor/web/correction-heuristic-and-thresholding' into refactor/web/relocate-search-space 2026-01-05 13:04:32 -06:00
Joshua Horton
574caebea7 change(web): fix comment typo, simplify constructor section 2026-01-05 13:02:40 -06:00
Joshua Horton
4940caa20f change(web): rename SearchPath as SearchQuotientSpur 2026-01-05 12:32:49 -06:00
Joshua Horton
7ea8077d84
Merge pull request #15296 from keymanapp/change/web/eliminate-unused-props
change(web): eliminate unreferenced ClassicalDistanceCalculation properties 🚂
2025-12-11 21:20:33 +07:00
Joshua Horton
8f8ed3a210
Merge pull request #15294 from keymanapp/docs/web/doc-classical-distance-calc
docs(web): add doc-comments for `ClassicalDistanceCalculation` class, methods, and helpers 🚂
2025-12-11 21:20:23 +07:00
Eberhard Beilharz
f8dbd6963b
Merge pull request #15313 from keymanapp/docs/web/fixtypo 2025-12-09 12:33:18 +01:00
Eberhard Beilharz
df806e10b6
docs(web): remove specific version from documentation
This removes the specific version from the control-by-control example
and thus makes it similar to the other examples where we use a relative
path. `get-started.md` and the *.html files will still show how this can
be done with a specific version.

Build-bot: skip
Test-bot: skip
2025-12-08 10:26:09 +01:00
Eberhard Beilharz
a18ad08a8f
docs(web): update version in documentation
Addresses a code review comment.
2025-12-08 10:20:00 +01:00
Eberhard Beilharz
4e291b8ef1
Update web/docs/engine/guide/get-started.md
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-12-08 10:14:33 +01:00
Eberhard Beilharz
a1ec9371e6
docs(web): fix typo in osk documentation 2025-12-05 17:39:11 +01:00
Eberhard Beilharz
22c8a66731
docs(web): add links to next/previous page to web guide
Build-bot: skip
Test-bot: skip
2025-12-05 15:54:46 +01:00
Keyman Server
a66ba126b8
Merge branch 'epic/autocorrect' into auto/A19S17-merge-master-into-autocorrect 2025-12-05 07:58:35 +01:00
Joshua Horton
ac0f397a9d change(web): eliminate unreferenced ClassicalDistanceCalculation properties 2025-12-04 15:47:03 -05:00
Joshua Horton
ed0c08ee34 docs(web): add doc-comments for ClassicalDistanceCalculation class, methods, and helpers 2025-12-04 11:57:24 -05:00
Marc Durdin
a09c3064bb maint(common): pass 'test' flag in to builder_launch test.sh
Long-term builder_launch may need to handle the default action in child
builds, but this is really an outlier and for now, fixing here.

This resolves a situation where the unit tests were not running for web
after the builder_launch update.

Fixes: #15130
Build-bot: skip build:web
2025-12-02 10:29:09 +01:00
Marc Durdin
c524db41b9 maint(common): use builder_launch for child builds
Fixes: #15130
Test-bot: skip
2025-12-02 06:17:31 +01:00
Keyman Server
30cc4db49c
Merge branch 'epic/autocorrect' into auto/A19S16-merge-master-into-autocorrect 2025-11-20 11:08:33 +01:00
Eberhard Beilharz
ef64529300
Merge pull request #15159 from keymanapp/fix/web/defaultpath
fix(web): improve determination of default path

Browser extensions can dynamically insert scripts into a web page, so it's possible that the last script is not what we expected, which can cause the path to the script to be wrong. This change fixes the determination of the default path by using the `document.currentScript` property. It also replaces the use of the deprecated `substr` function in those places.

Fixes: #15158
2025-11-14 14:50:44 +01:00
Marc Durdin
57c0fa3d03
Merge pull request #15129 from keymanapp/maint/resources/builder_launch
maint(resources): add `builder_launch` function
2025-11-14 14:24:19 +01:00
Eberhard Beilharz
fc04e2445b
fix(web): address code review comments
Deal with `currentScript` being null/undefined.
2025-11-14 12:35:59 +01:00
Eberhard Beilharz
cb1a308418
fix(web): improve determination of default path
Browser extensions can dynamically insert scripts into a web page, so
it's possible that the last script is not what we expected, which
can cause the path to the script to be wrong. This change fixes the
determination of the default path by using the `document.currentScript`
property. It also replaces the use of the deprecated `substr` function
in those places.

Fixes: #15158
Test-bot: skip
2025-11-13 18:41:27 +01:00
Joshua Horton
f61cdfb1de change(web): address MD PR review concerns 2025-11-13 08:47:18 -06:00
Joshua Horton
a03601eb71 change(web): do not relocate PathResult type definitions 2025-11-10 11:40:33 -06:00
Eberhard Beilharz
408514daf3
Update web/src/engine/js-processor/src/deadkeys.ts
Co-authored-by: Marc Durdin <marc@durdin.net>
2025-11-10 12:00:28 +01:00
Marc Durdin
5dbc438f53 maint(resources): add builder_launch function
Use `builder_launch` to launch other builder scripts rather than calling
directly, so that inheritable state and options are passed through.

Test-bot: skip
2025-11-10 11:46:14 +01:00
Eberhard Beilharz
269d619ed9
docs(web): add another clarifying comment 2025-11-07 17:32:33 +01:00