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
jahorton
1fbb093262
change(common): IE unit test bypass - return -> this.skip
2019-12-06 08:27:51 +07:00
Joshua A. Horton
7cab14b4c1
fix(common): lmlayer unit test failure in IE due to wordbreaker swap
2019-12-04 08:53:20 +07:00
Eddie Antonio Santos
13c5a4cdd5
Trie to appease IE...
2019-07-30 09:47:15 -06:00
Eddie Antonio Santos
fe0a99c6e4
Merge branch 'master' into lmlayer-specify-punctuation
2019-07-30 09:22:34 -06:00
Eddie Antonio Santos
ada6af46f6
Fix old dummy model test case.
2019-07-25 16:05:04 -06:00
Marc Durdin
e413b96a65
[LMLayer] Disable Firefox and Edge in unit tests
2019-07-26 07:05:57 +10:00
jahorton
7b1c03682a
Bypasses IE unit test failure for wordbreaks.
2019-07-02 08:13:44 +07:00
jahorton
0a0cfd0e97
Adds integrated wordbreaking test case
2019-07-01 10:03:22 +07:00
Eddie Antonio Santos
c938767da7
Fix in-browser test.
2019-06-12 15:26:52 -06:00
Eddie Antonio Santos
41375e4731
Extract sum weights from trie to model compiler.
2019-06-12 15:06:13 -06:00
Eddie Antonio Santos
a8dfaaa5aa
Merge pull request #1817 from keymanapp/lmlayer-string-normalize
...
[LMLayer] Partial workaround for lack of String.prototype.normalize() support.
2019-06-07 08:53:19 -06:00