Commit graph

4925 commits

Author SHA1 Message Date
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
Eberhard Beilharz
ea62ac23e7
refactor(web): move lm-workerworker-thread
Move `common/web/lm-worker/` →
`web/src/engine/predictive-text/worker-thread/`.

Fixes: #12148
2024-08-16 08:35:20 +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
e52937f907
Apply suggestions from code review
Co-authored-by: Joshua Horton <joshua_horton@sil.org>
2024-08-16 06:58:05 +02:00
Eberhard Beilharz
b9aa9ccd8c
refactor(web): move predictive-textworker-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-cachekeyboard-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
c4340542f7 fix(web): patch up newly-merged-in automated test 2024-08-15 15:55:04 +07:00
Joshua A. Horton
36b42c4b45 Merge branch 'refactor/web/12110_keyboard' into refactor/web/drop-interface-jsproc-dependency 2024-08-15 13:46:43 +07:00
Eberhard Beilharz
d640dbe6ec
Merge branch 'master' into refactor/web/12110_keyboard
# Conflicts:
#	package-lock.json
2024-08-15 08:30:59 +02:00
Joshua A. Horton
88145326dc docs(web): drops doc-reference to hidden field 2024-08-15 10:31:36 +07:00
Joshua A. Horton
8af17659a0 docs(web): doc tweak 2024-08-15 10:30:33 +07:00
Joshua A. Horton
2938ee110b refactor(web): remove engine/interfaces dependency on engine/js-processor 2024-08-15 10:12:27 +07:00
Joshua A. Horton
4509805f58 fix(web): restore flick functionality 2024-08-15 09:04:35 +07:00
Eberhard Beilharz
61b44cbfbe
Merge branch 'master' into refactor/web/12067_js-processor 2024-08-14 19:15:51 +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
7459ab0bf8
refactor(web): move tests
Some tests test functionality defined in `js-processor`, so we move
these to the appropriate location. Addresses code review comments.
2024-08-14 19:06:31 +02:00
Joshua A. Horton
afdc7be731 feat(web): add osk.gestureParams for better gesture-config persistence 2024-08-14 11:07:48 +07:00
Joshua A. Horton
75527ec738 chore(web): minor simplification 2024-08-14 09:25:43 +07:00
Joshua A. Horton
d7cdd481ba fix(web): support live configuration of longpress delay 2024-08-14 09:20:02 +07:00
Eberhard Beilharz
3cdd84ff40
refactor(web): move tests to test/auto/headless
Addresses code review comments.
2024-08-13 19:00:38 +02:00
Eberhard Beilharz
73aa5afee3
Merge branch 'refactor/web/12067_js-processor' into refactor/web/12110_keyboard 2024-08-13 18:43:58 +02:00
Eberhard Beilharz
dedc18e156
refactor(web): move some files around
- move `systemStore.ts` → `js-processor`
- move `keyEventSource.interface.ts` → `osk`
- move `defaultRules.ts` → back to `keyboard-processor`
- in `KeyboardProcessor` pass `ruleBehavior` as parameter to `forAny`,
  looks like that accidentally got omitted previously

Addresses code review comments.
2024-08-13 18:26:00 +02:00
Joshua A. Horton
7ab7ec9bd6 chore(web): minor comment cleanup 2024-08-13 13:43:17 +07:00
Joshua A. Horton
0055ad84eb feat(web): test skipped prediction round handling
Fixes: #11624
2024-08-13 13:41:57 +07: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
bba694c306
refactor(web): work around global in interface 2024-08-12 19:33:29 +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