Commit graph

188 commits

Author SHA1 Message Date
Joshua Horton
604d2fcb11
Merge pull request #11424 from keymanapp/chore/web/partial-config-cleanup
chore(web): clean up remaining low-level Web .tsconfig settings 🔩
2024-06-03 15:16:00 +07:00
Eberhard Beilharz
47e8d3db57
Merge pull request #11594 from keymanapp/fix/web/11593_undefinedConfig
fix(web): Don't apply suggestion unless fully configured
2024-06-03 09:01:22 +02:00
Joshua A. Horton
46e4518749 chore(web): Merge branch 'master' into chore/web/partial-config-cleanup 2024-06-03 10:57:51 +07:00
Eberhard Beilharz
9cac9772dc
Update common/web/input-processor/src/text/prediction/languageProcessor.ts
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-05-31 10:57:04 +02:00
Joshua A. Horton
5abd621ddc change(web): isKeyNotCorrected -> isFrameKey 2024-05-31 13:58:31 +07:00
Joshua Horton
c4932b7fd1
docs(web): adds suggested documentation from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-05-31 10:06:05 +07:00
Eberhard Beilharz
c85ae47a20
change(web): Output warning if we can't apply suggestion
This addresses code review comments. We output a separate error if
the configuration isn't yet set because the model isn't fully loaded yet.
2024-05-29 19:25:25 +02:00
Joshua A. Horton
12c91d90c3 fix(web): better suggestionApplier fix for the 'reversion' path 2024-05-29 10:36:38 +07:00
Joshua A. Horton
04244415a4 chore(web): resolves some nits observed in review 2024-05-29 10:36:37 +07:00
Joshua A. Horton
3530314cbd chore(web): noImplicitReturns, strictNullChecks 2024-05-29 10:36:37 +07:00
Joshua A. Horton
b56628ea24 chore(web): removes all Web-related implicit-any usage outside of web/ and common/web/gesture-recognizer 2024-05-29 10:36:30 +07:00
Joshua A. Horton
be1cc343ef change(web): remove broken redundant check for keys to not correct 2024-05-29 10:22:28 +07:00
Joshua A. Horton
826204cdc1 chore(web): cleans up unused locals outside of web/ 2024-05-29 09:24:16 +07:00
Eberhard Beilharz
8dc30c9d28
fix(web): Don't apply suggestion unless fully configured
We can't really apply a suggestion unless we have the configuration object
(that provides the context).

Fixes: #11593
Fixes: KEYMAN-WEB-FX
2024-05-28 20:55:35 +02:00
Joshua A. Horton
a34e5c9100 fix(web): EventEmitter import pattern update 2024-05-09 08:49:50 +07:00
Joshua A. Horton
ad8bdaa4c1 chore(web): updates eventemitter3 to v5, when it provides esmodule exports 2024-05-09 08:49:50 +07:00
Joshua A. Horton
01d0019d86 chore(web): removes package.json references to old @npm/types versions 2024-05-07 14:38:41 +07:00
Joshua A. Horton
398b9e0ae2 chore(common): drops package-specific 'chai', '@types/chai' versions
chore(web): missed leaving these out of the rebase
2024-05-07 14:35:09 +07:00
Marc Durdin
cd8121ef65 chore(common): builder scripts now use /resources/build/builder.inc.sh
Note: there is a bit of potential confusion about the difference between
/resources/builder.inc.sh (the full implementation for builder scripts),
and /resources/build/builder.inc.sh (the source script that builder
scripts should always use).

This allows us to make assumptions that will always be true for builder
scripts that may not be true for other scripts, such as setting base
folder.
2024-05-02 15:54:31 +07:00
Marc Durdin
0f390d47cc chore(common): maintenance on build scripts - cd
Fixes #11324.

