Commit graph

115 commits

Author SHA1 Message Date
Joshua A. Horton
bf58e1195e chore(web): mild lm-layer wtr config cleanup 2024-05-15 14:35:57 +07:00
Joshua A. Horton
eac3178d29 chore(web): pred-text wtr concurrency settings 2024-05-15 14:34:18 +07:00
Joshua A. Horton
10e5a6bac3 chore(web): final polishing for common/predictive-text 2024-05-15 14:31:38 +07:00
Joshua A. Horton
2c24f2c653 chore(web): predictive-text brower-based tests to typescript - including some TS-exclusive syntax 2024-05-15 14:31:38 +07:00
Joshua A. Horton
f36bca65fd chore(web): common/predictive-text testing - local vs CI mode 2024-05-15 14:31:37 +07:00
Joshua A. Horton
0a7c930ed4 chore(web): drops pred-text karma config files 2024-05-15 14:31:37 +07:00
Joshua A. Horton
7f9b1f0c35 chore(web): converts common/predictive-text browser-based tests 2024-05-15 14:31:36 +07:00
Joshua A. Horton
e4890f3d3d chore(web): deletes migrated test source 2024-05-09 09:49:49 +07:00
Joshua A. Horton
7a66eb29b4 fix(web): gesture-recognizer Karma tests 2024-05-07 14:35:10 +07:00
Joshua A. Horton
812de690d8 chore(web): fixes pred-text karma config
The upgrade to chai means that karma's 'framework' feature is no longer compatible, meaning a _little_ extra legwork is required to use it for karma browser tests.  It's just a little bit, though.

Will need to replicate this for the other packages that use karma to test, as the pattern kinda proliferated.
2024-05-07 14:35:09 +07:00
Joshua A. Horton
ace7474428 fix(web): fixes pred-text unit test instability 2024-04-22 15:40:37 +07:00
Joshua A. Horton
5547944991 fix(web): missed a needed .js -> .cjs 2023-05-18 08:24:20 +07:00
Joshua A. Horton
d038915524 chore(web): Merge branch 'feature-esmodule-web-engine' into change/web/element-wrapper-modularization 2023-02-03 08:46:40 +07:00
Joshua A. Horton
1b0d167d45 feat(common/models): differentiated worker constructors 2023-01-30 12:20:26 +07:00
Joshua A. Horton
fc84af4842 change(web): element-wrapper modularization + unit test conversion 2023-01-20 15:09:56 +07:00
Joshua A. Horton
66f6381f87 feat(common/models): functional lm-worker sourcemaps 2023-01-20 14:01:11 +07:00
Joshua A. Horton
39c0c0cf2e chore(common/models): lm-layer test resource refs updated; removed duplicate resources 2023-01-20 13:48:58 +07:00
Joshua A. Horton
00d0ef36a2 fix(common/models): lm-layer unit tests now operational again. Not elegant, but it works 2023-01-20 13:48:58 +07:00
Joshua A. Horton
8f945f662a chore(common/models): minor patchup 2023-01-20 13:43:32 +07:00
Joshua A. Horton
43bf49d1cd change(common/models): adds optional 'testMode' param to LMLayer config 2022-10-31 09:34:22 +07:00
Joshua A. Horton
a2c9e7e514 chore(common/models): lmlayer tests now builder-based 2022-10-03 10:59:00 +07:00
Joshua A. Horton
bac2578039 chore(web): addresses PR review comment 2022-08-02 08:10:01 +07:00
Joshua A. Horton
5a7840753f chore(web): centralizes test-start timeout config logic 2022-08-01 11:39:14 +07:00
Joshua A. Horton
405a553c06 chore(web): requireable module for common CI test-config 2022-08-01 10:54:57 +07:00
Marc Durdin
ab54c0ecb9 chore(common): more bin bashes 2022-07-25 16:03:22 +10:00
Joshua Horton
f6841333a2
Merge pull request #6557 from keymanapp/change/web/5943-ie-rooting
change(web): drops old IE-related handling code
2022-06-24 08:35:03 +07:00
Marc Durdin
0212727b98 chore: Merge branch 'master' into chore/beta-to-master-A16S4 2022-06-15 12:54:35 +10:00
jahorton
474634a90e fix(web): fixes pred-text local karma-testin config 2022-06-14 15:23:25 +07:00
jahorton
44fdec6ff5 chore(web): Merge branch 'beta' into change/web/browser-test-timeouts 2022-06-06 12:51:23 +07:00
jahorton
6e9ebb433a change(web): browser test timeout tweaks 2022-06-06 12:42:26 +07:00
Marc Durdin
f521b6ce19 chore(web): switch on additional BrowserStack reporting
Per support case with BrowserStack, am turning on deeper
reporting for BrowserStack-based testing in karma.
2022-06-05 07:53:20 +10:00
Marc Durdin
e6367af4fa
Revert 2022-05-29 13:36:53 +10:00
Marc Durdin
e37e3aa88a chore(web): update BrowserStack to chrome 90 for Windows 2022-05-29 12:50:27 +10:00
Marc Durdin
41bd9069ad chore(web): fixup lmlayer test paths 2022-05-13 09:52:08 +10:00
Marc Durdin
49eb062c65 feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-08 16:14:01 +10:00
Marc Durdin
e616900cad
Revert "feat(web): prediction casing follows current layer" 2022-04-08 14:50:32 +10:00
Marc Durdin
b7ce99480f feat(web): prediction casing follows current layer
Fixes #6455.

