Commit graph

4951 commits

Author SHA1 Message Date
Eberhard Beilharz
6731cc44ab
chore(web): rename file missed in #12704 2024-11-27 12:13:57 +01:00
Eberhard Beilharz
08b4b6c2eb
Merge pull request #12704 from keymanapp/chore/web/rename-tests
chore(web): rename test files and folders
2024-11-27 16:07:56 +07:00
Marc Durdin
b10634eb97 refactor(common): move all lexical model types into LexicalModelTypes container
Many of the types had very generic names (e.g. `Configuration`), and as
the types are now exported from `@keymanapp/common-types`, this was
unhelpful.

For units with many references, I used TypeScript's import-equals to
reduce the change impact. For units with only a few references, I added
the `LexicalModelTypes.` prefix to the references in source.

(Best reference I could find for import-equals: b722fa4e49)

Fixes: #12516
2024-11-27 09:46:09 +07:00
Eberhard Beilharz
432ab7055f
chore(web): rename test files and folders
This change renames the test files for Web according to the discussion at
the Keyman conference in November 2024. It also renames some folders from
`test` to `tests`.
2024-11-26 17:10:19 +01:00
Marc Durdin
6c145cb775 refactor(web): move web engine help to app repo
Note: build.sh updated to make sure that test:help build action:target
doesn't also call test.sh by adding `:_all` meta-target.

Note: CI will need a new help-keyman-com.sh build step to deploy web
engine help.

Fixes: #12347
2024-10-31 11:00:06 +07:00
Eberhard Beilharz
d849b30856
refactor(web): reverting unnecessary busy changes 2024-10-10 09:13:27 +02:00
Eberhard Beilharz
4f3a68494c
refactor(web): address code review comments 2024-10-10 09:09:17 +02:00
Eberhard Beilharz
9885a477ec
refactor(web): address code review comments 2024-10-09 20:37:51 +02:00
Eberhard Beilharz
3b9c6ef2e4
refactor(web): move KeyboardObject type to common/web/types
Fixes: #11612
2024-10-08 18:53:14 +02:00
Eberhard Beilharz
e9f7bd6cab
Merge pull request #12492 from keymanapp/chore/web/fixtest
docs(web): fix structure of test document
2024-10-02 18:45:52 +02:00
Eberhard Beilharz
7d61d4bcc3
docs(web): fix structure of test document
When looking at `index.html` in VSCode's hierarchical view I noticed that
the structure was off because some closing tags were missing. This fixes
that.
2024-09-30 18:52:08 +02:00
Eberhard Beilharz
c5ded39fe0
docs(web): fix paths to several help pages 2024-09-30 18:49:43 +02:00
Eberhard Beilharz
fc32f02dc9
Merge pull request #12400 from keymanapp/chore/web/testexplorer
chore(web): allow to run unit tests in vscode test explorer
2024-09-12 14:07:55 +07:00
Eberhard Beilharz
95f36acb68
chore(web): allow to run unit tests in vscode test explorer
#11746 removed the `ts-node` dependency. Unfortunately that broke running
TypeScript test files with Mocha in VSCode Test Explorer because it no
longer knows what to do with .ts files. This change adds the more modern
`tsx` package as developer dependency, which allows to use Test Explorer
again.

See https://stackoverflow.com/a/77609121.
2024-09-11 19:28:33 +02:00
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
b20d7f1eb4
refactor(web): move sentry-manager → web/src/engine/sentry-manager
Move `common/web/sentry-manager` to `web/src/engine/sentry-manager`.