* Always `cd "$THIS_SCRIPT_PATH"`
* Remove unnecessary `cd` from all build.sh
* Remove unnecessary `set -eu` from all build.sh (and `# set -x`)
* Replace old build-utils.sh incantation in a few build.sh scripts
2024-05-02 15:54:29 +07:00
Joshua A. Horton
b107daab22 chore(web): Merge branch 'beta' into change/web/init-osk-with-keyboard 2024-04-18 08:15:30 +07:00
Joshua A. Horton
0c8f520e2a fix(web): prevents selection-clear for pure layer-switching multitaps 2024-04-17 10:17:28 +07:00
Joshua A. Horton
7466b82893 fix(web): OSK now checks pred-text state on init 2024-04-10 11:04:56 +07:00
Joshua A. Horton
de1414e51f chore(web): tweak per PR review 2024-02-06 10:25:47 +07:00
Joshua A. Horton
3b0dce7002 fix(web): banner scroll positioning after reversions 2024-02-06 10:10:49 +07:00
Joshua Horton
8a7394dd23
Merge pull request #10257 from keymanapp/feat/web/es6-target-artifact
feat(web): alternate artifact - es6-bundled Web 📜
2024-01-08 15:53:43 +07:00
Joshua Horton
b3e58ea11e
Merge pull request #10267 from keymanapp/change/web/build-bundler-replacement
change(web): KeymanWeb bundler-script centralization 📜
2024-01-08 15:53:33 +07:00
Marc Durdin
edc950727f
Merge pull request #10208 from keymanapp/feat/developer/9473-kmc-module-api-consolidation
feat(developer): Consolidate public APIs for kmc modules
2024-01-02 15:35:47 +11:00
Joshua A. Horton
f6e77a3736 feat(web): alternate artifact - es6-bundled Web
Does not affect the worker.

Bundling is in a temp-script and not properly connected to our actual build infrastructure.
2023-12-18 10:32:35 +07:00
Joshua A. Horton
df2436b5c4 change(web): converts most of lower-level Web module scripts 2023-12-18 10:08:07 +07:00
Marc Durdin
eb881dc137
Merge pull request #7324 from keymanapp/feature-gestures
epic: new gesture engine 🐵
2023-12-14 15:23:43 +11:00
Steven R. Loomis
6488a42875 chore(linux): docs: fix Node.js install
- update other docs to simply point to NodeSource's instructions

Fixes: chore(linux): script deprecation warning from nodesource #10024
2023-12-13 18:33:51 +00:00
Marc Durdin
4f32875a57 chore(web): cleanup tests 2023-12-13 08:06:37 +07:00
Marc Durdin
e2ce64d9be fix(web): mocha describe does not do async
mocha describe() does not accept an async function. Any async prep
should be done in a before() function, which does support async.

One helpful ref: https://github.com/mochajs/mocha/issues/2975#issuecomment-1004176440
2023-12-13 05:38:51 +07:00
Marc Durdin
60bb1e4d9e chore(developer): Merge branch 'master' into feat/developer/9473-kmc-module-api-consolidation 2023-12-13 05:01:20 +07:00
Marc Durdin
d99c4cd669 chore(web): update LexicalModelCompiler call 2023-12-11 12:21:20 +07:00
Marc Durdin
aa458152cf
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-12-08 14:24:38 +11:00
Joshua Horton
ef901a53d0
Merge pull request #10014 from keymanapp/fix/web/unwanted-banner-retoggle
fix(web): accidental suggestion-banner retoggle when disabling predictions
2023-12-07 09:52:21 +07:00
Joshua A. Horton
3c4e5d6ebd chore(web): Merge branch 'master' into chore/web/conflict-fix 2023-12-01 14:16:18 +07:00
Joshua A. Horton
7754427274 fix(android): banner event loop on model change 2023-11-23 10:13:26 +07:00
Joshua A. Horton
cff93bec74 fix(web): accidental suggestion-banner retoggle when turning predictions off 2023-11-16 08:20:38 +07:00
Joshua Horton
6d68df314c
Merge pull request #9740 from keymanapp/feat/web/generalized-multitap
feat(web): generalized multitap 🐵
2023-11-13 11:02:07 +07:00
Marc Durdin
33da132eab
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures 2023-11-13 09:44:55 +11:00
Eberhard Beilharz
abe6cee202
chore(web): Additional tests for backspace
Addresses code review comments.
2023-11-06 15:51:29 +07:00
Eberhard Beilharz
2e71ec9e70
chore(web): Add failing test for deadkey bug
Also adds a similar testcase to the baseline keyboard tests.
2023-11-06 13:28:49 +07:00
Joshua A. Horton
924e761b29 change(web): remembered that the outputTarget.restoreTo func exists 2023-11-03 09:39:29 +07:00
Joshua A. Horton
c34cc13f1e fix(web): deadkey restoration for multitap-rewinds 2023-10-26 09:48:24 +07:00
Joshua A. Horton
2fa51fce29 feat(web): retrieval of base transcription for multitaps 2023-10-26 09:48:21 +07:00
Joshua A. Horton
2da1ac64e3 fix(web): unit test patchup b/c new constructor param 2023-10-24 14:09:02 +07:00
Joshua A. Horton
ad07855239 refactor(web): transcription cache needed for multitaps, no longer prediction-only 2023-10-24 11:45:57 +07:00