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-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
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-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
faacf9de8a
refactor(web): Move common/web/recorder → web/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
Joshua A. Horton
fca87e21f9
fix(web): unrevert #11258 , leaving OSK hidden before instructed to display
2024-07-29 11:36:37 +07:00
Marc Durdin
f1e065d274
fix(web): add nullish test in setOsk
...
Fixes : #12038
2024-07-27 06:32:11 +07:00
Joshua A. Horton
cf47d5021b
chore(web): Revert "change(web): initializes OSK with keyboard if available during init"
...
This reverts commit 4b1394a54f .
2024-07-25 12:08:32 +07:00
Joshua A. Horton
67fed68a2a
chore(web): Revert "fix(web): OSK set activeKeyboard should not bypass during init"
...
This reverts commit eebf3e5ba8 .
2024-07-25 12:07:56 +07:00
Joshua A. Horton
546cade1af
chore(web): Revert "fix(web): adds newly-needed null guards due to new pattern"
...
This reverts commit 786c480742 .
2024-07-25 12:06:15 +07:00
Joshua A. Horton
67ac0ba8fd
chore(web): Revert "fix(web): OSK now checks pred-text state on init"
...
This reverts commit 7466b82893 .
2024-07-25 12:04:40 +07:00
Joshua Horton
980ed88355
Merge pull request #11876 from keymanapp/fix/web/low-probability-exact-matching
...
feat(web): check for low-probability exact + exact-key correction matches 📚
2024-07-25 10:10:49 +07: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
127a092971
Merge pull request #11911 from keymanapp/refactor/web/typescript
...
refactor(web): fix TypeScript errors and warnings
2024-07-22 08:11:49 +02:00
Joshua Horton
913f0b4c67
Merge pull request #11866 from keymanapp/feat/web/auto-prediction
...
feat(web): add and enable auto-correction 📚
2024-07-08 14:37:57 +07: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
Eberhard Beilharz
f7d6ebd6e1
refactor(web): fix TypeScript errors and warnings
...
Previously we didn't pre-compile this code and so we didn't notice these
errors and warnings.
2024-07-02 18:54:26 +02:00
Eberhard Beilharz
587c7094c7
refactor(web): fix TypeScript errors/warnings
2024-07-02 18:54:25 +02:00
Joshua A. Horton
8d9d39fc59
change(web): enforce single auto-selection
2024-07-02 08:27:31 +07:00
Joshua A. Horton
4822b27c52
chore(web): update mtnt manual-text fixture
2024-06-28 12:51:13 +07:00
Joshua A. Horton
77791252f7
fix(web): restores pre-selected suggestion after banner scroll
2024-06-27 09:51:31 +07:00
Joshua A. Horton
017d0e4521
feat(web): apply auto-correct suggestions when applicable
2024-06-27 09:51:31 +07:00
Joshua A. Horton
4c35a93bbc
fix(web): use fat-finger data with simple keypresses
2024-06-24 08:55:09 +07:00
Joshua Horton
7f55d74ee6
Merge pull request #11265 from keymanapp/feat/web/layer-processing-deferral
...
feat(web): optimization via lazy preprocessing of keyboard touch-layout info ⏩
2024-06-24 08:01:48 +07:00
Joshua Horton
56ae8a8643
Merge pull request #11264 from keymanapp/feat/web/osk-layer-deferral
...
feat(web): optimization via lazy construction of OSK layers ⏩
2024-06-21 11:22:58 +07:00
Joshua Horton
b782800de1
Merge pull request #11263 from keymanapp/change/web/keyboard-preprocess-optimization
...
change(web): optimization for keyboard-layout preprocessing ⏩
2024-06-21 11:22:50 +07:00
Joshua A. Horton
8841dd9ee2
chore(web): define common timeout variable for automated testing
...
Fixes : #11499
2024-06-20 11:43:11 +07:00
Joshua A. Horton
7dbadef7bd
chore(web): Merge branch 'feat/web/osk-layer-deferral' into feat/web/layer-processing-deferral
2024-06-19 15:49:05 +07: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