Commit graph

4914 commits

Author SHA1 Message Date
Joshua A. Horton
98a27925f4 chore(web): Merge branch 'master' into feat/web/utf8-charset-output 2024-08-27 10:20:25 +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
Eberhard Beilharz
faacf9de8a
refactor(web): Move common/web/recorderweb/src/tools/testing/recorder-core
Fixes: #12091
2024-08-08 16:34:01 +02:00
Joshua A. Horton
6f1d4374e9 feat(web): enable utf8 charset encoding for the build artifacts 2024-08-07 10:05:53 +07:00
Eberhard Beilharz
ebd2bf423a
Merge pull request #12072 from keymanapp/change/web/8146_moveCodes2
refactor(web): refactor and harmonize constants 🏗️
2024-08-06 09:06:31 +02:00
Eberhard Beilharz
ae0d9d9e0d
chore(web): fix previous commit 2024-08-02 12:36:30 +02:00
Eberhard Beilharz
32f91d0dde
chore(web): address code review comments
- fix imports of types defined in parent directory
- move `main/src/text` → `main/src/headless`
- move `languageProcessor.ts` → parent directory
2024-08-02 11:23:42 +02:00
Eberhard Beilharz
2c2acbe863
refactor(web): refactor and harmonize constants
Note that this adds the keyCodes > 50000 to `USVirtualKeyCodes`.

Fixes: #8146
2024-08-01 20:36:43 +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
1389d40965
Merge branch 'master' into change/web/11878_remove-es5 2024-07-31 15:28:38 +02:00
Joshua Horton
87f5560b14
Merge pull request #12049 from keymanapp/fix/web/unrevert-11258
fix(web): unrevert #11258, leaving OSK hidden before instructed to display
2024-07-31 08:08:46 +07:00
Marc Durdin
49b4b4e939
Merge pull request #12039 from keymanapp/fix/web/12038-nullish-test-for-set-osk
fix(web): add nullish test in setOsk
2024-07-31 09:38:05 +10:00