Commit graph

72 commits

Author SHA1 Message Date
Eberhard Beilharz
f52a1209c8
refactor(web): merge device-detect with web/src/engine/main
This change moves `web/src/engine/device-detect/` →
`web/src/engine/main/` and renames the `Device` class to `DeviceDetector`.

Fixes: #12388
2024-09-11 16:48:15 +02:00
Eberhard Beilharz
a6d2d02e61
refactor(web): move common/web/utils to web/src/engine/common/web-utils/
Fixes:#12025
2024-09-10 18:12:46 +02:00
Eberhard Beilharz
c3e587193e
refactor(web): move model/types to web/types
Part-of: #12133
2024-09-09 19:59:01 +02:00
Eberhard Beilharz
78857d96c9
refactor(web): move lm-message-typespredictive-text/types
Moves `common/web/lm-message-types/` →
`web/src/engine/predictive-text/types/`

Fixes: #12147
2024-08-16 08:31:21 +02:00
Eberhard Beilharz
89abdbd64c
refactor(web): move some files around
- move `outputTarget.ts` → `js-processor`
- move `deadkeys.ts` → `js-processor`
- move `stringDivergence.ts` → `js-processor`
- split `Mock` into `mock.ts`
- create `keyboard/outputTarget.interface.ts`
2024-08-14 19:06:32 +02:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processorkeyboard
move parts of `common/web/keyboard-processor/` →
`web/src/engine/keyboard/`.

Fixes: #12110
2024-08-12 19:40:15 +02:00
Eberhard Beilharz
c09c895333
refactor(web): move parts of keyboard-processorjs-processor
Move parts of `common/web/keyboard-processor/` →
`web/src/engine/js-processor/`.

Note this temporarily disable tests for keyboard-processor which depend on
js-processor, until #12110 is fixed.

Fixes: #12067
2024-08-08 18:25:03 +02:00
Eberhard Beilharz
faacf9de8a
refactor(web): Move common/web/recorderweb/src/tools/testing/recorder-core
Fixes: #12091
2024-08-08 16:34:01 +02:00
Eberhard Beilharz
24159d680b
chore(web): move common/web/input-processor/web/src/engine/main/
Also:
- move `modelSpec.ts` and `PredictionContext.ts` →
  `web/src/engine/interfaces`
- move `correction.ts` and `correctionLayout.ts` to `web/src/engine/osk/`

