Eberhard Beilharz
1389d40965
Merge branch 'master' into change/web/11878_remove-es5
2024-07-31 15:28:38 +02:00
Eberhard Beilharz
e42a895977
fix(web): export consts
2024-07-30 09:47:02 +02:00
Joshua Horton
32e1ed12ea
Merge pull request #11952 from keymanapp/refactor/web/correction-search-thresholding
...
refactor(web): spin off method for correction-search probability-thresholding check 📚
2024-07-30 08:47:30 +07:00
Eberhard Beilharz
fd8ffb5efc
chore(web): don't deep import and remove sub-export of util
...
Addresses code review comments and reverts eb9205f46e and
partially reverts 5552fdd5ad .
2024-07-29 17:43:34 +02:00
Joshua A. Horton
dd91671595
fix(web): prevents correction from deleting tokens
2024-07-29 15:38:27 +07:00
Joshua A. Horton
a5dc128975
chore(web): Merge branch 'master' into feat/web/case-detection-unit-tests
2024-07-29 15:04:40 +07:00
Joshua Horton
b29900ec59
Merge pull request #11949 from keymanapp/feat/web/prediction-lookup-unit-tests
...
feat(web): add unit tests for prediction lookup component 📚
2024-07-29 15:02:58 +07:00
Joshua Horton
036724d744
Merge pull request #11946 from keymanapp/feat/web/suggestion-finalization-unit-testing
...
feat(web): add unit testing for finalization of generated suggestions 📚
2024-07-29 15:02:48 +07:00
Joshua Horton
7e5903b1ab
Merge pull request #12015 from keymanapp/change/web/revert-11174
...
change(web): revert #11174 , which loads keyboards before initializing the OSK
2024-07-29 11:34:08 +07:00
Marc Durdin
0175f906c8
Merge pull request #11921 from keymanapp/refactor/windows/cleanup-engine-logging
...
refactor(windows): clean up logging
2024-07-27 11:31:37 +10:00
Eberhard Beilharz
02170dd062
chore(web): update common/web/types/src/main.ts
...
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-07-25 12:28:11 +02:00
Joshua Horton
d5929cdbed
Merge pull request #11945 from keymanapp/feat/web/suggestion-dedupe-unit-testing
...
feat(web): add unit testing for suggestion deduplication 📚
2024-07-25 13:01:11 +07:00
Joshua Horton
8ea9ec0ccb
Merge pull request #11944 from keymanapp/feat/web/suggestion-similarity-unit-testing
...
feat(web): add unit tests for suggestion-similarity detection 📚
2024-07-25 13:00:52 +07:00
Joshua Horton
6717c3cdab
Merge pull request #11948 from keymanapp/feat/web/extend-dummy-model
...
feat(web): extend unit-test oriented dummy model 📚
2024-07-25 13:00:44 +07:00
Joshua Horton
6f27797ce0
Merge pull request #11941 from keymanapp/feat/web/auto-select-unit-testing
...
feat(web): add unit tests for predict auto-selection method 📚
2024-07-25 13:00:31 +07:00
Joshua A. Horton
67ac0ba8fd
chore(web): Revert "fix(web): OSK now checks pred-text state on init"
...
This reverts commit 7466b82893 .
2024-07-25 12:04:40 +07:00
Joshua A. Horton
a9380b035d
chore(web): Merge branch 'refactor/web/lm-worker-predict' into refactor/web/stateless-predict-helpers
2024-07-25 10:31:00 +07:00
Joshua A. Horton
1734cfb2aa
chore(web): Merge branch 'refactor/web/dedupe-and-similarity' into refactor/web/lm-worker-predict
2024-07-25 10:19:28 +07:00
Joshua A. Horton
c1e8ba0e79
chore(web): Merge branch 'master' into refactor/web/dedupe-and-similarity
2024-07-25 10:16:11 +07:00
Joshua Horton
4efff2cfee
Merge pull request #11899 from keymanapp/refactor/web/predict-suggestion-finalization
...
refactor(web): extract suggestion-finalization block into its own function 📚
2024-07-25 10:10:59 +07:00
Joshua Horton
980ed88355
Merge pull request #11876 from keymanapp/fix/web/low-probability-exact-matching
...
feat(web): check for low-probability exact + exact-key correction matches 📚
2024-07-25 10:10:49 +07:00
Eberhard Beilharz
5552fdd5ad
chore(web): expose util.ts as separate sub-export
...
The exports of the `util.ts` can now be imported as
`@keymanapp/common-types/utils`. Those methods are used by developer.
We still export the `Uni_IsSurrogate*` methods in `main.js` because they
are needed by the keyboard-processor, but exporting everything would
increase the size of the resulting `keymanweb.js`. Doing it this way
keeps the size the same.
2024-07-24 17:33:48 +02:00
Joshua A. Horton
d3c9a9f3f3
chore(web): minor cleanup for variable: let -> const
2024-07-24 12:15:18 +07:00
Joshua A. Horton
0f351943be
chore(web): test name rework
2024-07-24 12:05:59 +07:00
Joshua A. Horton
854f53360f
chore(web): minor test-name tweaks
2024-07-24 10:59:49 +07:00
Joshua A. Horton
d132eed84b
change(web): alters test names
2024-07-24 10:54:48 +07:00
Joshua A. Horton
dc4aeccfdd
refactor(web): refactor branch commit - extract common auto-test setup
2024-07-24 10:54:15 +07:00
Joshua Horton
f5f3c31548
Merge pull request #11970 from keymanapp/fix/web/no-post-revert-auto-accept
...
fix(web): prevents auto-accept immediately after reversion
2024-07-23 15:36:06 +07:00
Joshua Horton
a17e02a3d1
Merge pull request #11969 from keymanapp/fix/web/preserve-context-suggestion
...
fix(web): present a "keep" option when a context-altering suggestion is auto-selected
2024-07-23 15:35:57 +07:00
Marc Durdin
d6010ce8f9
Merge pull request #11957 from keymanapp/fix/developer/handle-auto-versioning-of-u_xxxx_yyyy
...
feat(developer): automatically detect version for `U_xxxx_yyyy` ids
2024-07-23 18:11:37 +10:00
Marc Durdin
05edc8a7ce
Merge branch 'master' into refactor/windows/cleanup-engine-logging
2024-07-23 17:29:55 +10:00
Joshua Horton
8d3aac2348
chore(web): apply code-simplifying suggestion
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-07-23 14:05:51 +07:00
Joshua Horton
1945965d8a
chore(web): apply suggestion
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-07-23 12:24:22 +07:00
Joshua A. Horton
852b8e83f4
chore(web): improve auto-test references to globals in #11881
2024-07-23 08:28:23 +07:00
Eberhard Beilharz
98691e5759
change(web): improve casts
...
Addresses code review comment.
2024-07-22 19:31:56 +02:00
Eberhard Beilharz
6e41faec52
change(web): use different output directory for tests
...
Put production module and test modules in different output subdirectories.
This addresses code review comments.
2024-07-22 19:31:42 +02:00
Eberhard Beilharz
9de6818ed5
chore(web): output different build steps for keyboard-processor
...
This makes it easier to see which part of the build fails.
2024-07-22 18:36:58 +02:00
Joshua Horton
714d590a9b
Merge pull request #11933 from keymanapp/fix/web/worker-unit-test-stability
...
fix(web): remedy unit-test stability issues
2024-07-22 09:05:28 +07:00
Joshua A. Horton
2562fd268b
chore(web): comment tweak
2024-07-17 10:38:38 +07:00
Joshua A. Horton
0e3259237c
fix(web): improve handling of post-reversion suggestions
2024-07-17 10:37:58 +07:00
Joshua A. Horton
c491f10406
fix(web): prevents auto-accept immediately after reversion
2024-07-16 15:11:31 +07:00
Joshua A. Horton
6b4fc29a30
fix(web): present a "keep" option when a context-altering suggestion is auto-selected
...
Addresses part of #11963 .
2024-07-16 12:25:20 +07:00
Marc Durdin
3497e97b00
feat(developer): automatic version detection for U_xxxx_yyyy ids
...
Currently, automatic Keyman minimum version determination works for all
features in Keyman keyboards _except_ `U_xxxx_yyyy` touch key
identifiers.
This change adds the automatic keyboard versioning functionality to the
keymanweb compiler as well, following the pattern that's in kmcmplib.
This makes the `store(&version)` line completely optional, and it may
be possible to deprecate it in future versions of Keyman Developer.
2024-07-13 07:28:18 +10:00
Joshua A. Horton
e4d9cdc865
refactor(web): spin off method for correction-search probability-thresholding check
...
The refactor allows this logic to be unit-tested far more easily. We additionally leverage this fact and add corresponding unit-tests within this PR.
2024-07-12 09:00:56 +07:00
Joshua A. Horton
88ed20cbcb
chore(web): fix typo in dummy-model config for suggestion-finalization tests
2024-07-11 16:09:31 +07:00
Joshua A. Horton
63842056d5
feat(web): add unit tests for case-detection & handling
2024-07-11 13:02:26 +07:00
Joshua A. Horton
47a12c3375
feat(web): add unit tests for prediction lookup component
2024-07-11 10:28:57 +07:00
Joshua A. Horton
682bb4676c
feat(web): add unit testing for suggestion finalization
2024-07-11 10:26:11 +07:00
Joshua A. Horton
7fd30449f3
feat(web): add unit testing for suggestion deduplication
2024-07-11 10:22:01 +07:00
Joshua A. Horton
6d223ce678
chore(web): fix formatting
2024-07-11 10:21:07 +07:00