Fixes: #12387
2024-09-11 15:15:01 +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
c7a7ea2c51
Merge branch 'refactor/web/12025_web-utils' into refactor/web/12385_es-bundling 2024-09-11 09:28:19 +02:00
Eberhard Beilharz
d7f7ce9209
Merge branch 'refactor/web/12133_modelsWorkdbreakers' into refactor/web/12025_web-utils 2024-09-11 09:27:35 +02:00
Eberhard Beilharz
7e30dbf392
Merge remote-tracking branch 'origin/master' into refactor/web/12133_modelsWorkdbreakers 2024-09-11 09:21:59 +02:00
Eberhard Beilharz
cc21dda3cc
Apply suggestions from code review
Co-authored-by: Marc Durdin <marc@durdin.net>
2024-09-11 09:17:01 +02:00
Eberhard Beilharz
6553bd6233
refactor(web): move common/web/es-bundlingcommon/tools/es-bundling
Fixes: #12385
2024-09-10 18:57:42 +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
a9b9c4d016
refactor(web): move common/models to web/src/engine/predictive-text
Fixes: #12133
2024-09-10 17:45:22 +02:00
Eberhard Beilharz
91bbc250a8
refactor(web): move model/templates to web/src/engine/predictive/text
Part-of: #12133
2024-09-10 17:10:12 +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
dc66cddee5
docs(web): fix link to documentation page
The help page for `BuildVisualKeyboard` is under `core`, not `osk`.
2024-09-06 09:12:16 +02:00
Joshua Horton
5b5fd30efc
Merge pull request #12313 from keymanapp/fix/web/mid-context-accept-space-interactions 2024-08-29 21:23:04 +07:00
Joshua A. Horton
721bc9172e fix(web): prevent unintuitive space-output blocking for mid-context suggestions
Fixes: #12309
2024-08-29 10:01:45 +07:00
Eberhard Beilharz
0ae160c74f
Merge pull request #12304 from keymanapp/chore/web/comment
chore(web): remove obsolete comment
2024-08-29 09:17:30 +07:00
Eberhard Beilharz
39f0d5b057
Merge pull request #12194 from keymanapp/refactor/web/12151_gestures
refactor(web): move `gesture-recognizer` → `gesture-processor` 🏗️
2024-08-29 09:16:42 +07:00
Eberhard Beilharz
cf3eef418a
chore(web): remove obsolete comment 2024-08-28 14:32:27 +07:00
Joshua A. Horton
98a27925f4 chore(web): Merge branch 'master' into feat/web/utf8-charset-output 2024-08-27 10:20:25 +07:00
Eberhard Beilharz
0d194faa71
refactor(web): fix tests 2024-08-27 09:37:43 +07:00
Eberhard Beilharz
663dbede4c
fix(web): fix build by calling correct script
`test.sh` got removed since it did the same as `build.sh test`.
2024-08-26 15:29:22 +07:00
Joshua A. Horton
6276b1ecc3
fix(web): fixes build issue due to unreferenced --ci flag inclusion in app/browser build 2024-08-26 15:29:22 +07: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
Eberhard Beilharz
7dabd30cae
refactor(web): move gesture-recognizergesture-processor
Moves `common/web/gesture-recognizer/` →
`web/src/engine/osk/gesture-processor`.

Fixes: #12151
2024-08-26 15:29:21 +07:00
Joshua Horton
fe96d81307
Merge pull request #12232 from keymanapp/fix/web/doc-keyboard-spacebar-scaling
fix(web): fix documentation-keyboard spacebar-text scaling
2024-08-23 08:18:31 +07:00
Joshua Horton
f6c21874d7
Merge pull request #12220 from keymanapp/fix/web/disabling-fatfinger-data
fix(web): disable fat-finger data use when mayCorrect = false
2024-08-21 14:51:08 +07:00
Joshua A. Horton
45dee1c504 docs(web): extends doc-comment per review comment 2024-08-21 09:05:48 +07:00
Joshua A. Horton
01ae0c0a9a chore(web): Revert "change(web): better way to re-establish default sizing"
This reverts commit 23e02d2a86.
2024-08-20 14:40:24 +07:00
Joshua A. Horton
23e02d2a86 change(web): better way to re-establish default sizing 2024-08-20 14:38:58 +07:00
Joshua A. Horton
97697b695f fix(web): fix documentation-keyboard spacebar-text scaling
Fixes: #12231
2024-08-20 14:21:44 +07:00
Joshua A. Horton
a5682dc36c chore(web): Merge branch 'master' into fix/web/malformed-reversion-display-strings 2024-08-20 08:11:02 +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
3c14a6ec0a
Merge pull request #12150 from keymanapp/refactor/web/12148_worker-thread
refactor(web): move `lm-worker` → `worker-thread` 🏗️
2024-08-19 10:10:11 +02:00
Joshua A. Horton
98d5322e51 fix(web): disable fat-finger data use when mayCorrect = false 2024-08-19 12:53:51 +07:00
Eberhard Beilharz
d2662ffef8
Merge pull request #12149 from keymanapp/refactor/web/12147_types
refactor(web): move `lm-message-types` → `predictive-text/types` 🏗️
2024-08-16 11:08:48 +02:00
Joshua Horton
e136724284
Merge pull request #12187 from keymanapp/fix/web/fix-flicks
fix(web): restore flick functionality
2024-08-16 14:16:06 +07:00