This involved adding an extra hint to the data passed into the lexical
model layer, being the CasingForm that the current layer wants to use.

Given there are several entry points to the lexical model layer, this
meant a few places where we needed to check the current layer.

I refactored the very long function `InputProcessor.processKeyEvent` to
extract out the `buildAlternates` function. There should be no
functional changes to the `buildAlternates` code. But it makes
`processKeyEvent` significantly easier to read.
2022-04-01 16:20:50 +11:00
Marc Durdin
5fac633fb6 fix(common): build script help param
When working on a new build script, I tripped over the `-?` question
mark help parameter here, as it needs to be escaped. Opted to fix all
the instances in our scripts, although AFAICT there would not have been
current bugs arising from this, as there were no conflicting one
character options lower in the case list.
2021-05-28 09:50:40 +10:00
jahorton
25277eaa0e chore(common/core/web): Merge branch 'master' into feat/common/core/web/input-processor-unit-tests 2020-11-10 08:27:15 +07:00
jahorton
70d569a589 feat(common/models): LoadMessage refactor, model load from raw string (for tests) 2020-11-06 14:23:05 +07:00
jahorton
07f48bdc19 fix(common/models): adjusts affected unit tests 2020-10-06 14:19:10 +07:00
jahorton
fc84fd6880 chore(common/lmlayer): Merge branch 'master' into refactor/common/lmlayer/lmlayer-worker-abstraction 2020-04-17 11:04:38 +07:00
jahorton
b9b0ff90b1 fix(common/lmlayer): fixes integrated unit tests 2020-04-17 09:57:35 +07:00
jahorton
510b667251 fix(common/lmlayer): patches up browser-based unit tests 2020-04-15 09:29:21 +07:00
Eddie Antonio Santos
98a277089c
chore(common/lmlayer): do not run tests in IE11 in Windows 2020-04-09 08:29:04 -06:00
Eddie Antonio Santos
42bc0197fb
fix(common/lmlayer): arrow fn -> fn expr (IE11 compat) 2020-04-06 11:52:14 -06:00
Eddie Antonio Santos
aa1552fbe8
fix(common/lmlayer): use IE11-friendly syntax 2020-04-06 11:30:50 -06:00
Eddie Antonio Santos
77596b2c5c
test(common/lmlayer): reproduce issue reported in community forum
https://community.software.sil.org/t/search-term-to-key-in-lexical-model-not-working-both-ways-by-default/3133
2020-04-06 09:30:28 -06:00
Eddie Antonio Santos
fea6026f71
test(common/lmlayer): add regression test for searchTermToKey 2020-04-06 09:25:50 -06:00
jahorton
4d347c3b3e fix(common): Re-enables two unit tests now functional b/c worker polyfill 2019-12-10 09:24:22 +07:00