Relates-to: #12035
Fixes: #12054
2024-08-01 20:13:21 +02:00
Joshua A. Horton
62fd5f6444 chore(web): Merge branch 'change/web/keyboard-preprocess-optimization' into feat/web/osk-layer-deferral 2024-06-19 15:31:02 +07:00
Joshua A. Horton
66955cd171 chore(web): Merge remote-tracking branch 'origin/feat/web/package-kbd-renderer' into feat/web/package-kbd-renderer 2024-06-06 08:51:45 +07:00
Joshua A. Horton
cce2f9a867 chore(web): Merge branch 'master' into feat/web/package-kbd-renderer 2024-06-06 08:51:08 +07:00
Joshua A. Horton
532bba95a8 chore(web): Merge branch 'master' into feat/web/package-kbd-renderer 2024-05-29 11:44:44 +07:00
Joshua A. Horton
7e1571d382 chore(web): the final push for config-flag parity for web/ 2024-05-29 10:57:41 +07:00
Joshua A. Horton
5ddcf2cbe5 chore(web): patches web tools for enforcement of no implicit any 2024-05-29 10:43:12 +07:00
Joshua A. Horton
824c389938 chore(web): cleans up web's tool projects 2024-05-29 09:24:37 +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
44c178f94b fix(web): unit-test / test-engine patchup 2024-04-23 10:30:44 +07:00
Joshua A. Horton
26a99f07ac fix(web): unit test patchup - had incorrect touchend .touches values 2024-03-08 08:33:35 +07:00
Joshua Horton
9e5264b7ea
Update local-renderer.html
Co-authored-by: Eberhard Beilharz <ermshiperete@users.noreply.github.com>
2024-01-19 00:51:49 +07:00
Joshua A. Horton
b429a0cabb fix(web): better _legacyLayoutSpec filtering 2024-01-18 12:12:19 +07:00
Joshua A. Horton
d8767b1bee chore(web): error handling 2024-01-18 11:05:23 +07:00
Joshua A. Horton
1e6a83ab32 docs(web): child project readme update 2024-01-18 10:57:12 +07:00
Joshua A. Horton
21266dd109 feat(web): bulk_render variant - loads and renders keyboards from local KMP 2024-01-18 10:53:32 +07:00
Joshua A. Horton
d58260b4d6 fix(web): bulk renderer interface for recent-version targeting keyboards 2024-01-18 09:17:47 +07:00
Joshua A. Horton
f723f14fc3 chore(web): a bit more cleanup 2023-12-19 10:12:25 +07:00
Joshua A. Horton
f78eeaae34 chore(web): changes per review comments 2023-12-19 10:11:39 +07:00
Joshua A. Horton
5ecd95bd2b fix(web): had missed tools/testing/recorder bundling 2023-12-18 15:02:29 +07:00
Joshua A. Horton
3230612d9a change(web): final KMW-bundler script cleanup 2023-12-18 10:23:28 +07:00
Joshua A. Horton
cc9de9d5dd chore(web): Merge branch 'feature-gestures' into feat/web/modipress 2023-11-13 11:03:09 +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
ac29930d1f
refactor(web): Link to index.html in test pages
This change adds `index.html` to all links that point to test index pages.
This will show the index page instead of the directory listing when
opening locally, identical to the behavior on TC.
2023-11-07 09:38:15 +07:00
Joshua A. Horton
b9d02cbe54 fix(web): automated-test patchup 2023-11-02 09:55:24 +07:00
Marc Durdin
a4817599b0 chore(web): remove legacy s_keyman_com.sh 2023-10-30 09:01:33 +07:00
Marc Durdin
6c00656849 chore(common): unify pull-request creation scripts
Fixes #9886.
2023-10-30 06:22:52 +07:00
Joshua A. Horton
ff19099c55 fix(web): automated test patchup due to added async 2023-10-19 12:18:26 +07:00
Joshua A. Horton
1a3b02319f fix(web): Touch[] != TouchList 2023-10-09 12:10:44 +07:00
Joshua A. Horton
28f1d2589d fix(web): integrated test fixes, sync -> async for test sequences 2023-10-09 10:08:12 +07:00
Joshua A. Horton
2d6a74bc04 fix(web): unit test breakers, osk input emulation (partial) 2023-10-06 13:02:30 +07:00
Joshua A. Horton
f2e3effa4c chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/centralize-kmw-tsconfigs 2023-06-19 14:03:20 +07:00
Joshua Horton
0532405335
Merge pull request #8995 from keymanapp/change/srcmap-cleanup-and-c8-use
change(web): config, sourcemap cleanup + adds some c8 reporting 🧩
2023-06-19 14:01:40 +07:00
Joshua A. Horton
3d7d0b598c chore(web): changes per PR review 2023-06-15 15:26:04 +07:00
Joshua A. Horton
626e1855a3 chore(web): Merge branch 'change/srcmap-cleanup-and-c8-use' into chore/web/centralize-kmw-tsconfigs 2023-06-14 14:59:18 +07:00
Joshua A. Horton
75347ebc6f change(web): internal event names -> lowercase convention 2023-06-14 10:30:56 +07:00
Joshua A. Horton
3ce99b9c73 chore(web): cleanup re set_keyman_standard_build_path 2023-06-14 10:00:39 +07:00
Joshua A. Horton
be06ab3e6e chore(web): fixes web tool tsconfigs + updates build.sh scripts 2023-06-14 09:18:44 +07:00
Joshua A. Horton
be7c5d092a chore(web): cleanup per PR review 2023-06-07 15:24:50 +07:00
Joshua A. Horton
1fb8190726 fix(web): restores bulk_rendering tool 2023-05-31 15:24:12 +07:00
Joshua A. Horton
3e4e95677c change(web): bases all user-test pages off of the build/publish/debug folder 2023-05-30 13:33:29 +07:00