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
d4a049f614
refactor(web): move to web/src/tools/es-bundling
...
Addresses code review comments.
2024-09-11 09:44:58 +02:00
Eberhard Beilharz
6553bd6233
refactor(web): move common/web/es-bundling → common/tools/es-bundling
...
Fixes : #12385
2024-09-10 18:57:42 +02:00
Eberhard Beilharz
b1fb8122c2
refactor(web): move gesture-processor tests under web/src/test
...
`gesture-processor/src/test/auto/browser/web-test-runner.config.mjs`
run the tests on iOS and Android. However, if we enable these browsers
in `web/src/test/auto/dom/web-test-runner.config.mjs` we get failing
tests in osk, therefore these browsers are commented for now.
2024-08-26 15:29:22 +07:00
Joshua Horton
9d9a091651
Merge pull request #12188 from keymanapp/refactor/web/drop-interface-jsproc-dependency
2024-08-20 07:01:59 +07:00
Eberhard Beilharz
b9aa9ccd8c
refactor(web): move predictive-text → worker-main
...
This moves `common/predictive-text/` →
`web/src/engine/predictive-text/worker-main/`.
This also moves `common/test/predictive-text/` →
`web/src/test/manual/predictive-text/`. Note though that this testing
tool is still broken.
Fixes : #12134
2024-08-15 12:26:50 +02:00
Eberhard Beilharz
170ac4bb6b
refactor(web): rename package-cache → keyboard-storage
...
Move `web/src/engine/package-cache/` →
`web/src/engine/keyboard-storage/`.
Fixes : #12132
2024-08-15 12:26:10 +02:00
Joshua A. Horton
2938ee110b
refactor(web): remove engine/interfaces dependency on engine/js-processor
2024-08-15 10:12:27 +07:00
Eberhard Beilharz
46ecfd4466
refactor(web): move remaining parts of keyboard-processor → keyboard
...
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-processor → js-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
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
Eberhard Beilharz
ab5df20eef
chore(web): move web/src/engine/paths/ → web/src/engine/interfaces/
...
Fixes : #12035
2024-07-31 20:06:02 +02:00
Eberhard Beilharz
918b7ab233
Update web/build.sh
...
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-07-22 17:52:16 +02:00
Eberhard Beilharz
2d9d84773f
fix(web): add dependency output
...
This fixes building all dependencies, e.g. when running `./build.sh test`
which previously failed because it didn't build all necessary targets.
2024-07-04 20:49:31 +02:00
Eberhard Beilharz
afe25eda24
change(web): remove support for es5
...
Fixes : #11878
2024-07-04 20:49:30 +02: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
6fa3d907e1
chore(web): drops redundant builder-dependency from early gesture dev
2024-04-22 11:28:55 +07:00
Eberhard Beilharz
3cde93d56a
Merge pull request #10250 from keymanapp/chore/web/attachmentTests
...
chore(web): Add unit tests for `pageContextAttachment`
2023-12-15 08:13:50 +01:00
Eberhard Beilharz
c9fac1b944
chore(web): Add unit tests for pageContextAttachment
2023-12-13 19:04:59 +01:00
Joshua A. Horton
a6f8e35d11
chore(web): mild build-script cleanup, gesture-engine test page update
2023-12-08 13:59:25 +07:00
Marc Durdin
aa458152cf
Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures
2023-12-08 14:24:38 +11:00
Eberhard Beilharz
cd72449da9
Apply suggestions from code review
...
Co-authored-by: Marc Durdin <marc@durdin.net>
2023-12-04 09:51:55 +01:00
Eberhard Beilharz
91fb28fa0a
chore(web): Add option to create test coverage report
...
This adds a `coverage` parameter to `web/build.sh` that will create
a coverage report in HTML format in `web/build/coverage/index.html`.
2023-12-01 20:04:35 +01:00
Joshua A. Horton
23ac3cc673
chore(common): Merge branch 'feature-gestures' into chore/merge-master-into-feature-gestures
2023-10-12 08:14:30 +07:00
Joshua A. Horton
ca265004c9
chore(web): web build streamlining
2023-10-11 15:05:20 +07:00
Joshua A. Horton
42f0aeb190
chore: Merge branch 'master' into chore/feature-gestures-update-a17s16-end
2023-07-07 12:39:05 +07:00
Joshua A. Horton
9deb21638e
fix(web): oh, src/tools/build.sh was busted... and ought be called by project top-level action
2023-06-27 08:45:54 +07:00
Joshua A. Horton
4760acf259
chore(web): removes post-rebase artifact
2023-06-20 12:43:11 +07:00
Joshua A. Horton
603603d837
fix(web): restores gesture-recognizer web demo page
2023-06-20 12:42:35 +07:00
Joshua A. Horton
d033dca152
chore: Merge branch 'feature-esmodule-web-engine' into chore/update-feature-gestures-to-base-a17s15-mid
2023-06-20 12:36:55 +07:00
Joshua Horton
eb6cdd9179
Merge pull request #9026 from keymanapp/chore/web/remaining-manual-test-cleanup
...
chore(web): handles final, tricky manual-testing pages 🧩
2023-06-19 14:04:19 +07:00
Joshua A. Horton
3ddcd3c438
fix(web): provides linkages for sentry-integration test page
2023-06-16 12:39:31 +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
504e638321
chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/prep-feature-gestures-for-rebase
2023-06-09 11:12:22 +07:00
Joshua A. Horton
9773b0b600
chore(web): Merge branch 'chore/web/loose-ends' into chore/web/final-modularization-cleanup
2023-05-30 14:47:34 +07:00
Joshua A. Horton
464b52e38d
chore(web): Merge branch 'change/web/sample-page-rework' into chore/web/test-page-patchup
2023-05-30 12:59:30 +07:00
Joshua A. Horton
23b459c825
chore(web): Merge branch 'chore/web/build-config-cleanup' into change/web/sample-page-rework
2023-05-30 12:03:35 +07:00
Joshua A. Horton
37e31530cd
chore(web): removes post chain-merge artifact
2023-05-30 09:13:31 +07:00
Joshua A. Horton
2e52b1c836
chore(web): post-reversion web/build.sh patchup
2023-05-30 09:09:18 +07:00
Joshua A. Horton
194d46693f
chore(web): extra build-script cleanup
2023-05-30 08:57:45 +07:00
Joshua A. Horton
415907fb5e
chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/build-config-cleanup
2023-05-30 08:47:30 +07:00
Joshua A. Horton
224d4817ff
chore(web): Merge branch 'feature-esmodule-web-engine' into chore/web/prep-feature-gestures-for-rebase-cntd
2023-05-29 11:53:37 +07:00
Joshua A. Horton
893eeead7e
chore(web): Merge branch 'fix/web/integrated-test-restoration' into fix/web/browser-toggle-ui
2023-05-29 10:30:31 +07:00
Joshua A. Horton
372b912c91
change(web): run tests before throwing 'incomplete' build error
2023-05-25 10:01:34 +07:00
Joshua A. Horton
2135ffd197
chore(web): removes 'not yet complete' build warning
2023-05-23 15:37:02 +07:00
Joshua A. Horton
6becc6d489
chore(web): minor script cleanups
2023-05-22 11:32:53 +07:00
Joshua A. Horton
24b64bab0a
change(web): complete sample-page rework; uses different site-layout analogues
2023-05-22 11:30:51 +07:00
Joshua A. Horton
a32cd6ad4f
change(web): karma-based KMW tests only run if test action is untargeted
2023-05-18 12:34:12 +07:00
Joshua A. Horton
1f4da87bca
change(web): proper definition for 'ci.sh test'
2023-05-18 10:37:29 +07:00